diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 000000000..bac9ba9ab --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,22 @@ +# Contributing + +Thanks for taking the time to join our community and start contributing! + +Please remember to read and observe the [Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md). + +This project accepts contribution via github [pull requests](https://help.github.com/articles/about-pull-requests/). This document outlines the process to help get your contribution accepted. Please also read the [Kubernetes contributor guide](https://github.com/kubernetes/community/blob/master/contributors/guide/README.md) which provides detailed instructions on how to get your ideas and bug fixes seen and accepted. + +## Sign the Contributor License Agreement +We'd love to accept your patches! Before we can accept them you need to sign Cloud Native Computing Foundation (CNCF) [CLA](https://github.com/kubernetes/community/blob/master/CLA.md). + +## Reporting an issue +If you have any problem with the package or any suggestions, please file an [issue](https://github.com/kubernetes-client/csharp/issues). + +## Contributing a Patch +1. Submit an issue describing your proposed change to the repo. +2. Fork this repo, develop and test your code changes. +3. Submit a pull request. +4. The bot will automatically assigns someone to review your PR. Check the full list of bot commands [here](https://prow.k8s.io/command-help). + +### Contact +You can reach the maintainers of this project at [SIG API Machinery](https://github.com/kubernetes/community/tree/master/sig-api-machinery) or on the [#kubernetes-client](https://kubernetes.slack.com/messages/kubernetes-client) channel on the Kubernetes slack. diff --git a/README.md b/README.md index 914be2a12..76480cf8c 100644 --- a/README.md +++ b/README.md @@ -79,3 +79,7 @@ cd csharp\tests dotnet restore dotnet test ``` + +## Contributing + +Please see [CONTRIBUTING.md](CONTRIBUTING.md) for instructions on how to contribute. diff --git a/SECURITY_CONTACTS b/SECURITY_CONTACTS new file mode 100644 index 000000000..d22538052 --- /dev/null +++ b/SECURITY_CONTACTS @@ -0,0 +1,13 @@ +# Defined below are the security contacts for this repo. +# +# They are the contact point for the Product Security Team to reach out +# to for triaging and handling of incoming issues. +# +# The below names agree to abide by the +# [Embargo Policy](https://github.com/kubernetes/sig-release/blob/master/security-release-process-documentation/security-release-process.md#embargo-policy) +# and will be removed and replaced if they violate that agreement. +# +# DO NOT REPORT SECURITY VULNERABILITIES DIRECTLY TO THESE NAMES, FOLLOW THE +# INSTRUCTIONS AT https://kubernetes.io/security/ + +brendandburns diff --git a/csharp.settings b/csharp.settings index 43448bb7e..688888519 100644 --- a/csharp.settings +++ b/csharp.settings @@ -1,3 +1,3 @@ -export KUBERNETES_BRANCH=v1.10.0 +export KUBERNETES_BRANCH=v1.12.0 export CLIENT_VERSION=0.0.1 export PACKAGE_NAME=k8s diff --git a/examples/attach/Attach.cs b/examples/attach/Attach.cs index 301fe50ec..b422aa5d4 100755 --- a/examples/attach/Attach.cs +++ b/examples/attach/Attach.cs @@ -23,7 +23,7 @@ private static async Task Main(string[] args) private async static Task AttachToPod(IKubernetes client, V1Pod pod) { var webSocket = await client.WebSocketNamespacedPodAttachAsync(pod.Metadata.Name, "default", pod.Spec.Containers[0].Name); - + var demux = new StreamDemuxer(webSocket); demux.Start(); diff --git a/examples/labels/PodList.cs b/examples/labels/PodList.cs index 9fcb58f97..3fbc89997 100755 --- a/examples/labels/PodList.cs +++ b/examples/labels/PodList.cs @@ -1,44 +1,44 @@ -using System; -using System.Collections.Generic; -using k8s; - -namespace simple -{ - internal class PodList - { - private static void Main(string[] args) - { - var config = KubernetesClientConfiguration.BuildConfigFromConfigFile(); - IKubernetes client = new Kubernetes(config); - Console.WriteLine("Starting Request!"); - - var list = client.ListNamespacedService("default"); - foreach (var item in list.Items) - { - Console.WriteLine("Pods for service: " + item.Metadata.Name); - Console.WriteLine("=-=-=-=-=-=-=-=-=-=-="); - if (item.Spec == null || item.Spec.Selector == null) - { - continue; - } - var labels = new List(); - foreach (var key in item.Spec.Selector) - { - labels.Add(key.Key + "=" + key.Value); - } - var labelStr = string.Join(",", labels.ToArray()); - Console.WriteLine(labelStr); - var podList = client.ListNamespacedPod("default", labelSelector: labelStr); - foreach (var pod in podList.Items) - { - Console.WriteLine(pod.Metadata.Name); - } - if (podList.Items.Count == 0) - { - Console.WriteLine("Empty!"); - } - Console.WriteLine(); - } - } - } -} +using System; +using System.Collections.Generic; +using k8s; + +namespace simple +{ + internal class PodList + { + private static void Main(string[] args) + { + var config = KubernetesClientConfiguration.BuildConfigFromConfigFile(); + IKubernetes client = new Kubernetes(config); + Console.WriteLine("Starting Request!"); + + var list = client.ListNamespacedService("default"); + foreach (var item in list.Items) + { + Console.WriteLine("Pods for service: " + item.Metadata.Name); + Console.WriteLine("=-=-=-=-=-=-=-=-=-=-="); + if (item.Spec == null || item.Spec.Selector == null) + { + continue; + } + var labels = new List(); + foreach (var key in item.Spec.Selector) + { + labels.Add(key.Key + "=" + key.Value); + } + var labelStr = string.Join(",", labels.ToArray()); + Console.WriteLine(labelStr); + var podList = client.ListNamespacedPod("default", labelSelector: labelStr); + foreach (var pod in podList.Items) + { + Console.WriteLine(pod.Metadata.Name); + } + if (podList.Items.Count == 0) + { + Console.WriteLine("Empty!"); + } + Console.WriteLine(); + } + } + } +} diff --git a/examples/namespace/Namespace.cs b/examples/namespace/Namespace.cs index 92b85c742..f13b83625 100644 --- a/examples/namespace/Namespace.cs +++ b/examples/namespace/Namespace.cs @@ -1,87 +1,87 @@ -using System; -using System.Net; -using System.Threading.Tasks; -using k8s; -using k8s.Models; - -namespace @namespace -{ - class NamespaceExample - { - static void ListNamespaces(IKubernetes client) { - var list = client.ListNamespace(); - foreach (var item in list.Items) { - Console.WriteLine(item.Metadata.Name); - } - if (list.Items.Count == 0) { - Console.WriteLine("Empty!"); - } - } - - static async Task DeleteAsync(IKubernetes client, string name, int delayMillis) { - while (true) { - await Task.Delay(delayMillis); - try - { +using System; +using System.Net; +using System.Threading.Tasks; +using k8s; +using k8s.Models; + +namespace @namespace +{ + class NamespaceExample + { + static void ListNamespaces(IKubernetes client) { + var list = client.ListNamespace(); + foreach (var item in list.Items) { + Console.WriteLine(item.Metadata.Name); + } + if (list.Items.Count == 0) { + Console.WriteLine("Empty!"); + } + } + + static async Task DeleteAsync(IKubernetes client, string name, int delayMillis) { + while (true) { + await Task.Delay(delayMillis); + try + { await client.ReadNamespaceAsync(name); - } catch (AggregateException ex) { - foreach (var innerEx in ex.InnerExceptions) { - if (innerEx is Microsoft.Rest.HttpOperationException) { - var code = ((Microsoft.Rest.HttpOperationException)innerEx).Response.StatusCode; - if (code == HttpStatusCode.NotFound) { - return; - } - throw ex; - } - } - } catch (Microsoft.Rest.HttpOperationException ex) { - if (ex.Response.StatusCode == HttpStatusCode.NotFound) { - return; - } - throw ex; - } - } - } - - static void Delete(IKubernetes client, string name, int delayMillis) { - DeleteAsync(client, name, delayMillis).Wait(); - } - - private static void Main(string[] args) - { - var k8SClientConfig = KubernetesClientConfiguration.BuildConfigFromConfigFile(); - IKubernetes client = new Kubernetes(k8SClientConfig); - - ListNamespaces(client); - - var ns = new V1Namespace - { - Metadata = new V1ObjectMeta - { - Name = "test" - } - }; - - var result = client.CreateNamespace(ns); - Console.WriteLine(result); - - ListNamespaces(client); - - var status = client.DeleteNamespace(new V1DeleteOptions(), ns.Metadata.Name); - - if (status.HasObject) - { + } catch (AggregateException ex) { + foreach (var innerEx in ex.InnerExceptions) { + if (innerEx is Microsoft.Rest.HttpOperationException) { + var code = ((Microsoft.Rest.HttpOperationException)innerEx).Response.StatusCode; + if (code == HttpStatusCode.NotFound) { + return; + } + throw ex; + } + } + } catch (Microsoft.Rest.HttpOperationException ex) { + if (ex.Response.StatusCode == HttpStatusCode.NotFound) { + return; + } + throw ex; + } + } + } + + static void Delete(IKubernetes client, string name, int delayMillis) { + DeleteAsync(client, name, delayMillis).Wait(); + } + + private static void Main(string[] args) + { + var k8SClientConfig = KubernetesClientConfiguration.BuildConfigFromConfigFile(); + IKubernetes client = new Kubernetes(k8SClientConfig); + + ListNamespaces(client); + + var ns = new V1Namespace + { + Metadata = new V1ObjectMeta + { + Name = "test" + } + }; + + var result = client.CreateNamespace(ns); + Console.WriteLine(result); + + ListNamespaces(client); + + var status = client.DeleteNamespace(new V1DeleteOptions(), ns.Metadata.Name); + + if (status.HasObject) + { var obj = status.ObjectView(); Console.WriteLine(obj.Status.Phase); Delete(client, ns.Metadata.Name, 3 * 1000); - } - else - { - Console.WriteLine(status.Message); + } + else + { + Console.WriteLine(status.Message); } - ListNamespaces(client); - } - } -} + ListNamespaces(client); + } + } +} diff --git a/examples/patch/Program.cs b/examples/patch/Program.cs new file mode 100644 index 000000000..e689f0615 --- /dev/null +++ b/examples/patch/Program.cs @@ -0,0 +1,44 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using k8s; +using k8s.Models; +using Microsoft.AspNetCore.JsonPatch; + +namespace patch +{ + internal class Program + { + private static void Main(string[] args) + { + var config = KubernetesClientConfiguration.BuildConfigFromConfigFile(); + IKubernetes client = new Kubernetes(config); + Console.WriteLine("Starting Request!"); + + var pod = client.ListNamespacedPod("default").Items.First(); + + var name = pod.Metadata.Name; + PrintLabels(pod); + + var newlables = new Dictionary(pod.Metadata.Labels) + { + ["test"] = "test" + }; + var patch = new JsonPatchDocument(); + patch.Replace(e => e.Metadata.Labels, newlables); + client.PatchNamespacedPod(new V1Patch(patch), name, "default"); + + PrintLabels(client.ReadNamespacedPod(name, "default")); + } + + private static void PrintLabels(V1Pod pod) + { + Console.WriteLine($"Lables: for {pod.Metadata.Name}"); + foreach (var (k, v) in pod.Metadata.Labels) + { + Console.WriteLine($"{k} : {v}"); + } + Console.WriteLine("=-=-=-=-=-=-=-=-=-=-="); + } + } +} diff --git a/examples/patch/patch.csproj b/examples/patch/patch.csproj new file mode 100644 index 000000000..05ae44cb6 --- /dev/null +++ b/examples/patch/patch.csproj @@ -0,0 +1,12 @@ + + + + Exe + netcoreapp2.1 + + + + + + + diff --git a/examples/simple/PodList.cs b/examples/simple/PodList.cs index dd783c7a3..f832b58c4 100755 --- a/examples/simple/PodList.cs +++ b/examples/simple/PodList.cs @@ -1,25 +1,25 @@ -using System; -using k8s; - -namespace simple -{ - internal class PodList - { - private static void Main(string[] args) - { - var config = KubernetesClientConfiguration.BuildConfigFromConfigFile(); - IKubernetes client = new Kubernetes(config); - Console.WriteLine("Starting Request!"); +using System; +using k8s; - var list = client.ListNamespacedPod("default"); - foreach (var item in list.Items) - { - Console.WriteLine(item.Metadata.Name); - } - if (list.Items.Count == 0) - { - Console.WriteLine("Empty!"); - } - } - } -} +namespace simple +{ + internal class PodList + { + private static void Main(string[] args) + { + var config = KubernetesClientConfiguration.BuildConfigFromConfigFile(); + IKubernetes client = new Kubernetes(config); + Console.WriteLine("Starting Request!"); + + var list = client.ListNamespacedPod("default"); + foreach (var item in list.Items) + { + Console.WriteLine(item.Metadata.Name); + } + if (list.Items.Count == 0) + { + Console.WriteLine("Empty!"); + } + } + } +} diff --git a/examples/watch/Program.cs b/examples/watch/Program.cs index 88514f77d..ad2fbf037 100644 --- a/examples/watch/Program.cs +++ b/examples/watch/Program.cs @@ -1,33 +1,33 @@ -using System; -using System.Threading; -using k8s; -using k8s.Models; - -namespace watch -{ - internal class Program - { - private static void Main(string[] args) - { - var config = KubernetesClientConfiguration.BuildConfigFromConfigFile(); - - IKubernetes client = new Kubernetes(config); - - var podlistResp = client.ListNamespacedPodWithHttpMessagesAsync("default", watch: true).Result; - using (podlistResp.Watch((type, item) => - { - Console.WriteLine("==on watch event=="); - Console.WriteLine(type); - Console.WriteLine(item.Metadata.Name); - Console.WriteLine("==on watch event=="); - })) - { - Console.WriteLine("press ctrl + c to stop watching"); - - var ctrlc = new ManualResetEventSlim(false); - Console.CancelKeyPress += (sender, eventArgs) => ctrlc.Set(); - ctrlc.Wait(); - } - } - } -} +using System; +using System.Threading; +using k8s; +using k8s.Models; + +namespace watch +{ + internal class Program + { + private static void Main(string[] args) + { + var config = KubernetesClientConfiguration.BuildConfigFromConfigFile(); + + IKubernetes client = new Kubernetes(config); + + var podlistResp = client.ListNamespacedPodWithHttpMessagesAsync("default", watch: true).Result; + using (podlistResp.Watch((type, item) => + { + Console.WriteLine("==on watch event=="); + Console.WriteLine(type); + Console.WriteLine(item.Metadata.Name); + Console.WriteLine("==on watch event=="); + })) + { + Console.WriteLine("press ctrl + c to stop watching"); + + var ctrlc = new ManualResetEventSlim(false); + Console.CancelKeyPress += (sender, eventArgs) => ctrlc.Set(); + ctrlc.Wait(); + } + } + } +} diff --git a/gen/KubernetesWatchGenerator/IKubernetes.Watch.cs.template b/gen/KubernetesWatchGenerator/IKubernetes.Watch.cs.template index 06fe19904..e174234a1 100644 --- a/gen/KubernetesWatchGenerator/IKubernetes.Watch.cs.template +++ b/gen/KubernetesWatchGenerator/IKubernetes.Watch.cs.template @@ -35,6 +35,9 @@ namespace k8s /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -55,6 +58,7 @@ namespace k8s Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); {{/.}} diff --git a/gen/KubernetesWatchGenerator/Kubernetes.Watch.cs.template b/gen/KubernetesWatchGenerator/Kubernetes.Watch.cs.template index 37620e286..bb356e2c0 100644 --- a/gen/KubernetesWatchGenerator/Kubernetes.Watch.cs.template +++ b/gen/KubernetesWatchGenerator/Kubernetes.Watch.cs.template @@ -24,10 +24,11 @@ namespace k8s Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"{{GetPathExpression .}}"; - return WatchObjectAsync<{{GetClassName operation}}>(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync<{{GetClassName operation}}>(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } {{/.}} diff --git a/install-linux.sh b/install-linux.sh index 8ab775ffb..5e2f7eecb 100755 --- a/install-linux.sh +++ b/install-linux.sh @@ -7,7 +7,7 @@ sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsof sudo apt-get -qq update sudo apt-get install -y dotnet-sdk-2.1 -echo 'Installing kubecl' +echo 'Installing kubectl' curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.9.0/bin/linux/amd64/kubectl chmod +x kubectl sudo mv kubectl /usr/local/bin/ diff --git a/kubernetes-client.sln b/kubernetes-client.sln index c65b8c241..67bc6860d 100644 --- a/kubernetes-client.sln +++ b/kubernetes-client.sln @@ -31,6 +31,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "gen", "gen", "{879F8787-C3B EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "KubernetesWatchGenerator", "gen\KubernetesWatchGenerator\KubernetesWatchGenerator.csproj", "{542DC30E-FDF7-4A35-B026-6C21F435E8B1}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "patch", "examples\patch\patch.csproj", "{04DE2C84-117D-4E21-8B45-B7AE627697BD}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -161,6 +163,18 @@ Global {542DC30E-FDF7-4A35-B026-6C21F435E8B1}.Release|x64.Build.0 = Release|Any CPU {542DC30E-FDF7-4A35-B026-6C21F435E8B1}.Release|x86.ActiveCfg = Release|Any CPU {542DC30E-FDF7-4A35-B026-6C21F435E8B1}.Release|x86.Build.0 = Release|Any CPU + {04DE2C84-117D-4E21-8B45-B7AE627697BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {04DE2C84-117D-4E21-8B45-B7AE627697BD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {04DE2C84-117D-4E21-8B45-B7AE627697BD}.Debug|x64.ActiveCfg = Debug|Any CPU + {04DE2C84-117D-4E21-8B45-B7AE627697BD}.Debug|x64.Build.0 = Debug|Any CPU + {04DE2C84-117D-4E21-8B45-B7AE627697BD}.Debug|x86.ActiveCfg = Debug|Any CPU + {04DE2C84-117D-4E21-8B45-B7AE627697BD}.Debug|x86.Build.0 = Debug|Any CPU + {04DE2C84-117D-4E21-8B45-B7AE627697BD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {04DE2C84-117D-4E21-8B45-B7AE627697BD}.Release|Any CPU.Build.0 = Release|Any CPU + {04DE2C84-117D-4E21-8B45-B7AE627697BD}.Release|x64.ActiveCfg = Release|Any CPU + {04DE2C84-117D-4E21-8B45-B7AE627697BD}.Release|x64.Build.0 = Release|Any CPU + {04DE2C84-117D-4E21-8B45-B7AE627697BD}.Release|x86.ActiveCfg = Release|Any CPU + {04DE2C84-117D-4E21-8B45-B7AE627697BD}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -176,6 +190,7 @@ Global {35DD7248-F9EC-4272-A32C-B0C59E5A6FA7} = {3D1864AA-1FFC-4512-BB13-46055E410F73} {806AD0E5-833F-42FB-A870-4BCEE7F4B17F} = {8AF4A5C2-F0CE-47D5-A4C5-FE4AB83CA509} {542DC30E-FDF7-4A35-B026-6C21F435E8B1} = {879F8787-C3BB-43F3-A92D-6D4C7D3A5285} + {04DE2C84-117D-4E21-8B45-B7AE627697BD} = {B70AFB57-57C9-46DC-84BE-11B7DDD34B40} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {049A763A-C891-4E8D-80CF-89DD3E22ADC7} diff --git a/src/KubernetesClient/CertUtils.cs b/src/KubernetesClient/CertUtils.cs index ae4e61c01..1983870fd 100644 --- a/src/KubernetesClient/CertUtils.cs +++ b/src/KubernetesClient/CertUtils.cs @@ -51,7 +51,7 @@ public static X509Certificate2 GeneratePfx(KubernetesClientConfiguration config) if (keyData == null) { - throw new KubeConfigException("certData is empty"); + throw new KubeConfigException("keyData is empty"); } if (!string.IsNullOrWhiteSpace(config.ClientCertificateData)) diff --git a/src/KubernetesClient/CoreFX.cs b/src/KubernetesClient/CoreFX.cs deleted file mode 100644 index 828862fbc..000000000 --- a/src/KubernetesClient/CoreFX.cs +++ /dev/null @@ -1,566 +0,0 @@ -/* - * This (temporary) code has been adapted from Microsoft's .NET Core 2.0.4 codebase. Original code copyright (c) .NET Foundation and Contributors. - * Hopefully, once .NET Core 2.1 lands, we can drop it in favour of the built-in ManagedWebSocket and SocketHttpHandler classes (providing they support custom validation of server certificates). - * - * Original code: https://github.com/dotnet/corefx/blob/v2.0.4/src/System.Net.WebSockets.Client/src/System/Net/WebSockets/WebSocketHandle.Managed.cs#L74 - * License: https://github.com/dotnet/corefx/blob/v2.0.4/LICENSE.TXT - * - */ - -#if NETCOREAPP2_1 - -using k8s; -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Net; -using System.Net.Http.Headers; -using System.Net.Security; -using System.Net.Sockets; -using System.Net.WebSockets; -using System.Runtime.ExceptionServices; -using System.Security.Cryptography; -using System.Security.Cryptography.X509Certificates; -using System.Text; -using System.Threading; -using System.Threading.Tasks; - -namespace CoreFX -{ - /// - /// Connection factory for Kubernetes web sockets. - /// - internal static class K8sWebSocket - { - /// - /// GUID appended by the server as part of the security key response. - /// - /// Defined in the RFC. - /// - const string WSServerGuid = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; - - /// - /// Asynchronously connect to a Kubernetes WebSocket. - /// - /// - /// The target URI. - /// - /// - /// that control the WebSocket's configuration and connection process. - /// - /// - /// An optional that can be used to cancel the operation. - /// - /// - /// A representing the connection. - /// - public static async Task ConnectAsync(Uri uri, KubernetesWebSocketOptions options, CancellationToken cancellationToken = default(CancellationToken)) - { - try - { - // Connect to the remote server - Socket connectedSocket = await ConnectSocketAsync(uri.Host, uri.Port, cancellationToken).ConfigureAwait(false); - Stream stream = new NetworkStream(connectedSocket, ownsSocket: true); - - // Upgrade to SSL if needed - if (uri.Scheme == "wss") - { - X509Certificate2Collection clientCertificates = new X509Certificate2Collection(); - foreach (X509Certificate2 clientCertificate in options.ClientCertificates) - clientCertificates.Add(clientCertificate); - - var sslStream = new SslStream( - innerStream: stream, - leaveInnerStreamOpen: false, - userCertificateValidationCallback: options.ServerCertificateCustomValidationCallback - ); - await - sslStream.AuthenticateAsClientAsync( - uri.Host, - clientCertificates, - options.EnabledSslProtocols, - checkCertificateRevocation: false - ) - .ConfigureAwait(false); - - stream = sslStream; - } - - // Create the security key and expected response, then build all of the request headers - (string secKey, string webSocketAccept) = CreateSecKeyAndSecWebSocketAccept(); - byte[] requestHeader = BuildRequestHeader(uri, options, secKey); - - // Write out the header to the connection - await stream.WriteAsync(requestHeader, 0, requestHeader.Length, cancellationToken).ConfigureAwait(false); - - // Parse the response and store our state for the remainder of the connection - string subprotocol = await ParseAndValidateConnectResponseAsync(stream, options, webSocketAccept, cancellationToken).ConfigureAwait(false); - - return WebSocket.CreateClientWebSocket( - stream, - subprotocol, - options.ReceiveBufferSize, - options.SendBufferSize, - options.KeepAliveInterval, - false, - WebSocket.CreateClientBuffer(options.ReceiveBufferSize, options.SendBufferSize) - ); - } - catch (Exception unexpectedError) - { - throw new WebSocketException("WebSocket connection failure.", unexpectedError); - } - } - - /// Connects a socket to the specified host and port, subject to cancellation and aborting. - /// The host to which to connect. - /// The port to which to connect on the host. - /// The CancellationToken to use to cancel the websocket. - /// The connected Socket. - private static async Task ConnectSocketAsync(string host, int port, CancellationToken cancellationToken) - { - IPAddress[] addresses = await Dns.GetHostAddressesAsync(host).ConfigureAwait(false); - - ExceptionDispatchInfo lastException = null; - foreach (IPAddress address in addresses) - { - var socket = new Socket(address.AddressFamily, SocketType.Stream, ProtocolType.Tcp); - try - { - using (cancellationToken.Register(() => socket.Dispose())) - { - try - { - await socket.ConnectAsync(address, port).ConfigureAwait(false); - } - catch (ObjectDisposedException objectDisposed) - { - // If the socket was disposed because cancellation was requested, translate the exception - // into a new OperationCanceledException. Otherwise, let the original ObjectDisposedexception propagate. - if (cancellationToken.IsCancellationRequested) - { - throw new OperationCanceledException(new OperationCanceledException().Message, objectDisposed, cancellationToken); - } - } - } - cancellationToken.ThrowIfCancellationRequested(); // in case of a race and socket was disposed after the await - - return socket; - } - catch (Exception exc) - { - socket.Dispose(); - lastException = ExceptionDispatchInfo.Capture(exc); - } - } - - lastException?.Throw(); - - Debug.Fail("We should never get here. We should have already returned or an exception should have been thrown."); - throw new WebSocketException("WebSocket connection failure."); - } - - /// Creates a byte[] containing the headers to send to the server. - /// The Uri of the server. - /// The options used to configure the websocket. - /// The generated security key to send in the Sec-WebSocket-Key header. - /// The byte[] containing the encoded headers ready to send to the network. - private static byte[] BuildRequestHeader(Uri uri, KubernetesWebSocketOptions options, string secKey) - { - StringBuilder builder = new StringBuilder() - .Append("GET ") - .Append(uri.PathAndQuery) - .Append(" HTTP/1.1\r\n"); - - // Add all of the required headers, honoring Host header if set. - string hostHeader; - if (!options.RequestHeaders.TryGetValue(HttpKnownHeaderNames.Host, out hostHeader)) - hostHeader = uri.Host; - - builder.Append("Host: "); - if (String.IsNullOrEmpty(hostHeader)) - { - builder.Append(uri.IdnHost).Append(':').Append(uri.Port).Append("\r\n"); - } - else - { - builder.Append(hostHeader).Append("\r\n"); - } - - builder.Append("Connection: Upgrade\r\n"); - builder.Append("Upgrade: websocket\r\n"); - builder.Append("Sec-WebSocket-Version: 13\r\n"); - builder.Append("Sec-WebSocket-Key: ").Append(secKey).Append("\r\n"); - - // Add all of the additionally requested headers - foreach (string key in options.RequestHeaders.Keys) - { - if (String.Equals(key, HttpKnownHeaderNames.Host, StringComparison.OrdinalIgnoreCase)) - { - // Host header handled above - continue; - } - - builder.Append(key).Append(": ").Append(options.RequestHeaders[key]).Append("\r\n"); - } - - // Add the optional subprotocols header - if (options.RequestedSubProtocols.Count > 0) - { - builder.Append(HttpKnownHeaderNames.SecWebSocketProtocol).Append(": "); - builder.Append(options.RequestedSubProtocols[0]); - for (int i = 1; i < options.RequestedSubProtocols.Count; i++) - { - builder.Append(", ").Append(options.RequestedSubProtocols[i]); - } - builder.Append("\r\n"); - } - - // End the headers - builder.Append("\r\n"); - - // Return the bytes for the built up header - return Encoding.ASCII.GetBytes(builder.ToString()); - } - - /// Read and validate the connect response headers from the server. - /// The stream from which to read the response headers. - /// The options used to configure the websocket. - /// The expected value of the Sec-WebSocket-Accept header. - /// The CancellationToken to use to cancel the websocket. - /// The agreed upon subprotocol with the server, or null if there was none. - static async Task ParseAndValidateConnectResponseAsync(Stream stream, KubernetesWebSocketOptions options, string expectedSecWebSocketAccept, CancellationToken cancellationToken) - { - // Read the first line of the response - string statusLine = await ReadResponseHeaderLineAsync(stream, cancellationToken).ConfigureAwait(false); - - // Depending on the underlying sockets implementation and timing, connecting to a server that then - // immediately closes the connection may either result in an exception getting thrown from the connect - // earlier, or it may result in getting to here but reading 0 bytes. If we read 0 bytes and thus have - // an empty status line, treat it as a connect failure. - if (String.IsNullOrEmpty(statusLine)) - { - throw new WebSocketException("Connection failure."); - } - - const string ExpectedStatusStart = "HTTP/1.1 "; - const string ExpectedStatusStatWithCode = "HTTP/1.1 101"; // 101 == SwitchingProtocols - - // If the status line doesn't begin with "HTTP/1.1" or isn't long enough to contain a status code, fail. - if (!statusLine.StartsWith(ExpectedStatusStart, StringComparison.Ordinal) || statusLine.Length < ExpectedStatusStatWithCode.Length) - { - throw new WebSocketException(WebSocketError.HeaderError); - } - - // If the status line doesn't contain a status code 101, or if it's long enough to have a status description - // but doesn't contain whitespace after the 101, fail. - if (!statusLine.StartsWith(ExpectedStatusStatWithCode, StringComparison.Ordinal) || - (statusLine.Length > ExpectedStatusStatWithCode.Length && !char.IsWhiteSpace(statusLine[ExpectedStatusStatWithCode.Length]))) - { - throw new WebSocketException(WebSocketError.HeaderError, $"Connection failure (status line = '{statusLine}')."); - } - - // Read each response header. Be liberal in parsing the response header, treating - // everything to the left of the colon as the key and everything to the right as the value, trimming both. - // For each header, validate that we got the expected value. - bool foundUpgrade = false, foundConnection = false, foundSecWebSocketAccept = false; - string subprotocol = null; - string line; - while (!String.IsNullOrEmpty(line = await ReadResponseHeaderLineAsync(stream, cancellationToken).ConfigureAwait(false))) - { - int colonIndex = line.IndexOf(':'); - if (colonIndex == -1) - { - throw new WebSocketException(WebSocketError.HeaderError); - } - - string headerName = line.SubstringTrim(0, colonIndex); - string headerValue = line.SubstringTrim(colonIndex + 1); - - // The Connection, Upgrade, and SecWebSocketAccept headers are required and with specific values. - ValidateAndTrackHeader(HttpKnownHeaderNames.Connection, "Upgrade", headerName, headerValue, ref foundConnection); - ValidateAndTrackHeader(HttpKnownHeaderNames.Upgrade, "websocket", headerName, headerValue, ref foundUpgrade); - ValidateAndTrackHeader(HttpKnownHeaderNames.SecWebSocketAccept, expectedSecWebSocketAccept, headerName, headerValue, ref foundSecWebSocketAccept); - - // The SecWebSocketProtocol header is optional. We should only get it with a non-empty value if we requested subprotocols, - // and then it must only be one of the ones we requested. If we got a subprotocol other than one we requested (or if we - // already got one in a previous header), fail. Otherwise, track which one we got. - if (String.Equals(HttpKnownHeaderNames.SecWebSocketProtocol, headerName, StringComparison.OrdinalIgnoreCase) && - !String.IsNullOrWhiteSpace(headerValue)) - { - if (options.RequestedSubProtocols.Count > 0) - { - string newSubprotocol = options.RequestedSubProtocols.Find(requested => String.Equals(requested, headerValue, StringComparison.OrdinalIgnoreCase)); - if (newSubprotocol == null || subprotocol != null) - { - throw new WebSocketException( - String.Format("Unsupported sub-protocol '{0}' (expected one of [{1}]).", - newSubprotocol, - String.Join(", ", options.RequestedSubProtocols) - ) - ); - } - subprotocol = newSubprotocol; - } - } - } - if (!foundUpgrade || !foundConnection || !foundSecWebSocketAccept) - { - throw new WebSocketException("Connection failure."); - } - - return subprotocol; - } - - /// Validates a received header against expected values and tracks that we've received it. - /// The header name against which we're comparing. - /// The header value against which we're comparing. - /// The actual header name received. - /// The actual header value received. - /// A bool tracking whether this header has been seen. - private static void ValidateAndTrackHeader( - string targetHeaderName, string targetHeaderValue, - string foundHeaderName, string foundHeaderValue, - ref bool foundHeader) - { - bool isTargetHeader = String.Equals(targetHeaderName, foundHeaderName, StringComparison.OrdinalIgnoreCase); - if (!foundHeader) - { - if (isTargetHeader) - { - if (!String.Equals(targetHeaderValue, foundHeaderValue, StringComparison.OrdinalIgnoreCase)) - { - throw new WebSocketException( - $"Invalid value for '{foundHeaderName}' header: '{foundHeaderValue}' (expected '{targetHeaderValue}')." - ); - } - foundHeader = true; - } - } - else - { - if (isTargetHeader) - { - throw new WebSocketException("Connection failure."); - } - } - } - - /// Reads a line from the stream. - /// The stream from which to read. - /// The CancellationToken used to cancel the websocket. - /// The read line, or null if none could be read. - private static async Task ReadResponseHeaderLineAsync(Stream stream, CancellationToken cancellationToken) - { - StringBuilder sb = new StringBuilder(); - - var arr = new byte[1]; - char prevChar = '\0'; - try - { - // TODO: Reading one byte is extremely inefficient. The problem, however, - // is that if we read multiple bytes, we could end up reading bytes post-headers - // that are part of messages meant to be read by the managed websocket after - // the connection. The likely solution here is to wrap the stream in a BufferedStream, - // though a) that comes at the expense of an extra set of virtual calls, b) - // it adds a buffer when the managed websocket will already be using a buffer, and - // c) it's not exposed on the version of the System.IO contract we're currently using. - while (await stream.ReadAsync(arr, 0, 1, cancellationToken).ConfigureAwait(false) == 1) - { - // Process the next char - char curChar = (char)arr[0]; - if (prevChar == '\r' && curChar == '\n') - { - break; - } - sb.Append(curChar); - prevChar = curChar; - } - - if (sb.Length > 0 && sb[sb.Length - 1] == '\r') - { - sb.Length = sb.Length - 1; - } - - return sb.ToString(); - } - finally - { - sb.Clear(); - } - } - - /// - /// Create a security key for sending in the Sec-WebSocket-Key header and the associated response we expect to receive as the Sec-WebSocket-Accept header value. - /// - /// A key-value pair of the request header security key and expected response header value. - [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA5350", Justification = "Required by RFC6455")] - static (string secKey, string expectedResponse) CreateSecKeyAndSecWebSocketAccept() - { - string secKey = Convert.ToBase64String(Guid.NewGuid().ToByteArray()); - using (SHA1 sha = SHA1.Create()) - { - return ( - secKey, - Convert.ToBase64String( - sha.ComputeHash(Encoding.ASCII.GetBytes(secKey + WSServerGuid)) - ) - ); - } - } - - static void ValidateHeader(HttpHeaders headers, string name, string expectedValue) - { - if (!headers.TryGetValues(name, out IEnumerable values)) - ThrowConnectFailure(); - - Debug.Assert(values is string[]); - string[] array = (string[])values; - if (array.Length != 1 || !String.Equals(array[0], expectedValue, StringComparison.OrdinalIgnoreCase)) - { - throw new WebSocketException( - $"Invalid WebSocker response header '{name}': [{String.Join(", ", array)}]" - ); - } - } - - static void ThrowConnectFailure() => throw new WebSocketException("Connection failure."); - } - - /// - /// Well-known HTTP header names from CoreFX used by . - /// - static class HttpKnownHeaderNames - { - public const string Accept = "Accept"; - public const string AcceptCharset = "Accept-Charset"; - public const string AcceptEncoding = "Accept-Encoding"; - public const string AcceptLanguage = "Accept-Language"; - public const string AcceptPatch = "Accept-Patch"; - public const string AcceptRanges = "Accept-Ranges"; - public const string AccessControlAllowCredentials = "Access-Control-Allow-Credentials"; - public const string AccessControlAllowHeaders = "Access-Control-Allow-Headers"; - public const string AccessControlAllowMethods = "Access-Control-Allow-Methods"; - public const string AccessControlAllowOrigin = "Access-Control-Allow-Origin"; - public const string AccessControlExposeHeaders = "Access-Control-Expose-Headers"; - public const string AccessControlMaxAge = "Access-Control-Max-Age"; - public const string Age = "Age"; - public const string Allow = "Allow"; - public const string AltSvc = "Alt-Svc"; - public const string Authorization = "Authorization"; - public const string CacheControl = "Cache-Control"; - public const string Connection = "Connection"; - public const string ContentDisposition = "Content-Disposition"; - public const string ContentEncoding = "Content-Encoding"; - public const string ContentLanguage = "Content-Language"; - public const string ContentLength = "Content-Length"; - public const string ContentLocation = "Content-Location"; - public const string ContentMD5 = "Content-MD5"; - public const string ContentRange = "Content-Range"; - public const string ContentSecurityPolicy = "Content-Security-Policy"; - public const string ContentType = "Content-Type"; - public const string Cookie = "Cookie"; - public const string Cookie2 = "Cookie2"; - public const string Date = "Date"; - public const string ETag = "ETag"; - public const string Expect = "Expect"; - public const string Expires = "Expires"; - public const string From = "From"; - public const string Host = "Host"; - public const string IfMatch = "If-Match"; - public const string IfModifiedSince = "If-Modified-Since"; - public const string IfNoneMatch = "If-None-Match"; - public const string IfRange = "If-Range"; - public const string IfUnmodifiedSince = "If-Unmodified-Since"; - public const string KeepAlive = "Keep-Alive"; - public const string LastModified = "Last-Modified"; - public const string Link = "Link"; - public const string Location = "Location"; - public const string MaxForwards = "Max-Forwards"; - public const string Origin = "Origin"; - public const string P3P = "P3P"; - public const string Pragma = "Pragma"; - public const string ProxyAuthenticate = "Proxy-Authenticate"; - public const string ProxyAuthorization = "Proxy-Authorization"; - public const string ProxyConnection = "Proxy-Connection"; - public const string PublicKeyPins = "Public-Key-Pins"; - public const string Range = "Range"; - public const string Referer = "Referer"; // NB: The spelling-mistake "Referer" for "Referrer" must be matched. - public const string RetryAfter = "Retry-After"; - public const string SecWebSocketAccept = "Sec-WebSocket-Accept"; - public const string SecWebSocketExtensions = "Sec-WebSocket-Extensions"; - public const string SecWebSocketKey = "Sec-WebSocket-Key"; - public const string SecWebSocketProtocol = "Sec-WebSocket-Protocol"; - public const string SecWebSocketVersion = "Sec-WebSocket-Version"; - public const string Server = "Server"; - public const string SetCookie = "Set-Cookie"; - public const string SetCookie2 = "Set-Cookie2"; - public const string StrictTransportSecurity = "Strict-Transport-Security"; - public const string TE = "TE"; - public const string TSV = "TSV"; - public const string Trailer = "Trailer"; - public const string TransferEncoding = "Transfer-Encoding"; - public const string Upgrade = "Upgrade"; - public const string UpgradeInsecureRequests = "Upgrade-Insecure-Requests"; - public const string UserAgent = "User-Agent"; - public const string Vary = "Vary"; - public const string Via = "Via"; - public const string WWWAuthenticate = "WWW-Authenticate"; - public const string Warning = "Warning"; - public const string XAspNetVersion = "X-AspNet-Version"; - public const string XContentDuration = "X-Content-Duration"; - public const string XContentTypeOptions = "X-Content-Type-Options"; - public const string XFrameOptions = "X-Frame-Options"; - public const string XMSEdgeRef = "X-MSEdge-Ref"; - public const string XPoweredBy = "X-Powered-By"; - public const string XRequestID = "X-Request-ID"; - public const string XUACompatible = "X-UA-Compatible"; - } - - /// - /// Extension methods for s from the CoreFX codebase (used by ). - /// - static class CoreFXStringExtensions - { - public static string SubstringTrim(this string value, int startIndex) - { - return SubstringTrim(value, startIndex, value.Length - startIndex); - } - - public static string SubstringTrim(this string value, int startIndex, int length) - { - Debug.Assert(value != null, "string must be non-null"); - Debug.Assert(startIndex >= 0, "startIndex must be non-negative"); - Debug.Assert(length >= 0, "length must be non-negative"); - Debug.Assert(startIndex <= value.Length - length, "startIndex + length must be <= value.Length"); - - if (length == 0) - { - return String.Empty; - } - - int endIndex = startIndex + length - 1; - - while (startIndex <= endIndex && char.IsWhiteSpace(value[startIndex])) - { - startIndex++; - } - - while (endIndex >= startIndex && char.IsWhiteSpace(value[endIndex])) - { - endIndex--; - } - - int newLength = endIndex - startIndex + 1; - Debug.Assert(newLength >= 0 && newLength <= value.Length, "Expected resulting length to be within value's length"); - - return - newLength == 0 ? String.Empty : - newLength == value.Length ? value : - value.Substring(startIndex, newLength); - } - } -} - -#endif // NETCOREAPP2_1 diff --git a/src/KubernetesClient/Exceptions/KubeConfigException.cs b/src/KubernetesClient/Exceptions/KubeConfigException.cs index aa8bbb720..7a93295e1 100644 --- a/src/KubernetesClient/Exceptions/KubeConfigException.cs +++ b/src/KubernetesClient/Exceptions/KubeConfigException.cs @@ -1,24 +1,24 @@ -namespace k8s.Exceptions -{ - using System; - - /// - /// The exception that is thrown when the kube config is invalid - /// - public class KubeConfigException : Exception - { - public KubeConfigException() - { - } - - public KubeConfigException(string message) - : base(message) - { - } - - public KubeConfigException(string message, Exception inner) - : base(message, inner) - { - } - } -} +namespace k8s.Exceptions +{ + using System; + + /// + /// The exception that is thrown when the kube config is invalid + /// + public class KubeConfigException : Exception + { + public KubeConfigException() + { + } + + public KubeConfigException(string message) + : base(message) + { + } + + public KubeConfigException(string message, Exception inner) + : base(message, inner) + { + } + } +} diff --git a/src/KubernetesClient/Exceptions/KubernetesClientException.cs b/src/KubernetesClient/Exceptions/KubernetesClientException.cs index af7596e19..c2b9547b6 100644 --- a/src/KubernetesClient/Exceptions/KubernetesClientException.cs +++ b/src/KubernetesClient/Exceptions/KubernetesClientException.cs @@ -1,24 +1,24 @@ -namespace k8s.Exceptions -{ - using System; - - /// - /// The exception that is thrown when there is a client exception - /// - public class KubernetesClientException : Exception - { - public KubernetesClientException() - { - } - - public KubernetesClientException(string message) - : base(message) - { - } - - public KubernetesClientException(string message, Exception inner) - : base(message, inner) - { - } - } -} +namespace k8s.Exceptions +{ + using System; + + /// + /// The exception that is thrown when there is a client exception + /// + public class KubernetesClientException : Exception + { + public KubernetesClientException() + { + } + + public KubernetesClientException(string message) + : base(message) + { + } + + public KubernetesClientException(string message, Exception inner) + : base(message, inner) + { + } + } +} diff --git a/src/KubernetesClient/Fractions/Extensions/MathExt.cs b/src/KubernetesClient/Fractions/Extensions/MathExt.cs new file mode 100644 index 000000000..41b743571 --- /dev/null +++ b/src/KubernetesClient/Fractions/Extensions/MathExt.cs @@ -0,0 +1,128 @@ +using System; + +namespace Fractions.Extensions { + internal static class MathExt { + /// + /// Checks for an even number. + /// + /// + /// true if the number is even. + public static bool IsEven(this long number) { + return (number & 1) == 0; + } + + /// + /// Checks for an odd number. + /// + /// + /// true if the number is odd. + public static bool IsOdd(this long number) { + return (number & 1) != 0; + } + + /// + /// Get the greatest common divisor (GCD) of and . + /// + /// First number. + /// Second number. + /// The largest positive integer that divides and without a remainder. + public static long GreatestCommonDivisor(long a, long b) { + a = Math.Abs(a); + b = Math.Abs(b); + + if (a == 0) { + // ggT(0, b) = b + // Denn alles teilt durch 0. + return b; + } + + if (b == 0) { + // ggT(a, 0) = a + return a; + } + + if (a == 1 || b == 1) { + // trivial + return 1; + } + + return a == b + ? a // Beide Zahlen sind identisch, wir haben bereits den ggT gefunden. + : BinaryGreatestCommonDivisorAlgorithm(a, b); + } + + private static long BinaryGreatestCommonDivisorAlgorithm(long a, long b) { + + // Solange 'a' und 'b' beide gerade Zahlen sind, teile die Zahlen durch 2 + // und merke wie oft dies möglich war in 'k'. + int k; + for (k = 0; (a | b).IsEven(); ++k) { + a >>= 1; // a = (a / 2); + b >>= 1; // b = (b / 2); + } + + // Teile 'a' solange durch 2 bis die Zahl ungerade ist. + while (a.IsEven()) { + a >>= 1; // a = (a / 2); + } + + // Ab hier ist 'a' definitiv ungerade. Für 'b' muss dies allerdings noch nicht gelten! + do { + // Teile 'b' solange durch 2 bis die Zahl ungerade ist. + while (b.IsEven()) { + b >>= 1; // b = (b / 2); + } + + // 'a' und 'b' sind hier beide ungerade. Falls 'a' >= 'b' + // muss der Inhalt beider Variablen geswappt werden, + // damit die notwendige Subtraktion durchgeführt werden + // kann. + if (a > b) { + var temp = b; + b = a; + a = temp; + } + + b = b - a; + + } while (b != 0); + + return a << k; // a * 2^k + } + + /// + /// Get the least common multiple (LCM) of and . + /// + /// The first number. + /// The second number. + /// The smallest positive integer that is divisible by both and or 0 if either or is 0 + /// If and are 0 + public static long LeastCommonMultiple(long a, long b) { + if (a == 0 && b == 0) { + throw new ArgumentException("The least common multiple is not defined if both numbers are zero."); + } + + a = Math.Abs(a); + b = Math.Abs(b); + + if (a == b) { + return a; + } + + // Es gilt LCM(a,b) = (|a*b|) / GCD(a,b) + + var gcd = GreatestCommonDivisor(a, b); + return a / gcd * b; + } + + /// + /// Returns true if there are remaining digits after the decimal point. + /// + /// A value with possible remaining digits + /// true if has digits after the decimal point + + public static bool RemainingDigitsAfterTheDecimalPoint(double remainingDigits) { + return Math.Abs(remainingDigits - Math.Floor(remainingDigits)) > double.Epsilon; + } + } +} diff --git a/src/KubernetesClient/Fractions/Formatter/DefaultFractionFormatProvider.cs b/src/KubernetesClient/Fractions/Formatter/DefaultFractionFormatProvider.cs new file mode 100644 index 000000000..651e5c658 --- /dev/null +++ b/src/KubernetesClient/Fractions/Formatter/DefaultFractionFormatProvider.cs @@ -0,0 +1,19 @@ +using System; + +namespace Fractions.Formatter { + /// + /// Default formatter. + /// + public class DefaultFractionFormatProvider : IFormatProvider { + /// + /// Singleton instance + /// + public static readonly IFormatProvider Instance = new DefaultFractionFormatProvider(); + + object IFormatProvider.GetFormat(Type formatType) { + return formatType == typeof (Fraction) + ? DefaultFractionFormatter.Instance + : null; + } + } +} diff --git a/src/KubernetesClient/Fractions/Formatter/DefaultFractionFormatter.cs b/src/KubernetesClient/Fractions/Formatter/DefaultFractionFormatter.cs new file mode 100644 index 000000000..e92abe19d --- /dev/null +++ b/src/KubernetesClient/Fractions/Formatter/DefaultFractionFormatter.cs @@ -0,0 +1,95 @@ +using System; +using System.Globalization; +using System.Numerics; +using System.Text; + +namespace Fractions.Formatter { + internal class DefaultFractionFormatter : ICustomFormatter { + public static readonly ICustomFormatter Instance = new DefaultFractionFormatter(); + + public string Format(string format, object arg, IFormatProvider formatProvider) { + if (arg == null) { + return string.Empty; + } + + if (!(arg is Fraction)) { + throw new FormatException(string.Format("The type {0} is not supported.", arg.GetType())); + } + + var fraction = (Fraction)arg; + + if (string.IsNullOrEmpty(format) || format == "G") { + return FormatGeneral(fraction); + } + + var sb = new StringBuilder(32); + foreach (var character in format) { + switch (character) { + case 'G': + sb.Append(FormatGeneral(fraction)); + break; + case 'n': + sb.Append(fraction.Numerator.ToString(CultureInfo.InvariantCulture)); + break; + case 'd': + sb.Append(fraction.Denominator.ToString(CultureInfo.InvariantCulture)); + break; + case 'z': + sb.Append(FormatInteger(fraction)); + break; + case 'r': + sb.Append(FormatRemainder(fraction)); + break; + case 'm': + sb.Append(FormatMixed(fraction)); + break; + default: + sb.Append(character); + break; + } + } + return sb.ToString(); + } + + private static string FormatMixed(Fraction fraction) { + if (BigInteger.Abs(fraction.Numerator) < BigInteger.Abs(fraction.Denominator)) { + return FormatGeneral(fraction); + } + + var integer = fraction.Numerator / fraction.Denominator; + var remainder = Fraction.Abs(fraction - integer); + + return remainder.IsZero + ? integer.ToString(CultureInfo.InvariantCulture) + : string.Concat( + integer.ToString(CultureInfo.InvariantCulture), + " ", + FormatGeneral(remainder)); + } + + private static string FormatInteger(Fraction fraction) { + return (fraction.Numerator / fraction.Denominator) + .ToString(CultureInfo.InvariantCulture); + } + + private static string FormatRemainder(Fraction fraction) { + if (BigInteger.Abs(fraction.Numerator) < BigInteger.Abs(fraction.Denominator)) { + return FormatGeneral(fraction); + } + var integer = fraction.Numerator / fraction.Denominator; + var remainder = fraction - integer; + return FormatGeneral(remainder); + } + + private static string FormatGeneral(Fraction fraction) { + if (fraction.Denominator == BigInteger.One) { + return fraction.Numerator.ToString(CultureInfo.InvariantCulture); + + } + return string.Concat( + fraction.Numerator.ToString(CultureInfo.InvariantCulture), + "/", + fraction.Denominator.ToString(CultureInfo.InvariantCulture)); + } + } +} diff --git a/src/KubernetesClient/Fractions/Fraction.CompareTo.cs b/src/KubernetesClient/Fractions/Fraction.CompareTo.cs new file mode 100644 index 000000000..a431577cd --- /dev/null +++ b/src/KubernetesClient/Fractions/Fraction.CompareTo.cs @@ -0,0 +1,61 @@ +using System; +using System.Numerics; + +namespace Fractions { + public partial struct Fraction + { + /// + /// Compares the calculated value with the supplied . + /// + /// Fraction that shall be compared with. + /// + /// Less than 0 if is greater. + /// Zero (0) if both calculated values are equal. + /// Greater then zero (0) if less. + /// If is not of type . + public int CompareTo(object other) { + if (other == null) { + return 1; + } + + if (other.GetType() != typeof(Fraction)) { + throw new ArgumentException( + string.Format("The comparing instance must be of type {0}. The supplied argument is of type {1}", GetType(), other.GetType()), nameof(other)); + } + + return CompareTo((Fraction)other); + } + + /// + /// Compares the calculated value with the supplied . + /// + /// Fraction that shall be compared with. + /// + /// Less than 0 if is greater. + /// Zero (0) if both calculated values are equal. + /// Greater then zero (0) if less. + + public int CompareTo(Fraction other) { + if (_denominator == other._denominator) { + return _numerator.CompareTo(other._numerator); + } + + if (IsZero != other.IsZero) { + if (IsZero) { + return other.IsPositive ? -1 : 1; + } + return IsPositive ? 1 : -1; + } + + var gcd = BigInteger.GreatestCommonDivisor(_denominator, other._denominator); + + var thisMultiplier = BigInteger.Divide(_denominator, gcd); + var otherMultiplier = BigInteger.Divide(other._denominator, gcd); + + var a = BigInteger.Multiply(_numerator, otherMultiplier); + var b = BigInteger.Multiply(other._numerator, thisMultiplier); + + return a.CompareTo(b); + } + } +} diff --git a/src/KubernetesClient/Fractions/Fraction.Constructors.cs b/src/KubernetesClient/Fractions/Fraction.Constructors.cs new file mode 100644 index 000000000..31ab5accc --- /dev/null +++ b/src/KubernetesClient/Fractions/Fraction.Constructors.cs @@ -0,0 +1,123 @@ +using System; +using System.Numerics; + +namespace Fractions { + public partial struct Fraction + { + /// + /// Create a fraction with , and the fraction' . + /// Warning: if you use unreduced values combined with a state of + /// you will get wrong results when working with the fraction value. + /// + /// + /// + /// + private Fraction(BigInteger numerator, BigInteger denominator, FractionState state) { + _numerator = numerator; + _denominator = denominator; + _state = state; + } + + /// + /// Creates a normalized (reduced/simplified) fraction using and . + /// + /// Numerator + /// Denominator + public Fraction(BigInteger numerator, BigInteger denominator) + : this(numerator, denominator, true) { } + + /// + /// Creates a normalized (reduced/simplified) or unnormalized fraction using and . + /// + /// Numerator + /// Denominator + /// If true the fraction will be created as reduced/simplified fraction. + /// This is recommended, especially if your applications requires that the results of the equality methods + /// and are always the same. (1/2 != 2/4) + public Fraction(BigInteger numerator, BigInteger denominator, bool normalize) { + if (normalize) { + this = GetReducedFraction(numerator, denominator); + return; + } + + _state = numerator.IsZero && denominator.IsZero + ? FractionState.IsNormalized + : FractionState.Unknown; + + _numerator = numerator; + _denominator = denominator; + } + + /// + /// Creates a normalized fraction using a signed 32bit integer. + /// + /// integer value that will be used for the numerator. The denominator will be 1. + public Fraction(int numerator) { + _numerator = new BigInteger(numerator); + _denominator = numerator != 0 ? BigInteger.One : BigInteger.Zero; + _state = FractionState.IsNormalized; + } + + /// + /// Creates a normalized fraction using a signed 64bit integer. + /// + /// integer value that will be used for the numerator. The denominator will be 1. + public Fraction(long numerator) { + _numerator = new BigInteger(numerator); + _denominator = numerator != 0 ? BigInteger.One : BigInteger.Zero; + _state = FractionState.IsNormalized; + } + + /// + /// Creates a normalized fraction using a unsigned 32bit integer. + /// + /// integer value that will be used for the numerator. The denominator will be 1. + public Fraction(uint numerator) { + _numerator = new BigInteger(numerator); + _denominator = numerator != 0 ? BigInteger.One : BigInteger.Zero; + _state = FractionState.IsNormalized; + } + + + /// + /// Creates a normalized fraction using a unsigned 64bit integer. + /// + /// integer value that will be used for the numerator. The denominator will be 1. + public Fraction(ulong numerator) { + _numerator = new BigInteger(numerator); + _denominator = numerator != 0 ? BigInteger.One : BigInteger.Zero; + _state = FractionState.IsNormalized; + } + + /// + /// Creates a normalized fraction using a big integer. + /// + /// big integer value that will be used for the numerator. The denominator will be 1. + public Fraction(BigInteger numerator) { + _numerator = numerator; + _denominator = numerator.IsZero ? BigInteger.Zero : BigInteger.One; + _state = FractionState.IsNormalized; + } + + + /// + /// Creates a normalized fraction using a 64bit floating point value (double). + /// The value will not be rounded therefore you will probably get huge numbers as numerator und denominator. + /// values are not able to store simple rational numbers like 0.2 or 0.3 - so please + /// don't be worried if the fraction looks weird. For more information visit + /// http://en.wikipedia.org/wiki/Floating_point + /// + /// Floating point value. + public Fraction(double value) { + this = FromDouble(value); + } + + /// + /// Creates a normalized fraction using a 128bit decimal value (decimal). + /// + /// Floating point value. + public Fraction(decimal value) { + this = FromDecimal(value); + } + } +} diff --git a/src/KubernetesClient/Fractions/Fraction.ConvertFrom.cs b/src/KubernetesClient/Fractions/Fraction.ConvertFrom.cs new file mode 100644 index 000000000..237f2f09f --- /dev/null +++ b/src/KubernetesClient/Fractions/Fraction.ConvertFrom.cs @@ -0,0 +1,314 @@ +using System; +using System.Globalization; +using System.Numerics; +using Fractions.Extensions; + +namespace Fractions { + public partial struct Fraction { + /// + /// Converts a string to a fraction. Example: "3/4" or "4.5" (the decimal separator character is depending on the system culture). + /// If the number contains a decimal separator it will be parsed as . + /// + /// A fraction or a (decimal) number. The numerator and denominator must be separated with a '/' (slash) character. + /// A normalized + public static Fraction FromString(string fractionString) { + return FromString(fractionString, NumberStyles.Number, null); + } + + /// + /// Converts a string to a fraction. Example: "3/4" or "4.5" (the decimal separator character depends on ). + /// If the number contains a decimal separator it will be parsed as . + /// + /// A fraction or a (decimal) number. The numerator and denominator must be separated with a '/' (slash) character. + /// Provides culture specific information that will be used to parse the . + /// A normalized + public static Fraction FromString(string fractionString, IFormatProvider formatProvider) { + return FromString(fractionString, NumberStyles.Number, formatProvider); + } + + /// + /// Converts a string to a fraction. Example: "3/4" or "4.5" (the decimal separator character depends on ). + /// If the number contains a decimal separator it will be parsed as . + /// + /// A fraction or a (decimal) number. The numerator and denominator must be separated with a '/' (slash) character. + /// A bitwise combination of number styles that are allowed in . + /// Provides culture specific information that will be used to parse the . + /// A normalized + public static Fraction FromString(string fractionString, NumberStyles numberStyles, IFormatProvider formatProvider) { + if (fractionString == null) { + throw new ArgumentNullException(nameof(fractionString)); + } + + if (!TryParse(fractionString, numberStyles, formatProvider, true, out Fraction fraction)) { + throw new FormatException(string.Format("The string '{0}' cannot be converted to fraction.", fractionString)); + } + + return fraction; + } + + /// + /// Try to convert a string to a fraction. Example: "3/4" or "4.5" (the decimal separator character depends on the system's culture). + /// If the number contains a decimal separator it will be parsed as . + /// + /// A fraction or a (decimal) number. The numerator and denominator must be separated with a '/' (slash) character. + /// A normalized if the method returns with true. Otherwise the value is invalid. + /// + /// true if was well formed. The parsing result will be written to . + /// false if was invalid. + public static bool TryParse(string fractionString, out Fraction fraction) { + return TryParse(fractionString, NumberStyles.Number, null, true, out fraction); + } + + /// + /// Try to convert a string to a fraction. Example: "3/4" or "4.5" (the decimal separator character depends on ). + /// If the number contains a decimal separator it will be parsed as . + /// + /// A fraction or a (decimal) number. The numerator and denominator must be separated with a '/' (slash) character. + /// A bitwise combination of number styles that are allowed in . + /// Provides culture specific information that will be used to parse the . + /// A normalized if the method returns with true. Otherwise the value is invalid. + /// + /// true if was well formed. The parsing result will be written to . + /// false if was invalid. + /// + public static bool TryParse(string fractionString, NumberStyles numberStyles, IFormatProvider formatProvider, out Fraction fraction) { + return TryParse(fractionString, numberStyles, formatProvider, true, out fraction); + } + + /// + /// Try to convert a string to a fraction. Example: "3/4" or "4.5" (the decimal separator character depends on ). + /// If the number contains a decimal separator it will be parsed as . + /// + /// A fraction or a (decimal) number. The numerator and denominator must be separated with a '/' (slash) character. + /// A bitwise combination of number styles that are allowed in . + /// Provides culture specific information that will be used to parse the . + /// If true the parsed fraction will be reduced. + /// A if the method returns with true. Otherwise the value is invalid. + /// + /// true if was well formed. The parsing result will be written to . + /// false if was invalid. + /// + public static bool TryParse(string fractionString, NumberStyles numberStyles, IFormatProvider formatProvider, bool normalize, out Fraction fraction) { + if (fractionString == null) { + return CannotParse(out fraction); + } + + var components = fractionString.Split('/'); + if (components.Length == 1) { + return TryParseSingleNumber(components[0], numberStyles, formatProvider, out fraction); + } + + if (components.Length >= 2) { + var numeratorString = components[0]; + var denominatorString = components[1]; + + var withoutDecimalpoint = numberStyles & ~NumberStyles.AllowDecimalPoint; + if (!BigInteger.TryParse( + value: numeratorString, + style: withoutDecimalpoint, + provider: formatProvider, + result: out BigInteger numerator) + || !BigInteger.TryParse( + value: denominatorString, + style: withoutDecimalpoint, + provider: formatProvider, + result: out BigInteger denominator)) { + return CannotParse(out fraction); + } + fraction = new Fraction(numerator, denominator, normalize); + return true; + } + + // Technically it should not be possible to reach this line of code.. + return CannotParse(out fraction); + } + + /// + /// Try to convert a single number to a fraction. Example 34 or 4.5 (depending on the supplied culture used in ) + /// If the number contains a decimal separator it will be parsed as . + /// + /// A (decimal) number + /// A bitwise combination of number styles that are allowed in . + /// Provides culture specific information that will be used to parse the . + /// A if the method returns with true. Otherwise the value is invalid. + /// + /// true if was well formed. The parsing result will be written to . + /// false if was invalid. + /// + private static bool TryParseSingleNumber(string number, NumberStyles numberStyles, IFormatProvider formatProvider, out Fraction fraction) { + var numberFormatInfo = NumberFormatInfo.GetInstance(formatProvider); + + if (number.Contains(numberFormatInfo.NumberDecimalSeparator)) { + if (!decimal.TryParse(number, numberStyles, formatProvider, out decimal decimalNumber)) { + return CannotParse(out fraction); + } + fraction = FromDecimal(decimalNumber); + return true; + } + + var withoutDecimalpoint = numberStyles & ~NumberStyles.AllowDecimalPoint; + if (!BigInteger.TryParse(number, withoutDecimalpoint, formatProvider, out BigInteger numerator)) { + return CannotParse(out fraction); + } + fraction = new Fraction(numerator); + return true; + } + + /// + /// Returns false. contains an invalid value. + /// + /// Returns default() of + /// false + private static bool CannotParse(out Fraction fraction) { + fraction = default(Fraction); + return false; + } + + /// + /// Converts a floating point value to a fraction. The value will not be rounded therefore you will probably + /// get huge numbers as numerator und denominator. values are not able to store simple rational + /// numbers like 0.2 or 0.3 - so please don't be worried if the fraction looks weird. For more information visit + /// http://en.wikipedia.org/wiki/Floating_point + /// + /// A floating point value. + /// A fraction + /// If is NaN (not a number) or infinite. + public static Fraction FromDouble(double value) { + if (double.IsNaN(value) || double.IsInfinity(value)) { + throw new InvalidNumberException(); + } + + // No rounding here! It will convert the actual number that is stored as double! + // See http://www.mpdvc.de/artikel/FloatingPoint.htm + + const ulong SIGN_BIT = 0x8000000000000000; + const ulong EXPONENT_BITS = 0x7FF0000000000000; + const ulong MANTISSA = 0x000FFFFFFFFFFFFF; + const ulong MANTISSA_DIVISOR = 0x0010000000000000; + const ulong K = 1023; + var one = BigInteger.One; + + // value = (-1 * sign) * (1 + 2^(-1) + 2^(-2) .. + 2^(-52)) * 2^(exponent-K) + var valueBits = unchecked((ulong) BitConverter.DoubleToInt64Bits(value)); + + if (valueBits == 0) { + // See IEEE 754 + return Zero; + } + + var isNegative = (valueBits & SIGN_BIT) == SIGN_BIT; + var mantissaBits = valueBits & MANTISSA; + + // (exponent-K) + var exponent = (int) (((valueBits & EXPONENT_BITS) >> 52) - K); + + // (1 + 2^(-1) + 2^(-2) .. + 2^(-52)) + var mantissa = new Fraction(mantissaBits + MANTISSA_DIVISOR, MANTISSA_DIVISOR); + + // 2^exponent + var factor = exponent < 0 + ? new Fraction(one, one << Math.Abs(exponent)) + : new Fraction(one << exponent); + + var result = mantissa * factor; + + return isNegative + ? result.Invert() + : result; + } + + /// + /// Converts a floating point value to a fraction. The value will be rounded if possible. + /// + /// A floating point value. + /// A fraction + /// If is NaN (not a number) or infinite. + public static Fraction FromDoubleRounded(double value) { + if (double.IsNaN(value) || double.IsInfinity(value)) { + throw new InvalidNumberException(); + } + + // Null? + if (Math.Abs(value - 0.0) < double.Epsilon) { + return Zero; + } + + // Inspired from Syed Mehroz Alam http://www.geocities.ws/smehrozalam/source/fractioncs.txt + // .. who got it from http://ebookbrowse.com/confrac-pdf-d13212190 + // or ftp://89.25.159.69/knm/ksiazki/reszta/homepage.smc.edu.kennedy_john/CONFRAC.pdf + var sign = Math.Sign(value); + var absoluteValue = Math.Abs(value); + + var numerator = new BigInteger(absoluteValue); + var denominator = 1.0; + var remainingDigits = absoluteValue; + var previousDenominator = 0.0; + var breakCounter = 0; + + while (MathExt.RemainingDigitsAfterTheDecimalPoint(remainingDigits) + && Math.Abs(absoluteValue - (double) numerator / denominator) > double.Epsilon) { + + remainingDigits = 1.0 / (remainingDigits - Math.Floor(remainingDigits)); + + var tmp = denominator; + + denominator = Math.Floor(remainingDigits) * denominator + previousDenominator; + numerator = new BigInteger(absoluteValue * denominator + 0.5); + + previousDenominator = tmp; + + // See http://www.ozgrid.com/forum/archive/index.php/t-22530.html + if (++breakCounter > 594) { + break; + } + } + + return new Fraction( + sign < 0 ? BigInteger.Negate(numerator) : numerator, + new BigInteger(denominator), + true); + } + + /// + /// Converts a decimal value in a fraction. The value will not be rounded. + /// + /// A decimal value. + /// A fraction. + public static Fraction FromDecimal(decimal value) { + if (value == decimal.Zero) { + return _zero; + } + + if (value == decimal.One) { + return _one; + } + + if (value == decimal.MinusOne) { + return _minus_one; + } + + var bits = decimal.GetBits(value); + var low = BitConverter.GetBytes(bits[0]); + var middle = BitConverter.GetBytes(bits[1]); + var high = BitConverter.GetBytes(bits[2]); + var scale = BitConverter.GetBytes(bits[3]); + + + var exp = scale[2]; + bool positiveSign = (scale[3] & 0x80) == 0; + + // value = 0x00,high,middle,low / 10^exp + var numerator = new BigInteger(new byte[] { + low[0], low[1], low[2], low[3], + middle[0], middle[1], middle[2], middle[3], + high[0], high[1], high[2], high[3], + 0x00 + }); + var denominator = BigInteger.Pow(10, exp); + + return positiveSign + ? new Fraction(numerator, denominator, true) + : new Fraction(BigInteger.Negate(numerator), denominator, true); + } + } +} diff --git a/src/KubernetesClient/Fractions/Fraction.ConvertTo.cs b/src/KubernetesClient/Fractions/Fraction.ConvertTo.cs new file mode 100644 index 000000000..2ce04ccb1 --- /dev/null +++ b/src/KubernetesClient/Fractions/Fraction.ConvertTo.cs @@ -0,0 +1,96 @@ +using System; +using System.Numerics; + +namespace Fractions { + public partial struct Fraction { + /// + /// Returns the fraction as signed 32bit integer. + /// + /// 32bit signed integer + public int ToInt32() { + if (IsZero) { + return 0; + } + return (int) (Numerator / Denominator); + } + + /// + /// Returns the fraction as signed 64bit integer. + /// + /// 64bit signed integer + public long ToInt64() { + if (IsZero) { + return 0; + } + return (long) (Numerator / Denominator); + } + + /// + /// Returns the fraction as unsigned 32bit integer. + /// + /// 32bit unsigned integer + public uint ToUInt32() { + if (IsZero) { + return 0; + } + return (uint) (Numerator / Denominator); + } + + /// + /// Returns the fraction as unsigned 64bit integer. + /// + /// 64-Bit unsigned integer + public ulong ToUInt64() { + if (IsZero) { + return 0; + } + return (ulong) (Numerator / Denominator); + } + + /// + /// Returns the fraction as BigInteger. + /// + /// BigInteger + public BigInteger ToBigInteger() { + if (IsZero) { + return BigInteger.Zero; + } + return Numerator / Denominator; + } + + /// + /// Returns the fraction as (rounded!) decimal value. + /// + /// Decimal value + public decimal ToDecimal() { + if (IsZero) { + return decimal.Zero; + } + + if (_numerator >= MIN_DECIMAL && _numerator <= MAX_DECIMAL && _denominator >= MIN_DECIMAL && _denominator <= MAX_DECIMAL) { + return (decimal) _numerator / (decimal) _denominator; + } + + // numerator or denominator is too big. Lets try to split the calculation.. + // Possible OverFlowException! + var withoutDecimalPlaces = (decimal) (_numerator / _denominator); + + var remainder = _numerator % _denominator; + var lowpart = remainder * BigInteger.Pow(10, 28) / _denominator; + var decimalPlaces = (decimal) lowpart / (decimal) Math.Pow(10, 28); + + return withoutDecimalPlaces + decimalPlaces; + } + + /// + /// Returns the fraction as (rounded!) floating point value. + /// + /// A floating point value + public double ToDouble() { + if (IsZero) { + return 0; + } + return (double) Numerator / (double) Denominator; + } + } +} diff --git a/src/KubernetesClient/Fractions/Fraction.Equality.cs b/src/KubernetesClient/Fractions/Fraction.Equality.cs new file mode 100644 index 000000000..c0412ab25 --- /dev/null +++ b/src/KubernetesClient/Fractions/Fraction.Equality.cs @@ -0,0 +1,63 @@ + +namespace Fractions { + public partial struct Fraction + { + /// + /// Tests if the calculated value of this fraction equals to the calculated value of . + /// It does not matter if either of them is not normalized. Both values will be reduced (normalized) before performing + /// the test. + /// + /// The fraction to compare with. + /// true if both values are equivalent. (e.g. 2/4 is equivalent to 1/2. But 2/4 is not equivalent to -1/2) + + public bool IsEquivalentTo(Fraction other) { + var a = Reduce(); + var b = other.Reduce(); + + return a.Equals(b); + } + + /// + /// Performs an exact comparison with using numerator and denominator. + /// Warning: 1/2 is NOT equal to 2/4! -1/2 is NOT equal to 1/-2! + /// If you want to test the calculated values for equality use or + /// + /// + /// The fraction to compare with. + /// true if numerator and denominator of both fractions are equal. + + public bool Equals(Fraction other) { + return other._denominator.Equals(_denominator) && other._numerator.Equals(_numerator); + } + + /// + /// Performs an exact comparison with using numerator and denominator. + /// Warning: 1/2 is NOT equal to 2/4! -1/2 is NOT equal to 1/-2! + /// If you want to test the calculated values for equality use or + /// + /// + /// The fraction to compare with. + /// true if is type of and numerator and denominator of both are equal. + + public override bool Equals(object other) { + if (ReferenceEquals(null, other)) { + return false; + } + return other is Fraction && Equals((Fraction)other); + } + + /// + /// Returns the hash code. + /// + /// + /// A 32bit integer with sign. It has been constructed using the and the . + /// + /// 2 + + public override int GetHashCode() { + unchecked { + return (_denominator.GetHashCode() * 397) ^ _numerator.GetHashCode(); + } + } + } +} diff --git a/src/KubernetesClient/Fractions/Fraction.Math.cs b/src/KubernetesClient/Fractions/Fraction.Math.cs new file mode 100644 index 000000000..428a0c1f0 --- /dev/null +++ b/src/KubernetesClient/Fractions/Fraction.Math.cs @@ -0,0 +1,192 @@ +using System; +using System.Numerics; + +namespace Fractions { + public partial struct Fraction { + /// + /// Calculates the remainder of the division with the fraction's value and the supplied (% operator). + /// + /// Divisor + /// The remainder (left over) + public Fraction Remainder(Fraction divisor) { + if (divisor.IsZero) { + throw new DivideByZeroException(); + } + if (IsZero) { + return _zero; + } + + var gcd = BigInteger.GreatestCommonDivisor(_denominator, divisor.Denominator); + + var thisMultiplier = BigInteger.Divide(_denominator, gcd); + var otherMultiplier = BigInteger.Divide(divisor.Denominator, gcd); + + var leastCommonMultiple = BigInteger.Multiply(thisMultiplier, divisor.Denominator); + + var a = BigInteger.Multiply(_numerator, otherMultiplier); + var b = BigInteger.Multiply(divisor.Numerator, thisMultiplier); + + var remainder = BigInteger.Remainder(a, b); + + return new Fraction(remainder, leastCommonMultiple); + } + + /// + /// Adds the fraction's value with . + /// + /// Summand + /// The result as summation. + + public Fraction Add(Fraction summand) { + if (_denominator == summand.Denominator) { + return new Fraction(BigInteger.Add(_numerator, summand.Numerator), _denominator, true); + } + + if (IsZero) { + // 0 + b = b + return summand; + } + + if (summand.IsZero) { + // a + 0 = a + return this; + } + + var gcd = BigInteger.GreatestCommonDivisor(_denominator, summand.Denominator); + + var thisMultiplier = BigInteger.Divide(_denominator, gcd); + var otherMultiplier = BigInteger.Divide(summand.Denominator, gcd); + + var leastCommonMultiple = BigInteger.Multiply(thisMultiplier, summand.Denominator); + + var calculatedNumerator = BigInteger.Add( + BigInteger.Multiply(_numerator, otherMultiplier), + BigInteger.Multiply(summand.Numerator, thisMultiplier) + ); + + return new Fraction(calculatedNumerator, leastCommonMultiple, true); + } + + /// + /// Subtracts the fraction's value (minuend) with . + /// + /// Subtrahend. + /// The result as difference. + + public Fraction Subtract(Fraction subtrahend) { + return Add(subtrahend.Invert()); + } + + /// + /// Inverts the fraction. Has the same result as multiplying it by -1. + /// + /// The inverted fraction. + + public Fraction Invert() { + if (IsZero) { + return _zero; + } + return new Fraction(BigInteger.Negate(_numerator), _denominator, _state); + } + + /// + /// Multiply the fraction's value by . + /// + /// Factor + /// The result as product. + + public Fraction Multiply(Fraction factor) { + return new Fraction( + _numerator * factor._numerator, + _denominator * factor._denominator, + true); + } + + /// + /// Divides the fraction's value by . + /// + /// Divisor + /// The result as quotient. + + public Fraction Divide(Fraction divisor) { + if (divisor.IsZero) { + throw new DivideByZeroException(string.Format("{0} shall be divided by zero.", this)); + } + + return new Fraction( + numerator: _numerator * divisor._denominator, + denominator: _denominator * divisor._numerator, + normalize: true); + } + + /// + /// Returns this as reduced/simplified fraction. The fraction's sign will be normalized. + /// + /// A reduced and normalized fraction. + + public Fraction Reduce() { + return _state == FractionState.IsNormalized + ? this + : GetReducedFraction(_numerator, _denominator); + } + + /// + /// Gets the absolute value of a object. + /// + /// The absolute value. + + public Fraction Abs() { + return Abs(this); + } + + /// + /// Gets the absolute value of a object. + /// + /// The fraction. + /// The absolute value. + + public static Fraction Abs(Fraction fraction) { + return new Fraction(BigInteger.Abs(fraction.Numerator), BigInteger.Abs(fraction.Denominator), fraction.State); + } + + /// + /// Returns a reduced and normalized fraction. + /// + /// Numerator + /// Denominator + /// A reduced and normalized fraction + + public static Fraction GetReducedFraction(BigInteger numerator, BigInteger denominator) { + if (numerator.IsZero || denominator.IsZero) { + return Zero; + } + + if (denominator.Sign == -1) { + // Denominator must not be negative after normalization + numerator = BigInteger.Negate(numerator); + denominator = BigInteger.Negate(denominator); + } + + var gcd = BigInteger.GreatestCommonDivisor(numerator, denominator); + if (!gcd.IsOne && !gcd.IsZero) { + return new Fraction(BigInteger.Divide(numerator, gcd), BigInteger.Divide(denominator, gcd), + FractionState.IsNormalized); + } + + return new Fraction(numerator, denominator, FractionState.IsNormalized); + } + + /// + /// Returns a fraction raised to the specified power. + /// + /// base to be raised to a power + /// A number that specifies a power (exponent) + /// The fraction raised to the power . + + public static Fraction Pow(Fraction @base, int exponent) { + return exponent < 0 + ? Pow(new Fraction(@base._denominator, @base._numerator), -exponent) + : new Fraction(BigInteger.Pow(@base._numerator, exponent), BigInteger.Pow(@base._denominator, exponent)); + } + } +} diff --git a/src/KubernetesClient/Fractions/Fraction.Operators.cs b/src/KubernetesClient/Fractions/Fraction.Operators.cs new file mode 100644 index 000000000..5559defca --- /dev/null +++ b/src/KubernetesClient/Fractions/Fraction.Operators.cs @@ -0,0 +1,111 @@ +using System.Numerics; + +namespace Fractions { + public partial struct Fraction { +#pragma warning disable 1591 + public static bool operator ==(Fraction left, Fraction right) { + return left.Equals(right); + } + + public static bool operator !=(Fraction left, Fraction right) { + return !left.Equals(right); + } + + public static Fraction operator +(Fraction a, Fraction b) { + return a.Add(b); + } + + public static Fraction operator -(Fraction a, Fraction b) { + return a.Subtract(b); + } + + public static Fraction operator *(Fraction a, Fraction b) { + return a.Multiply(b); + } + + public static Fraction operator /(Fraction a, Fraction b) { + return a.Divide(b); + } + + public static Fraction operator %(Fraction a, Fraction b) { + return a.Remainder(b); + } + + public static bool operator <(Fraction a, Fraction b) { + return a.CompareTo(b) < 0; + } + + public static bool operator >(Fraction a, Fraction b) { + return a.CompareTo(b) > 0; + } + + public static bool operator <=(Fraction a, Fraction b) { + return a.CompareTo(b) <= 0; + } + + public static bool operator >=(Fraction a, Fraction b) { + return a.CompareTo(b) >= 0; + } + + public static implicit operator Fraction(int value) { + return new Fraction(value); + } + + public static implicit operator Fraction(long value) { + return new Fraction(value); + } + + public static implicit operator Fraction(uint value) { + return new Fraction(value); + } + + public static implicit operator Fraction(ulong value) { + return new Fraction(value); + } + + public static implicit operator Fraction(BigInteger value) { + return new Fraction(value); + } + + public static explicit operator Fraction(double value) { + return new Fraction(value); + } + + public static explicit operator Fraction(decimal value) { + return new Fraction(value); + } + + public static explicit operator Fraction(string value) { + return FromString(value); + } + + public static explicit operator int(Fraction fraction) { + return fraction.ToInt32(); + } + + public static explicit operator long(Fraction fraction) { + return fraction.ToInt64(); + } + + public static explicit operator uint(Fraction fraction) { + return fraction.ToUInt32(); + } + + public static explicit operator ulong(Fraction fraction) { + return fraction.ToUInt64(); + } + + public static explicit operator decimal(Fraction fraction) { + return fraction.ToDecimal(); + } + + public static explicit operator double(Fraction fraction) { + return fraction.ToDouble(); + } + + public static explicit operator BigInteger(Fraction fraction) { + return fraction.ToBigInteger(); + } +#pragma warning restore 1591 + } +} diff --git a/src/KubernetesClient/Fractions/Fraction.ToString.cs b/src/KubernetesClient/Fractions/Fraction.ToString.cs new file mode 100644 index 000000000..ccdc1809c --- /dev/null +++ b/src/KubernetesClient/Fractions/Fraction.ToString.cs @@ -0,0 +1,55 @@ +using System; +using System.Globalization; +using Fractions.Formatter; + +namespace Fractions { + public partial struct Fraction { + /// + /// Returns the fraction as "numerator/denominator" or just "numerator" if the denominator has a value of 1. + /// The returning value is culture invariant (). + /// + /// "numerator/denominator" or just "numerator" + + public override string ToString() { + return ToString("G", DefaultFractionFormatProvider.Instance); + } + + /// + /// Formats the value of the current instance using the specified format. + /// The returning value is culture invariant (). + /// See for all formatting options. + /// + /// "numerator/denominator" or just "numerator" + + public string ToString(string format) { + return ToString(format, DefaultFractionFormatProvider.Instance); + } + + /// + /// Formats the value of the current instance using the specified format. The numbers are however culture invariant. + /// + /// + /// The value of the current instance in the specified format. + /// + /// The format to use. + /// + /// symboldescription + /// GGeneral format: numerator/denominator + /// nNumerator + /// dDenominator + /// zThe fraction as integer + /// rThe positive remainder of all digits after the decimal point using the format: numerator/denominator or if the fraction is a valid integer without digits after the decimal point. + /// mThe fraction as mixed number e.g. "2 1/3" instead of "7/3" + /// + /// -or- A null reference (Nothing in Visual Basic) to use the default format defined for the type of the implementation. + /// The provider to use to format the value. -or- A null reference (Nothing in Visual Basic) to obtain the numeric format information from the current locale setting of the operating system. + /// 2 + public string ToString(string format, IFormatProvider formatProvider) { + var formatter = formatProvider?.GetFormat(GetType()) as ICustomFormatter; + + return formatter != null + ? formatter.Format(format, this, formatProvider) + : DefaultFractionFormatter.Instance.Format(format, this, formatProvider); + } + } +} diff --git a/src/KubernetesClient/Fractions/Fraction.cs b/src/KubernetesClient/Fractions/Fraction.cs new file mode 100644 index 000000000..2cd720aa1 --- /dev/null +++ b/src/KubernetesClient/Fractions/Fraction.cs @@ -0,0 +1,81 @@ +using System; +using System.ComponentModel; +using System.Numerics; +using System.Runtime.InteropServices; +using Fractions.TypeConverters; + +namespace Fractions { + /// + /// A mathematical fraction. A rational number written as a/b (a is the numerator and b the denominator). + /// The data type is not capable to store NaN (not a number) or infinite. + /// + [TypeConverter(typeof (FractionTypeConverter))] + [StructLayout(LayoutKind.Sequential)] + public partial struct Fraction : IEquatable, IComparable, IComparable, IFormattable { + private static readonly BigInteger MIN_DECIMAL = new BigInteger(decimal.MinValue); + private static readonly BigInteger MAX_DECIMAL = new BigInteger(decimal.MaxValue); + private static readonly Fraction _zero = new Fraction(BigInteger.Zero, BigInteger.Zero, FractionState.IsNormalized); + private static readonly Fraction _one = new Fraction(BigInteger.One, BigInteger.One, FractionState.IsNormalized); + private static readonly Fraction _minus_one = new Fraction(BigInteger.MinusOne, BigInteger.One, FractionState.IsNormalized); + + private readonly BigInteger _denominator; + private readonly BigInteger _numerator; + private readonly FractionState _state; + + /// + /// The numerator. + /// + + public BigInteger Numerator => _numerator; + + /// + /// The denominator + /// + + public BigInteger Denominator => _denominator; + + /// + /// true if the value is positive (greater than or equal to 0). + /// + + public bool IsPositive => _numerator.Sign == 1 && _denominator.Sign == 1 || + _numerator.Sign == -1 && _denominator.Sign == -1; + + /// + /// true if the value is negative (lesser than 0). + /// + + public bool IsNegative => _numerator.Sign == -1 && _denominator.Sign == 1 || + _numerator.Sign == 1 && _denominator.Sign == -1; + + /// + /// true if the fraction has a real (calculated) value of 0. + /// + + public bool IsZero => _numerator.IsZero || _denominator.IsZero; + + /// + /// The fraction's state. + /// + + public FractionState State => _state; + + /// + /// A fraction with the reduced/simplified value of 0. + /// + + public static Fraction Zero => _zero; + + /// + /// A fraction with the reduced/simplified value of 1. + /// + + public static Fraction One => _one; + + /// + /// A fraction with the reduced/simplified value of -1. + /// + + public static Fraction MinusOne => _minus_one; + } +} diff --git a/src/KubernetesClient/Fractions/FractionState.cs b/src/KubernetesClient/Fractions/FractionState.cs new file mode 100644 index 000000000..fb72b7f86 --- /dev/null +++ b/src/KubernetesClient/Fractions/FractionState.cs @@ -0,0 +1,17 @@ +namespace Fractions { + /// + /// The fraction's state. + /// + public enum FractionState + { + /// + /// Unknown state. + /// + Unknown, + + /// + /// A reduced/simplified fraction. + /// + IsNormalized + } +} diff --git a/src/KubernetesClient/Fractions/InvalidNumberException.cs b/src/KubernetesClient/Fractions/InvalidNumberException.cs new file mode 100644 index 000000000..693a8af26 --- /dev/null +++ b/src/KubernetesClient/Fractions/InvalidNumberException.cs @@ -0,0 +1,14 @@ +using System; + +namespace Fractions { + /// + /// Exception that will be thrown if an argument contains not a number (NaN) or is infinite. + /// + public class InvalidNumberException : ArithmeticException { +#pragma warning disable 1591 + public InvalidNumberException() {} + public InvalidNumberException(string message) : base(message) {} + public InvalidNumberException(string message, Exception innerException) : base(message, innerException) {} +#pragma warning restore 1591 + } +} diff --git a/src/KubernetesClient/Fractions/README.md b/src/KubernetesClient/Fractions/README.md new file mode 100644 index 000000000..860b1bd6b --- /dev/null +++ b/src/KubernetesClient/Fractions/README.md @@ -0,0 +1,6 @@ +This is a copy of the Fractions library. +Original source code is [here](https://github.com/danm-de/Fractions), licensed under the BSD license. + +The source has been vendored into this project in order to produce a fully strongly-named assembly. +As of the time that this file was created, no strongly-named assembly for the Fractions library existed. +By including the source code in this project, we can produce a strongly-named assembly for the KubernetesClient. diff --git a/src/KubernetesClient/Fractions/TypeConverters/FractionTypeConverter.cs b/src/KubernetesClient/Fractions/TypeConverters/FractionTypeConverter.cs new file mode 100644 index 000000000..c8b9e2bbc --- /dev/null +++ b/src/KubernetesClient/Fractions/TypeConverters/FractionTypeConverter.cs @@ -0,0 +1,96 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Globalization; +using System.Numerics; + +namespace Fractions.TypeConverters { + /// + /// Converts the from / to various data types. + /// + public sealed class FractionTypeConverter : TypeConverter { + private static readonly HashSet SUPPORTED_TYPES = new HashSet { + typeof (string), + typeof (int), + typeof (long), + typeof (decimal), + typeof (double), + typeof (Fraction), + typeof (BigInteger) + }; + + private static readonly Dictionary> CONVERT_TO_DICTIONARY = + new Dictionary> { + {typeof (string), (o, info) => ((Fraction) o).ToString()}, + {typeof (int), (o, info) => ((Fraction) o).ToInt32()}, + {typeof (long), (o, info) => ((Fraction) o).ToInt64()}, + {typeof (decimal), (o, info) => ((Fraction) o).ToDecimal()}, + {typeof (double), (o, info) => ((Fraction) o).ToDouble()}, + {typeof (Fraction), (o, info) => (Fraction) o}, + {typeof (BigInteger), (o, info) => ((Fraction) o).ToBigInteger()} + }; + + private static readonly Dictionary> CONVERT_FROM_DICTIONARY = + new Dictionary> { + {typeof (string), (o, info) => Fraction.FromString((string) o, info)}, + {typeof (int), (o, info) => new Fraction((int) o)}, + {typeof (long), (o, info) => new Fraction((long) o)}, + {typeof (decimal), (o, info) => Fraction.FromDecimal((decimal) o)}, + {typeof (double), (o, info) => Fraction.FromDouble((double) o)}, + {typeof (Fraction), (o, info) => (Fraction) o}, + {typeof (BigInteger), (o, info) => new Fraction((BigInteger) o)} + }; + + /// + /// Returns whether the type converter can convert an object to the specified type. + /// + /// An object that provides a format context. + /// The type you want to convert to. + /// true if this converter can perform the conversion; otherwise, false. + public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { + return SUPPORTED_TYPES.Contains(destinationType); + } + + /// + /// Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context. + /// + /// An that provides a format context. + /// A that represents the type you want to convert from. + /// trueif this converter can perform the conversion; otherwise, false. + public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { + return SUPPORTED_TYPES.Contains(sourceType); + } + + /// + /// Converts the given value object to the specified type, using the specified context and culture information. + /// + /// An that provides a format context. + /// A CultureInfo. If null is passed, the current culture is assumed. + /// The to convert. + /// The to convert the value parameter to. + /// An that represents the converted value. + public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, + Type destinationType) { + return !ReferenceEquals(value, null) && CONVERT_TO_DICTIONARY.TryGetValue(destinationType, out Func func) + ? func(value, culture) + : base.ConvertTo(context, culture, value, destinationType); + } + + /// + /// Converts the given object to the type of this converter, using the specified context and culture information. + /// + /// An that provides a format context. + /// The to use as the current culture. + /// The to convert. + /// An that represents the converted value. + public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { + if (ReferenceEquals(value, null)) { + return Fraction.Zero; + } + + return CONVERT_FROM_DICTIONARY.TryGetValue(value.GetType(), out Func func) + ? func(value, culture) + : base.ConvertFrom(context, culture, value); + } + } +} diff --git a/src/KubernetesClient/Fractions/license.txt b/src/KubernetesClient/Fractions/license.txt new file mode 100644 index 000000000..b1237d049 --- /dev/null +++ b/src/KubernetesClient/Fractions/license.txt @@ -0,0 +1,22 @@ +Copyright (c) 2013-2017, Daniel Mueller +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/KubernetesClient/IKubernetes.Watch.cs b/src/KubernetesClient/IKubernetes.Watch.cs index 890d59566..e8d85e4e8 100644 --- a/src/KubernetesClient/IKubernetes.Watch.cs +++ b/src/KubernetesClient/IKubernetes.Watch.cs @@ -24,7 +24,7 @@ public partial interface IKubernetes /// /// /// limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. - /// + /// /// The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. /// /// @@ -45,12 +45,15 @@ public partial interface IKubernetes /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchObjectAsync(string path, string @continue = null, string fieldSelector = null, bool? includeUninitialized = null, string labelSelector = null, int? limit = null, bool? pretty = null, int? timeoutSeconds = null, string resourceVersion = null, Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> WatchObjectAsync(string path, string @continue = null, string fieldSelector = null, bool? includeUninitialized = null, string labelSelector = null, int? limit = null, bool? pretty = null, int? timeoutSeconds = null, string resourceVersion = null, Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/src/KubernetesClient/IKubernetesObject.cs b/src/KubernetesClient/IKubernetesObject.cs index 43bf1cbb9..22d00b180 100644 --- a/src/KubernetesClient/IKubernetesObject.cs +++ b/src/KubernetesClient/IKubernetesObject.cs @@ -9,7 +9,7 @@ namespace k8s /// You can use the if you receive JSON from a Kubernetes API server but /// are unsure which object the API server is about to return. You can parse the JSON as a /// and use the and properties to get basic metadata about any Kubernetes object. - /// You can then + /// You can then /// public interface IKubernetesObject { diff --git a/src/KubernetesClient/IntstrIntOrString.cs b/src/KubernetesClient/IntstrIntOrString.cs index 6f634f1d0..13d54ee7e 100644 --- a/src/KubernetesClient/IntstrIntOrString.cs +++ b/src/KubernetesClient/IntstrIntOrString.cs @@ -1,74 +1,74 @@ -using System; -using Newtonsoft.Json; - -namespace k8s.Models -{ - internal class IntOrStringConverter : JsonConverter - { - public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) - { - var s = (value as IntstrIntOrString)?.Value; - - if (int.TryParse(s, out var intv)) - { - serializer.Serialize(writer, intv); - return; - } - - serializer.Serialize(writer, s); - } - - public override object ReadJson(JsonReader reader, Type objectType, object existingValue, - JsonSerializer serializer) - { - return (IntstrIntOrString) serializer.Deserialize(reader); - } - - public override bool CanConvert(Type objectType) - { - return objectType == typeof(int) || objectType == typeof(string); - } - } - - [JsonConverter(typeof(IntOrStringConverter))] - public partial class IntstrIntOrString - { - public static implicit operator int(IntstrIntOrString v) - { - return int.Parse(v.Value); - } - - public static implicit operator IntstrIntOrString(int v) - { - return new IntstrIntOrString(Convert.ToString(v)); - } - - public static implicit operator string(IntstrIntOrString v) - { - return v.Value; - } - - public static implicit operator IntstrIntOrString(string v) - { - return new IntstrIntOrString(v); - } - - protected bool Equals(IntstrIntOrString other) - { - return string.Equals(Value, other.Value); - } - - public override bool Equals(object obj) - { - if (ReferenceEquals(null, obj)) return false; - if (ReferenceEquals(this, obj)) return true; - if (obj.GetType() != this.GetType()) return false; - return Equals((IntstrIntOrString) obj); - } - - public override int GetHashCode() - { - return (Value != null ? Value.GetHashCode() : 0); - } - } -} +using System; +using Newtonsoft.Json; + +namespace k8s.Models +{ + internal class IntOrStringConverter : JsonConverter + { + public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) + { + var s = (value as IntstrIntOrString)?.Value; + + if (int.TryParse(s, out var intv)) + { + serializer.Serialize(writer, intv); + return; + } + + serializer.Serialize(writer, s); + } + + public override object ReadJson(JsonReader reader, Type objectType, object existingValue, + JsonSerializer serializer) + { + return (IntstrIntOrString) serializer.Deserialize(reader); + } + + public override bool CanConvert(Type objectType) + { + return objectType == typeof(int) || objectType == typeof(string); + } + } + + [JsonConverter(typeof(IntOrStringConverter))] + public partial class IntstrIntOrString + { + public static implicit operator int(IntstrIntOrString v) + { + return int.Parse(v.Value); + } + + public static implicit operator IntstrIntOrString(int v) + { + return new IntstrIntOrString(Convert.ToString(v)); + } + + public static implicit operator string(IntstrIntOrString v) + { + return v.Value; + } + + public static implicit operator IntstrIntOrString(string v) + { + return new IntstrIntOrString(v); + } + + protected bool Equals(IntstrIntOrString other) + { + return string.Equals(Value, other.Value); + } + + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != this.GetType()) return false; + return Equals((IntstrIntOrString) obj); + } + + public override int GetHashCode() + { + return (Value != null ? Value.GetHashCode() : 0); + } + } +} diff --git a/src/KubernetesClient/KubeConfigModels/AuthProvider.cs b/src/KubernetesClient/KubeConfigModels/AuthProvider.cs new file mode 100644 index 000000000..a7fcdc64c --- /dev/null +++ b/src/KubernetesClient/KubeConfigModels/AuthProvider.cs @@ -0,0 +1,24 @@ +namespace k8s.KubeConfigModels +{ + using System.Collections.Generic; + using YamlDotNet.RepresentationModel; + using YamlDotNet.Serialization; + + /// + /// Contains information that describes identity information. This is use to tell the kubernetes cluster who you are. + /// + public class AuthProvider { + /// + /// Gets or sets the nickname for this auth provider. + /// + [YamlMember(Alias = "name")] + public string Name { get; set; } + + /// + /// Gets or sets the configuration for this auth provider + /// + [YamlMember(Alias = "config")] + public Dictionary Config { get; set; } + + } +} diff --git a/src/KubernetesClient/KubeConfigModels/Cluster.cs b/src/KubernetesClient/KubeConfigModels/Cluster.cs index 46d952e6e..01a16c5ed 100644 --- a/src/KubernetesClient/KubeConfigModels/Cluster.cs +++ b/src/KubernetesClient/KubeConfigModels/Cluster.cs @@ -1,22 +1,22 @@ -namespace k8s.KubeConfigModels -{ - using YamlDotNet.Serialization; +namespace k8s.KubeConfigModels +{ + using YamlDotNet.Serialization; - /// - /// Relates nicknames to cluster information. - /// - public class Cluster + /// + /// Relates nicknames to cluster information. + /// + public class Cluster { - /// - /// Gets or sets the cluster information. - /// - [YamlMember(Alias = "cluster")] - public ClusterEndpoint ClusterEndpoint { get; set; } + /// + /// Gets or sets the cluster information. + /// + [YamlMember(Alias = "cluster")] + public ClusterEndpoint ClusterEndpoint { get; set; } - /// - /// Gets or sets the nickname for this Cluster. - /// - [YamlMember(Alias = "name")] - public string Name { get; set; } - } -} + /// + /// Gets or sets the nickname for this Cluster. + /// + [YamlMember(Alias = "name")] + public string Name { get; set; } + } +} diff --git a/src/KubernetesClient/KubeConfigModels/ClusterEndpoint.cs b/src/KubernetesClient/KubeConfigModels/ClusterEndpoint.cs index 6f46ff26d..a9679797a 100644 --- a/src/KubernetesClient/KubeConfigModels/ClusterEndpoint.cs +++ b/src/KubernetesClient/KubeConfigModels/ClusterEndpoint.cs @@ -1,42 +1,42 @@ -namespace k8s.KubeConfigModels +namespace k8s.KubeConfigModels { using System.Collections.Generic; - using YamlDotNet.Serialization; + using YamlDotNet.Serialization; - /// - /// Contains information about how to communicate with a kubernetes cluster - /// - public class ClusterEndpoint + /// + /// Contains information about how to communicate with a kubernetes cluster + /// + public class ClusterEndpoint { - /// - /// Gets or sets the path to a cert file for the certificate authority. + /// + /// Gets or sets the path to a cert file for the certificate authority. /// - [YamlMember(Alias = "certificate-authority", ApplyNamingConventions = false)] - public string CertificateAuthority {get; set; } + [YamlMember(Alias = "certificate-authority", ApplyNamingConventions = false)] + public string CertificateAuthority {get; set; } - /// - /// Gets or sets =PEM-encoded certificate authority certificates. Overrides . - /// - [YamlMember(Alias = "certificate-authority-data", ApplyNamingConventions = false)] - public string CertificateAuthorityData { get; set; } + /// + /// Gets or sets =PEM-encoded certificate authority certificates. Overrides . + /// + [YamlMember(Alias = "certificate-authority-data", ApplyNamingConventions = false)] + public string CertificateAuthorityData { get; set; } - /// - /// Gets or sets the address of the kubernetes cluster (https://hostname:port). - /// - [YamlMember(Alias = "server")] - public string Server { get; set; } + /// + /// Gets or sets the address of the kubernetes cluster (https://hostname:port). + /// + [YamlMember(Alias = "server")] + public string Server { get; set; } - /// + /// /// Gets or sets a value indicating whether to skip the validity check for the server's certificate. - /// This will make your HTTPS connections insecure. - /// - [YamlMember(Alias = "insecure-skip-tls-verify", ApplyNamingConventions = false)] + /// This will make your HTTPS connections insecure. + /// + [YamlMember(Alias = "insecure-skip-tls-verify", ApplyNamingConventions = false)] public bool SkipTlsVerify { get; set; } - /// - /// Gets or sets additional information. This is useful for extenders so that reads and writes don't clobber unknown fields. + /// + /// Gets or sets additional information. This is useful for extenders so that reads and writes don't clobber unknown fields. /// [YamlMember(Alias = "extensions")] - public IDictionary Extensions { get; set; } - } -} + public IDictionary Extensions { get; set; } + } +} diff --git a/src/KubernetesClient/KubeConfigModels/Context.cs b/src/KubernetesClient/KubeConfigModels/Context.cs index 4e7d222bb..75622d034 100644 --- a/src/KubernetesClient/KubeConfigModels/Context.cs +++ b/src/KubernetesClient/KubeConfigModels/Context.cs @@ -1,25 +1,25 @@ -namespace k8s.KubeConfigModels -{ - using YamlDotNet.Serialization; +namespace k8s.KubeConfigModels +{ + using YamlDotNet.Serialization; - /// - /// Relates nicknames to context information. - /// - public class Context + /// + /// Relates nicknames to context information. + /// + public class Context { - /// - /// Gets or sets the context information. - /// - [YamlMember(Alias = "context")] - public ContextDetails ContextDetails { get; set; } + /// + /// Gets or sets the context information. + /// + [YamlMember(Alias = "context")] + public ContextDetails ContextDetails { get; set; } - /// - /// Gets or sets the nickname for this context. - /// - [YamlMember(Alias = "name")] - public string Name { get; set; } - - [YamlMember(Alias = "namespace")] - public string Namespace { get; set; } - } -} + /// + /// Gets or sets the nickname for this context. + /// + [YamlMember(Alias = "name")] + public string Name { get; set; } + + [YamlMember(Alias = "namespace")] + public string Namespace { get; set; } + } +} diff --git a/src/KubernetesClient/KubeConfigModels/ContextDetails.cs b/src/KubernetesClient/KubeConfigModels/ContextDetails.cs index 843897483..97a94c209 100644 --- a/src/KubernetesClient/KubeConfigModels/ContextDetails.cs +++ b/src/KubernetesClient/KubeConfigModels/ContextDetails.cs @@ -1,36 +1,36 @@ -namespace k8s.KubeConfigModels +namespace k8s.KubeConfigModels { using System.Collections.Generic; - using YamlDotNet.Serialization; + using YamlDotNet.Serialization; - /// + /// /// Represents a tuple of references to a cluster (how do I communicate with a kubernetes cluster), - /// a user (how do I identify myself), and a namespace (what subset of resources do I want to work with) - /// - public class ContextDetails + /// a user (how do I identify myself), and a namespace (what subset of resources do I want to work with) + /// + public class ContextDetails { - /// - /// Gets or sets the name of the cluster for this context. - /// - [YamlMember(Alias = "cluster")] - public string Cluster { get; set; } + /// + /// Gets or sets the name of the cluster for this context. + /// + [YamlMember(Alias = "cluster")] + public string Cluster { get; set; } - /// - /// Gets or sets the anem of the user for this context. - /// - [YamlMember(Alias = "user")] - public string User { get; set; } + /// + /// Gets or sets the anem of the user for this context. + /// + [YamlMember(Alias = "user")] + public string User { get; set; } - /// - /// /Gets or sets the default namespace to use on unspecified requests. - /// - [YamlMember(Alias = "namespace")] + /// + /// /Gets or sets the default namespace to use on unspecified requests. + /// + [YamlMember(Alias = "namespace")] public string Namespace { get; set; } - /// - /// Gets or sets additional information. This is useful for extenders so that reads and writes don't clobber unknown fields. + /// + /// Gets or sets additional information. This is useful for extenders so that reads and writes don't clobber unknown fields. /// [YamlMember(Alias = "extensions")] - public IDictionary Extensions { get; set; } - } -} + public IDictionary Extensions { get; set; } + } +} diff --git a/src/KubernetesClient/KubeConfigModels/K8SConfiguration.cs b/src/KubernetesClient/KubeConfigModels/K8SConfiguration.cs index 93a4ca276..91e6b0e07 100644 --- a/src/KubernetesClient/KubeConfigModels/K8SConfiguration.cs +++ b/src/KubernetesClient/KubeConfigModels/K8SConfiguration.cs @@ -1,64 +1,64 @@ -namespace k8s.KubeConfigModels -{ - using System.Collections.Generic; - using YamlDotNet.Serialization; - - /// +namespace k8s.KubeConfigModels +{ + using System.Collections.Generic; + using YamlDotNet.Serialization; + + /// /// kubeconfig configuration model. Holds the information needed to build connect to remote - /// Kubernetes clusters as a given user. + /// Kubernetes clusters as a given user. /// /// /// Should be kept in sync with https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/client-go/tools/clientcmd/api/v1/types.go - /// - public class K8SConfiguration + /// + public class K8SConfiguration { - /// - /// Gets or sets general information to be use for CLI interactions - /// - [YamlMember(Alias = "preferences")] - public IDictionary Preferences{ get; set; } - - [YamlMember(Alias = "apiVersion")] - public string ApiVersion { get; set; } - - [YamlMember(Alias = "kind")] - public string Kind { get; set; } + /// + /// Gets or sets general information to be use for CLI interactions + /// + [YamlMember(Alias = "preferences")] + public IDictionary Preferences{ get; set; } + + [YamlMember(Alias = "apiVersion")] + public string ApiVersion { get; set; } + + [YamlMember(Alias = "kind")] + public string Kind { get; set; } - /// - /// Gets or sets the name of the context that you would like to use by default. - /// - [YamlMember(Alias = "current-context", ApplyNamingConventions = false)] - public string CurrentContext { get; set; } + /// + /// Gets or sets the name of the context that you would like to use by default. + /// + [YamlMember(Alias = "current-context", ApplyNamingConventions = false)] + public string CurrentContext { get; set; } - /// - /// Gets or sets a map of referencable names to context configs. - /// - [YamlMember(Alias = "contexts")] - public IEnumerable Contexts { get; set; } = new Context[0]; + /// + /// Gets or sets a map of referencable names to context configs. + /// + [YamlMember(Alias = "contexts")] + public IEnumerable Contexts { get; set; } = new Context[0]; - /// - /// Gets or sets a map of referencable names to cluster configs. - /// - [YamlMember(Alias = "clusters")] - public IEnumerable Clusters { get; set; } = new Cluster[0]; + /// + /// Gets or sets a map of referencable names to cluster configs. + /// + [YamlMember(Alias = "clusters")] + public IEnumerable Clusters { get; set; } = new Cluster[0]; - /// - /// Gets or sets a map of referencable names to user configs - /// - [YamlMember(Alias = "users")] + /// + /// Gets or sets a map of referencable names to user configs + /// + [YamlMember(Alias = "users")] public IEnumerable Users { get; set; } = new User[0]; - /// - /// Gets or sets additional information. This is useful for extenders so that reads and writes don't clobber unknown fields. + /// + /// Gets or sets additional information. This is useful for extenders so that reads and writes don't clobber unknown fields. /// [YamlMember(Alias = "extensions")] public IDictionary Extensions { get; set; } - /// + /// /// Gets or sets the name of the Kubernetes configuration file. This property is set only when the configuration - /// was loaded from disk, and can be used to resolve relative paths. + /// was loaded from disk, and can be used to resolve relative paths. /// [YamlIgnore] - public string FileName { get; set; } - } -} + public string FileName { get; set; } + } +} diff --git a/src/KubernetesClient/KubeConfigModels/User.cs b/src/KubernetesClient/KubeConfigModels/User.cs index 6607a3957..e0ef9b35e 100644 --- a/src/KubernetesClient/KubeConfigModels/User.cs +++ b/src/KubernetesClient/KubeConfigModels/User.cs @@ -1,22 +1,22 @@ -namespace k8s.KubeConfigModels -{ - using YamlDotNet.Serialization; +namespace k8s.KubeConfigModels +{ + using YamlDotNet.Serialization; - /// - /// Relates nicknames to auth information. - /// - public class User + /// + /// Relates nicknames to auth information. + /// + public class User { - /// - /// Gets or sets the auth information. - /// - [YamlMember(Alias = "user")] - public UserCredentials UserCredentials { get; set; } + /// + /// Gets or sets the auth information. + /// + [YamlMember(Alias = "user")] + public UserCredentials UserCredentials { get; set; } - /// - /// Gets or sets the nickname for this auth information. - /// - [YamlMember(Alias = "name")] - public string Name { get; set; } - } -} + /// + /// Gets or sets the nickname for this auth information. + /// + [YamlMember(Alias = "name")] + public string Name { get; set; } + } +} diff --git a/src/KubernetesClient/KubeConfigModels/UserCredentials.cs b/src/KubernetesClient/KubeConfigModels/UserCredentials.cs index d8f794db3..c34f37467 100644 --- a/src/KubernetesClient/KubeConfigModels/UserCredentials.cs +++ b/src/KubernetesClient/KubeConfigModels/UserCredentials.cs @@ -1,84 +1,84 @@ -namespace k8s.KubeConfigModels -{ - using System.Collections.Generic; - using YamlDotNet.RepresentationModel; - using YamlDotNet.Serialization; +namespace k8s.KubeConfigModels +{ + using System.Collections.Generic; + using YamlDotNet.RepresentationModel; + using YamlDotNet.Serialization; - /// - /// Contains information that describes identity information. This is use to tell the kubernetes cluster who you are. - /// - public class UserCredentials + /// + /// Contains information that describes identity information. This is use to tell the kubernetes cluster who you are. + /// + public class UserCredentials { - /// - /// Gets or sets PEM-encoded data from a client cert file for TLS. Overrides . - /// - [YamlMember(Alias = "client-certificate-data", ApplyNamingConventions = false)] - public string ClientCertificateData { get; set; } + /// + /// Gets or sets PEM-encoded data from a client cert file for TLS. Overrides . + /// + [YamlMember(Alias = "client-certificate-data", ApplyNamingConventions = false)] + public string ClientCertificateData { get; set; } - /// - /// Gets or sets the path to a client cert file for TLS. - /// - [YamlMember(Alias = "client-certificate", ApplyNamingConventions = false)] - public string ClientCertificate { get; set; } + /// + /// Gets or sets the path to a client cert file for TLS. + /// + [YamlMember(Alias = "client-certificate", ApplyNamingConventions = false)] + public string ClientCertificate { get; set; } - /// - /// Gets or sets PEM-encoded data from a client key file for TLS. Overrides . - /// - [YamlMember(Alias = "client-key-data", ApplyNamingConventions = false)] - public string ClientKeyData { get; set; } + /// + /// Gets or sets PEM-encoded data from a client key file for TLS. Overrides . + /// + [YamlMember(Alias = "client-key-data", ApplyNamingConventions = false)] + public string ClientKeyData { get; set; } - /// - /// Gets or sets the path to a client key file for TLS. - /// - [YamlMember(Alias = "client-key", ApplyNamingConventions = false)] - public string ClientKey { get; set; } + /// + /// Gets or sets the path to a client key file for TLS. + /// + [YamlMember(Alias = "client-key", ApplyNamingConventions = false)] + public string ClientKey { get; set; } - /// - /// Gets or sets the bearer token for authentication to the kubernetes cluster. - /// - [YamlMember(Alias = "token")] - public string Token { get; set; } + /// + /// Gets or sets the bearer token for authentication to the kubernetes cluster. + /// + [YamlMember(Alias = "token")] + public string Token { get; set; } - /// - /// Gets or sets the username to imperonate. The name matches the flag. + /// + /// Gets or sets the username to imperonate. The name matches the flag. /// [YamlMember(Alias = "as")] public string Impersonate { get; set; } - /// - /// Gets or sets the groups to imperonate. + /// + /// Gets or sets the groups to imperonate. /// [YamlMember(Alias = "as-groups", ApplyNamingConventions = false)] public IEnumerable ImpersonateGroups { get; set; } = new string[0]; - /// - /// Gets or sets additional information for impersonated user. + /// + /// Gets or sets additional information for impersonated user. /// [YamlMember(Alias = "as-user-extra", ApplyNamingConventions = false)] public Dictionary ImpersonateUserExtra { get; set; } = new Dictionary(); - /// - /// Gets or sets the username for basic authentication to the kubernetes cluster. - /// - [YamlMember(Alias = "username")] - public string UserName { get; set; } + /// + /// Gets or sets the username for basic authentication to the kubernetes cluster. + /// + [YamlMember(Alias = "username")] + public string UserName { get; set; } - /// - /// Gets or sets the password for basic authentication to the kubernetes cluster. - /// - [YamlMember(Alias = "password")] - public string Password { get; set; } + /// + /// Gets or sets the password for basic authentication to the kubernetes cluster. + /// + [YamlMember(Alias = "password")] + public string Password { get; set; } - /// - /// Gets or sets custom authentication plugin for the kubernetes cluster. - /// - [YamlMember(Alias = "auth-provider", ApplyNamingConventions = false)] - public Dictionary AuthProvider { get; set; } + /// + /// Gets or sets custom authentication plugin for the kubernetes cluster. + /// + [YamlMember(Alias = "auth-provider", ApplyNamingConventions = false)] + public AuthProvider AuthProvider { get; set; } - /// - /// Gets or sets additional information. This is useful for extenders so that reads and writes don't clobber unknown fields. + /// + /// Gets or sets additional information. This is useful for extenders so that reads and writes don't clobber unknown fields. /// [YamlMember(Alias = "extensions")] - public IDictionary Extensions { get; set; } - } -} + public IDictionary Extensions { get; set; } + } +} diff --git a/src/KubernetesClient/Kubernetes.ConfigInit.cs b/src/KubernetesClient/Kubernetes.ConfigInit.cs index 75d04c547..1e6f228f7 100644 --- a/src/KubernetesClient/Kubernetes.ConfigInit.cs +++ b/src/KubernetesClient/Kubernetes.ConfigInit.cs @@ -1,191 +1,275 @@ -using System; -using System.Diagnostics.CodeAnalysis; -using System.Net; -using System.Net.Http; -using System.Net.Security; -using System.Security.Cryptography.X509Certificates; -using k8s.Exceptions; -using k8s.Models; -using Microsoft.Rest; - -namespace k8s -{ - public partial class Kubernetes - { - /// - /// Initializes a new instance of the class. - /// - /// - /// Optional. The delegating handlers to add to the http client pipeline. - /// - /// - /// Optional. The delegating handlers to add to the http client pipeline. - /// - public Kubernetes(KubernetesClientConfiguration config, params DelegatingHandler[] handlers) : this(handlers) - { - if (string.IsNullOrWhiteSpace(config.Host)) - { - throw new KubeConfigException("Host url must be set"); - } - - try - { - BaseUri = new Uri(config.Host); - } - catch (UriFormatException e) - { - throw new KubeConfigException("Bad host url", e); - } - - CaCert = config.SslCaCert; - SkipTlsVerify = config.SkipTlsVerify; - - if (BaseUri.Scheme == "https") - { - if (config.SkipTlsVerify) - { -#if NET452 - ((WebRequestHandler) HttpClientHandler).ServerCertificateValidationCallback = - (sender, certificate, chain, sslPolicyErrors) => true; -#else - HttpClientHandler.ServerCertificateCustomValidationCallback = - (sender, certificate, chain, sslPolicyErrors) => true; -#endif - } - else - { - if (CaCert == null) - { - throw new KubeConfigException("a CA must be set when SkipTlsVerify === false"); - } - -#if NET452 - ((WebRequestHandler) HttpClientHandler).ServerCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => - { - return Kubernetes.CertificateValidationCallBack(sender, CaCert, certificate, chain, sslPolicyErrors); - }; -#else - HttpClientHandler.ServerCertificateCustomValidationCallback = (sender, certificate, chain, sslPolicyErrors) => - { - return Kubernetes.CertificateValidationCallBack(sender, CaCert, certificate, chain, sslPolicyErrors); - }; -#endif - } - } - - // set credentails for the kubernernet client - SetCredentials(config, HttpClientHandler); - } - - private X509Certificate2 CaCert { get; } - - private bool SkipTlsVerify { get; } - - partial void CustomInitialize() - { -#if NET452 - ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12; -#endif - AppendDelegatingHandler(); - DeserializationSettings.Converters.Add(new V1Status.V1StatusObjectViewConverter()); - } - - private void AppendDelegatingHandler() where T : DelegatingHandler, new() - { - var cur = FirstMessageHandler as DelegatingHandler; - - while (cur != null) - { - var next = cur.InnerHandler as DelegatingHandler; - - if (next == null) - { - // last one - // append watcher handler between to last handler - cur.InnerHandler = new T - { - InnerHandler = cur.InnerHandler - }; - break; - } - - cur = next; - } - } - - /// - /// Set credentials for the Client - /// - /// k8s client configuration - /// http client handler for the rest client - /// Task - private void SetCredentials(KubernetesClientConfiguration config, HttpClientHandler handler) - { - // set the Credentails for token based auth - if (!string.IsNullOrWhiteSpace(config.AccessToken)) - { - Credentials = new TokenCredentials(config.AccessToken); - } - else if (!string.IsNullOrWhiteSpace(config.Username) && !string.IsNullOrWhiteSpace(config.Password)) - { - Credentials = new BasicAuthenticationCredentials - { - UserName = config.Username, - Password = config.Password - }; - } - // othwerwise set handler for clinet cert based auth - else if ((!string.IsNullOrWhiteSpace(config.ClientCertificateData) || - !string.IsNullOrWhiteSpace(config.ClientCertificateFilePath)) && - (!string.IsNullOrWhiteSpace(config.ClientCertificateKeyData) || - !string.IsNullOrWhiteSpace(config.ClientKeyFilePath))) - { - var cert = CertUtils.GeneratePfx(config); - -#if NET452 - ((WebRequestHandler) handler).ClientCertificates.Add(cert); -#else - handler.ClientCertificates.Add(cert); -#endif - } - } - - /// - /// SSl Cert Validation Callback - /// - /// sender - /// client certificate - /// chain - /// ssl policy errors - /// true if valid cert - [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", Justification = "Unused by design")] - public static bool CertificateValidationCallBack( - object sender, - X509Certificate2 caCert, - X509Certificate certificate, - X509Chain chain, - SslPolicyErrors sslPolicyErrors) - { - // If the certificate is a valid, signed certificate, return true. - if (sslPolicyErrors == SslPolicyErrors.None) - { - return true; - } - - // If there are errors in the certificate chain, look at each error to determine the cause. - if ((sslPolicyErrors & SslPolicyErrors.RemoteCertificateChainErrors) != 0) - { - chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck; - - // add all your extra certificate chain - chain.ChainPolicy.ExtraStore.Add(caCert); - chain.ChainPolicy.VerificationFlags = X509VerificationFlags.AllowUnknownCertificateAuthority; - var isValid = chain.Build((X509Certificate2) certificate); - return isValid; - } - - // In all other cases, return false. - return false; - } - } -} +using System; +using System.Diagnostics.CodeAnalysis; +using System.Linq; +using System.Net; +using System.Net.Http; +using System.Net.Security; +using System.Security.Cryptography.X509Certificates; +using k8s.Exceptions; +using k8s.Models; +using Microsoft.Rest; + +namespace k8s +{ + public partial class Kubernetes + { +#if MONOANDROID8_1 + /// + /// Initializes a new instance of the class. + /// + /// + /// Optional. The delegating handlers to add to the http client pipeline. + /// + /// + /// Optional. The delegating handlers to add to the http client pipeline. + /// + public Kubernetes(KubernetesClientConfiguration config, params DelegatingHandler[] handlers) : this(new Xamarin.Android.Net.AndroidClientHandler(), handlers) + { + if (string.IsNullOrWhiteSpace(config.Host)) + { + throw new KubeConfigException("Host url must be set"); + } + + try + { + BaseUri = new Uri(config.Host); + } + catch (UriFormatException e) + { + throw new KubeConfigException("Bad host url", e); + } + + CaCert = config.SslCaCert; + SkipTlsVerify = config.SkipTlsVerify; + + if (BaseUri.Scheme == "https") + { + if (config.SkipTlsVerify) + { + System.Net.ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) => + { + return true; + }; + } + else + { + if (CaCert == null) + { + throw new KubeConfigException("a CA must be set when SkipTlsVerify === false"); + } + + using (System.IO.MemoryStream certStream = new System.IO.MemoryStream(config.SslCaCert.RawData)) + { + Java.Security.Cert.Certificate cert = Java.Security.Cert.CertificateFactory.GetInstance("X509").GenerateCertificate(certStream); + Xamarin.Android.Net.AndroidClientHandler handler = (Xamarin.Android.Net.AndroidClientHandler)this.HttpClientHandler; + + handler.TrustedCerts = new System.Collections.Generic.List() + { + cert + }; + } + } + } + + // set credentails for the kubernernet client + SetCredentials(config, HttpClientHandler); + } +#else + /// + /// Initializes a new instance of the class. + /// + /// + /// Optional. The delegating handlers to add to the http client pipeline. + /// + /// + /// Optional. The delegating handlers to add to the http client pipeline. + /// + public Kubernetes(KubernetesClientConfiguration config, params DelegatingHandler[] handlers) : this(handlers) + { + if (string.IsNullOrWhiteSpace(config.Host)) + { + throw new KubeConfigException("Host url must be set"); + } + + try + { + BaseUri = new Uri(config.Host); + } + catch (UriFormatException e) + { + throw new KubeConfigException("Bad host url", e); + } + + CaCert = config.SslCaCert; + SkipTlsVerify = config.SkipTlsVerify; + + if (BaseUri.Scheme == "https") + { + if (config.SkipTlsVerify) + { +#if NET452 + ((WebRequestHandler) HttpClientHandler).ServerCertificateValidationCallback = + (sender, certificate, chain, sslPolicyErrors) => true; +#elif XAMARINIOS1_0 + System.Net.ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) => + { + return true; + }; +#else + HttpClientHandler.ServerCertificateCustomValidationCallback = + (sender, certificate, chain, sslPolicyErrors) => true; +#endif + } + else + { + if (CaCert == null) + { + throw new KubeConfigException("a CA must be set when SkipTlsVerify === false"); + } + +#if NET452 + ((WebRequestHandler) HttpClientHandler).ServerCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => + { + return Kubernetes.CertificateValidationCallBack(sender, CaCert, certificate, chain, sslPolicyErrors); + }; +#elif XAMARINIOS1_0 + System.Net.ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) => + { + var cert = new X509Certificate2(certificate); + return Kubernetes.CertificateValidationCallBack(sender, CaCert, cert, chain, sslPolicyErrors); + }; +#else + HttpClientHandler.ServerCertificateCustomValidationCallback = (sender, certificate, chain, sslPolicyErrors) => + { + return Kubernetes.CertificateValidationCallBack(sender, CaCert, certificate, chain, sslPolicyErrors); + }; +#endif + } + } + + // set credentails for the kubernernet client + SetCredentials(config, HttpClientHandler); + } +#endif + + private X509Certificate2 CaCert { get; } + + private bool SkipTlsVerify { get; } + + partial void CustomInitialize() + { +#if NET452 || XAMARINIOS1_0 || MONOANDROID8_1 + ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12; +#endif + AppendDelegatingHandler(); + DeserializationSettings.Converters.Add(new V1Status.V1StatusObjectViewConverter()); + } + + private void AppendDelegatingHandler() where T : DelegatingHandler, new() + { + var cur = FirstMessageHandler as DelegatingHandler; + + while (cur != null) + { + var next = cur.InnerHandler as DelegatingHandler; + + if (next == null) + { + // last one + // append watcher handler between to last handler + cur.InnerHandler = new T + { + InnerHandler = cur.InnerHandler + }; + break; + } + + cur = next; + } + } + + /// + /// Set credentials for the Client + /// + /// k8s client configuration + /// http client handler for the rest client + /// Task + private void SetCredentials(KubernetesClientConfiguration config, HttpClientHandler handler) + { + // set the Credentails for token based auth + if (!string.IsNullOrWhiteSpace(config.AccessToken)) + { + Credentials = new TokenCredentials(config.AccessToken); + } + else if (!string.IsNullOrWhiteSpace(config.Username) && !string.IsNullOrWhiteSpace(config.Password)) + { + Credentials = new BasicAuthenticationCredentials + { + UserName = config.Username, + Password = config.Password + }; + } + +#if XAMARINIOS1_0 || MONOANDROID8_1 + // handle.ClientCertificates is not implemented in Xamarin. + return; +#endif + + if ((!string.IsNullOrWhiteSpace(config.ClientCertificateData) || + !string.IsNullOrWhiteSpace(config.ClientCertificateFilePath)) && + (!string.IsNullOrWhiteSpace(config.ClientCertificateKeyData) || + !string.IsNullOrWhiteSpace(config.ClientKeyFilePath))) + { + var cert = CertUtils.GeneratePfx(config); + +#if NET452 + ((WebRequestHandler) handler).ClientCertificates.Add(cert); +#else + handler.ClientCertificates.Add(cert); +#endif + } + } + + /// + /// SSl Cert Validation Callback + /// + /// sender + /// client certificate + /// chain + /// ssl policy errors + /// true if valid cert + [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", Justification = "Unused by design")] + public static bool CertificateValidationCallBack( + object sender, + X509Certificate2 caCert, + X509Certificate certificate, + X509Chain chain, + SslPolicyErrors sslPolicyErrors) + { + // If the certificate is a valid, signed certificate, return true. + if (sslPolicyErrors == SslPolicyErrors.None) + { + return true; + } + + // If there are errors in the certificate chain, look at each error to determine the cause. + if ((sslPolicyErrors & SslPolicyErrors.RemoteCertificateChainErrors) != 0) + { + chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck; + + // add all your extra certificate chain + chain.ChainPolicy.ExtraStore.Add(caCert); + chain.ChainPolicy.VerificationFlags = X509VerificationFlags.AllowUnknownCertificateAuthority; + var isValid = chain.Build((X509Certificate2)certificate); + + var rootCert = chain.ChainElements[chain.ChainElements.Count - 1].Certificate; + isValid = isValid && rootCert.RawData.SequenceEqual(caCert.RawData); + + return isValid; + } + + // In all other cases, return false. + return false; + } + } +} diff --git a/src/KubernetesClient/Kubernetes.Watch.cs b/src/KubernetesClient/Kubernetes.Watch.cs index ed824d079..9ecf56e0c 100644 --- a/src/KubernetesClient/Kubernetes.Watch.cs +++ b/src/KubernetesClient/Kubernetes.Watch.cs @@ -13,7 +13,7 @@ namespace k8s public partial class Kubernetes { /// - public async Task> WatchObjectAsync(string path, string @continue = null, string fieldSelector = null, bool? includeUninitialized = null, string labelSelector = null, int? limit = null, bool? pretty = null, int? timeoutSeconds = null, string resourceVersion = null, Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> WatchObjectAsync(string path, string @continue = null, string fieldSelector = null, bool? includeUninitialized = null, string labelSelector = null, int? limit = null, bool? pretty = null, int? timeoutSeconds = null, string resourceVersion = null, Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -152,7 +152,7 @@ public partial class Kubernetes var stream = await httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); StreamReader reader = new StreamReader(stream); - return new Watcher(reader, onEvent, onError); + return new Watcher(reader, onEvent, onError, onClosed); } } } diff --git a/src/KubernetesClient/Kubernetes.WebSocket.cs b/src/KubernetesClient/Kubernetes.WebSocket.cs index f27f85705..7b246769e 100644 --- a/src/KubernetesClient/Kubernetes.WebSocket.cs +++ b/src/KubernetesClient/Kubernetes.WebSocket.cs @@ -269,7 +269,7 @@ public partial class Kubernetes if (webSocketSubProtocol != null) { - webSocketBuilder.Options.RequestedSubProtocols.Add(webSocketSubProtocol); + webSocketBuilder.Options.AddSubProtocol(webSocketSubProtocol); } #endif // NETCOREAPP2_1 diff --git a/src/KubernetesClient/KubernetesClient.csproj b/src/KubernetesClient/KubernetesClient.csproj index 0d1117f15..b9af67202 100644 --- a/src/KubernetesClient/KubernetesClient.csproj +++ b/src/KubernetesClient/KubernetesClient.csproj @@ -1,4 +1,4 @@ - + The Kubernetes Project Authors 2017 The Kubernetes Project Authors @@ -9,7 +9,7 @@ https://raw.githubusercontent.com/kubernetes/kubernetes/master/logo/logo.png kubernetes;docker;containers; - netstandard1.4;net452;netcoreapp2.1 + netstandard1.4;net452;netcoreapp2.1;xamarinios10;monoandroid81 netstandard1.4;netcoreapp2.1 k8s true @@ -22,9 +22,9 @@ - + @@ -35,4 +35,15 @@ - + + + + + + + + + + + + \ No newline at end of file diff --git a/src/KubernetesClient/KubernetesClientConfiguration.ConfigFile.cs b/src/KubernetesClient/KubernetesClientConfiguration.ConfigFile.cs index ecdd85d63..25eb05e14 100644 --- a/src/KubernetesClient/KubernetesClientConfiguration.ConfigFile.cs +++ b/src/KubernetesClient/KubernetesClientConfiguration.ConfigFile.cs @@ -1,364 +1,413 @@ -using System; -using System.IO; -using System.Linq; -using System.Runtime.InteropServices; -using System.Security.Cryptography.X509Certificates; -using System.Threading.Tasks; -using k8s.Exceptions; -using k8s.KubeConfigModels; - -namespace k8s -{ - public partial class KubernetesClientConfiguration - { - /// - /// kubeconfig Default Location - /// - private static readonly string KubeConfigDefaultLocation = - RuntimeInformation.IsOSPlatform(OSPlatform.Windows) - ? Path.Combine(Environment.GetEnvironmentVariable("USERPROFILE"), @".kube\config") - : Path.Combine(Environment.GetEnvironmentVariable("HOME"), ".kube/config"); - - /// - /// Gets CurrentContext - /// - public string CurrentContext { get; private set; } - - /// - /// Initializes a new instance of the from config file - /// - /// kube api server endpoint +using System; +using System.IO; +using System.Linq; +using System.Runtime.InteropServices; +using System.Security.Cryptography.X509Certificates; +using System.Threading.Tasks; +using k8s.Exceptions; +using k8s.KubeConfigModels; + +namespace k8s +{ + public partial class KubernetesClientConfiguration + { + /// + /// kubeconfig Default Location + /// + private static readonly string KubeConfigDefaultLocation = + RuntimeInformation.IsOSPlatform(OSPlatform.Windows) + ? Path.Combine(Environment.GetEnvironmentVariable("USERPROFILE"), @".kube\config") + : Path.Combine(Environment.GetEnvironmentVariable("HOME"), ".kube/config"); + + /// + /// Gets CurrentContext + /// + public string CurrentContext { get; private set; } + + /// + /// Initializes a new instance of the from config file + /// + /// kube api server endpoint /// Explicit file path to kubeconfig. Set to null to use the default file path /// When , the paths in the kubeconfig file will be considered to be relative to the directory in which the kubeconfig - /// file is located. When , the paths will be considered to be relative to the current working directory. - public static KubernetesClientConfiguration BuildConfigFromConfigFile(string kubeconfigPath = null, - string currentContext = null, string masterUrl = null, bool useRelativePaths = true) - { - return BuildConfigFromConfigFile(new FileInfo(kubeconfigPath ?? KubeConfigDefaultLocation), null, - masterUrl, useRelativePaths); - } - - /// - /// - /// Fileinfo of the kubeconfig, cannot be null - /// override the context in config file, set null if do not want to override + /// file is located. When , the paths will be considered to be relative to the current working directory. + public static KubernetesClientConfiguration BuildConfigFromConfigFile(string kubeconfigPath = null, + string currentContext = null, string masterUrl = null, bool useRelativePaths = true) + { + return BuildConfigFromConfigFile(new FileInfo(kubeconfigPath ?? KubeConfigDefaultLocation), null, + masterUrl, useRelativePaths); + } + + /// + /// Initializes a new instance of the from config file + /// + /// Fileinfo of the kubeconfig, cannot be null + /// override the context in config file, set null if do not want to override /// override the kube api server endpoint, set null if do not want to override /// When , the paths in the kubeconfig file will be considered to be relative to the directory in which the kubeconfig - /// file is located. When , the paths will be considered to be relative to the current working directory. - public static KubernetesClientConfiguration BuildConfigFromConfigFile(FileInfo kubeconfig, - string currentContext = null, string masterUrl = null, bool useRelativePaths = true) - { - if (kubeconfig == null) - { - throw new NullReferenceException(nameof(kubeconfig)); - } - - var k8SConfig = LoadKubeConfig(kubeconfig, useRelativePaths); - var k8SConfiguration = GetKubernetesClientConfiguration(currentContext, masterUrl, k8SConfig); - - return k8SConfiguration; - } - - /// - /// - /// Fileinfo of the kubeconfig, cannot be null, whitespaced or empty - /// override the context in config file, set null if do not want to override - /// overrider kube api server endpoint, set null if do not want to override - public static KubernetesClientConfiguration BuildConfigFromConfigFile(Stream kubeconfig, - string currentContext = null, string masterUrl = null) - { - if (kubeconfig == null) - { - throw new NullReferenceException(nameof(kubeconfig)); - } - - if (!kubeconfig.CanSeek) - { - throw new Exception("Stream don't support seeking!"); - } - - kubeconfig.Position = 0; - - var k8SConfig = Yaml.LoadFromStreamAsync(kubeconfig).GetAwaiter().GetResult(); - var k8SConfiguration = GetKubernetesClientConfiguration(currentContext, masterUrl, k8SConfig); - - return k8SConfiguration; - } - - private static KubernetesClientConfiguration GetKubernetesClientConfiguration(string currentContext, string masterUrl, K8SConfiguration k8SConfig) - { - var k8SConfiguration = new KubernetesClientConfiguration(); - - currentContext = currentContext ?? k8SConfig.CurrentContext; - // only init context if context if set - if (currentContext != null) - { - k8SConfiguration.InitializeContext(k8SConfig, currentContext); - } - if (!string.IsNullOrWhiteSpace(masterUrl)) - { - k8SConfiguration.Host = masterUrl; - } - - if (string.IsNullOrWhiteSpace(k8SConfiguration.Host)) - { - throw new KubeConfigException("Cannot infer server host url either from context or masterUrl"); - } - - return k8SConfiguration; - } - - /// - /// Validates and Intializes Client Configuration - /// - /// Kubernetes Configuration - /// Current Context - private void InitializeContext(K8SConfiguration k8SConfig, string currentContext) - { - // current context - var activeContext = - k8SConfig.Contexts.FirstOrDefault( - c => c.Name.Equals(currentContext, StringComparison.OrdinalIgnoreCase)); - if (activeContext == null) - { - throw new KubeConfigException($"CurrentContext: {currentContext} not found in contexts in kubeconfig"); - } - - CurrentContext = activeContext.Name; - - // cluster - SetClusterDetails(k8SConfig, activeContext); - - // user - SetUserDetails(k8SConfig, activeContext); - - // namespace - Namespace = activeContext.Namespace; - } - - private void SetClusterDetails(K8SConfiguration k8SConfig, Context activeContext) - { - var clusterDetails = - k8SConfig.Clusters.FirstOrDefault(c => c.Name.Equals(activeContext.ContextDetails.Cluster, - StringComparison.OrdinalIgnoreCase)); - - if (clusterDetails?.ClusterEndpoint == null) - { - throw new KubeConfigException($"Cluster not found for context {activeContext} in kubeconfig"); - } - - if (string.IsNullOrWhiteSpace(clusterDetails.ClusterEndpoint.Server)) - { - throw new KubeConfigException($"Server not found for current-context {activeContext} in kubeconfig"); - } - Host = clusterDetails.ClusterEndpoint.Server; - - SkipTlsVerify = clusterDetails.ClusterEndpoint.SkipTlsVerify; - - try - { - var uri = new Uri(Host); - if (uri.Scheme == "https") - { - // check certificate for https - if (!clusterDetails.ClusterEndpoint.SkipTlsVerify && - string.IsNullOrWhiteSpace(clusterDetails.ClusterEndpoint.CertificateAuthorityData) && - string.IsNullOrWhiteSpace(clusterDetails.ClusterEndpoint.CertificateAuthority)) - { - throw new KubeConfigException( - $"neither certificate-authority-data nor certificate-authority not found for current-context :{activeContext} in kubeconfig"); - } - - if (!string.IsNullOrEmpty(clusterDetails.ClusterEndpoint.CertificateAuthorityData)) - { - var data = clusterDetails.ClusterEndpoint.CertificateAuthorityData; - SslCaCert = new X509Certificate2(Convert.FromBase64String(data)); - } - else if (!string.IsNullOrEmpty(clusterDetails.ClusterEndpoint.CertificateAuthority)) - { - SslCaCert = new X509Certificate2(GetFullPath(k8SConfig, clusterDetails.ClusterEndpoint.CertificateAuthority)); - } - } - } - catch (UriFormatException e) - { - throw new KubeConfigException("Bad Server host url", e); - } - } - - private void SetUserDetails(K8SConfiguration k8SConfig, Context activeContext) - { - if (string.IsNullOrWhiteSpace(activeContext.ContextDetails.User)) - { - return; - } - - var userDetails = k8SConfig.Users.FirstOrDefault(c => c.Name.Equals(activeContext.ContextDetails.User, - StringComparison.OrdinalIgnoreCase)); - - if (userDetails == null) - { - throw new KubeConfigException("User not found for context {activeContext.Name} in kubeconfig"); - } - - if (userDetails.UserCredentials == null) - { - throw new KubeConfigException($"User credentials not found for user: {userDetails.Name} in kubeconfig"); - } - - var userCredentialsFound = false; - - // Basic and bearer tokens are mutually exclusive - if (!string.IsNullOrWhiteSpace(userDetails.UserCredentials.Token)) - { - AccessToken = userDetails.UserCredentials.Token; - userCredentialsFound = true; - } - else if (!string.IsNullOrWhiteSpace(userDetails.UserCredentials.UserName) && - !string.IsNullOrWhiteSpace(userDetails.UserCredentials.Password)) - { - Username = userDetails.UserCredentials.UserName; - Password = userDetails.UserCredentials.Password; - userCredentialsFound = true; - } - - // Token and cert based auth can co-exist - if (!string.IsNullOrWhiteSpace(userDetails.UserCredentials.ClientCertificateData) && - !string.IsNullOrWhiteSpace(userDetails.UserCredentials.ClientKeyData)) - { - ClientCertificateData = userDetails.UserCredentials.ClientCertificateData; - ClientCertificateKeyData = userDetails.UserCredentials.ClientKeyData; - userCredentialsFound = true; - } - - if (!string.IsNullOrWhiteSpace(userDetails.UserCredentials.ClientCertificate) && - !string.IsNullOrWhiteSpace(userDetails.UserCredentials.ClientKey)) - { - ClientCertificateFilePath = GetFullPath(k8SConfig, userDetails.UserCredentials.ClientCertificate); - ClientKeyFilePath = GetFullPath(k8SConfig, userDetails.UserCredentials.ClientKey); - userCredentialsFound = true; - } - - if (!userCredentialsFound) - { - throw new KubeConfigException( - $"User: {userDetails.Name} does not have appropriate auth credentials in kubeconfig"); - } - } - - /// - /// Loads entire Kube Config from default or explicit file path - /// + /// file is located. When , the paths will be considered to be relative to the current working directory. + public static KubernetesClientConfiguration BuildConfigFromConfigFile(FileInfo kubeconfig, + string currentContext = null, string masterUrl = null, bool useRelativePaths = true) + { + if (kubeconfig == null) + { + throw new NullReferenceException(nameof(kubeconfig)); + } + + var k8SConfig = LoadKubeConfig(kubeconfig, useRelativePaths); + var k8SConfiguration = GetKubernetesClientConfiguration(currentContext, masterUrl, k8SConfig); + + return k8SConfiguration; + } + + /// + /// Initializes a new instance of the from config file + /// + /// Stream of the kubeconfig, cannot be null + /// Override the current context in config, set null if do not want to override + /// Override the Kubernetes API server endpoint, set null if do not want to override + public static KubernetesClientConfiguration BuildConfigFromConfigFile(Stream kubeconfig, + string currentContext = null, string masterUrl = null) + { + if (kubeconfig == null) + { + throw new NullReferenceException(nameof(kubeconfig)); + } + + if (!kubeconfig.CanSeek) + { + throw new Exception("Stream don't support seeking!"); + } + + kubeconfig.Position = 0; + + var k8SConfig = Yaml.LoadFromStreamAsync(kubeconfig).GetAwaiter().GetResult(); + var k8SConfiguration = GetKubernetesClientConfiguration(currentContext, masterUrl, k8SConfig); + + return k8SConfiguration; + } + + /// + /// Initializes a new instance of from pre-loaded config object. + /// + /// A , for example loaded from + /// Override the current context in config, set null if do not want to override + /// Override the Kubernetes API server endpoint, set null if do not want to override + public static KubernetesClientConfiguration BuildConfigFromConfigObject(K8SConfiguration k8SConfig, string currentContext = null, string masterUrl = null) + => GetKubernetesClientConfiguration(currentContext, masterUrl, k8SConfig); + + private static KubernetesClientConfiguration GetKubernetesClientConfiguration(string currentContext, string masterUrl, K8SConfiguration k8SConfig) + { + var k8SConfiguration = new KubernetesClientConfiguration(); + + currentContext = currentContext ?? k8SConfig.CurrentContext; + // only init context if context if set + if (currentContext != null) + { + k8SConfiguration.InitializeContext(k8SConfig, currentContext); + } + if (!string.IsNullOrWhiteSpace(masterUrl)) + { + k8SConfiguration.Host = masterUrl; + } + + if (string.IsNullOrWhiteSpace(k8SConfiguration.Host)) + { + throw new KubeConfigException("Cannot infer server host url either from context or masterUrl"); + } + + return k8SConfiguration; + } + + /// + /// Validates and Intializes Client Configuration + /// + /// Kubernetes Configuration + /// Current Context + private void InitializeContext(K8SConfiguration k8SConfig, string currentContext) + { + // current context + var activeContext = + k8SConfig.Contexts.FirstOrDefault( + c => c.Name.Equals(currentContext, StringComparison.OrdinalIgnoreCase)); + if (activeContext == null) + { + throw new KubeConfigException($"CurrentContext: {currentContext} not found in contexts in kubeconfig"); + } + + CurrentContext = activeContext.Name; + + // cluster + SetClusterDetails(k8SConfig, activeContext); + + // user + SetUserDetails(k8SConfig, activeContext); + + // namespace + Namespace = activeContext.Namespace; + } + + private void SetClusterDetails(K8SConfiguration k8SConfig, Context activeContext) + { + var clusterDetails = + k8SConfig.Clusters.FirstOrDefault(c => c.Name.Equals(activeContext.ContextDetails.Cluster, + StringComparison.OrdinalIgnoreCase)); + + if (clusterDetails?.ClusterEndpoint == null) + { + throw new KubeConfigException($"Cluster not found for context {activeContext} in kubeconfig"); + } + + if (string.IsNullOrWhiteSpace(clusterDetails.ClusterEndpoint.Server)) + { + throw new KubeConfigException($"Server not found for current-context {activeContext} in kubeconfig"); + } + Host = clusterDetails.ClusterEndpoint.Server; + + SkipTlsVerify = clusterDetails.ClusterEndpoint.SkipTlsVerify; + + try + { + var uri = new Uri(Host); + if (uri.Scheme == "https") + { + // check certificate for https + if (!clusterDetails.ClusterEndpoint.SkipTlsVerify && + string.IsNullOrWhiteSpace(clusterDetails.ClusterEndpoint.CertificateAuthorityData) && + string.IsNullOrWhiteSpace(clusterDetails.ClusterEndpoint.CertificateAuthority)) + { + throw new KubeConfigException( + $"neither certificate-authority-data nor certificate-authority not found for current-context :{activeContext} in kubeconfig"); + } + + if (!string.IsNullOrEmpty(clusterDetails.ClusterEndpoint.CertificateAuthorityData)) + { + var data = clusterDetails.ClusterEndpoint.CertificateAuthorityData; + SslCaCert = new X509Certificate2(Convert.FromBase64String(data)); + } + else if (!string.IsNullOrEmpty(clusterDetails.ClusterEndpoint.CertificateAuthority)) + { + SslCaCert = new X509Certificate2(GetFullPath(k8SConfig, clusterDetails.ClusterEndpoint.CertificateAuthority)); + } + } + } + catch (UriFormatException e) + { + throw new KubeConfigException("Bad Server host url", e); + } + } + + private void SetUserDetails(K8SConfiguration k8SConfig, Context activeContext) + { + if (string.IsNullOrWhiteSpace(activeContext.ContextDetails.User)) + { + return; + } + + var userDetails = k8SConfig.Users.FirstOrDefault(c => c.Name.Equals(activeContext.ContextDetails.User, + StringComparison.OrdinalIgnoreCase)); + + if (userDetails == null) + { + throw new KubeConfigException("User not found for context {activeContext.Name} in kubeconfig"); + } + + if (userDetails.UserCredentials == null) + { + throw new KubeConfigException($"User credentials not found for user: {userDetails.Name} in kubeconfig"); + } + + var userCredentialsFound = false; + + // Basic and bearer tokens are mutually exclusive + if (!string.IsNullOrWhiteSpace(userDetails.UserCredentials.Token)) + { + AccessToken = userDetails.UserCredentials.Token; + userCredentialsFound = true; + } + else if (!string.IsNullOrWhiteSpace(userDetails.UserCredentials.UserName) && + !string.IsNullOrWhiteSpace(userDetails.UserCredentials.Password)) + { + Username = userDetails.UserCredentials.UserName; + Password = userDetails.UserCredentials.Password; + userCredentialsFound = true; + } + + // Token and cert based auth can co-exist + if (!string.IsNullOrWhiteSpace(userDetails.UserCredentials.ClientCertificateData) && + !string.IsNullOrWhiteSpace(userDetails.UserCredentials.ClientKeyData)) + { + ClientCertificateData = userDetails.UserCredentials.ClientCertificateData; + ClientCertificateKeyData = userDetails.UserCredentials.ClientKeyData; + userCredentialsFound = true; + } + + if (!string.IsNullOrWhiteSpace(userDetails.UserCredentials.ClientCertificate) && + !string.IsNullOrWhiteSpace(userDetails.UserCredentials.ClientKey)) + { + ClientCertificateFilePath = GetFullPath(k8SConfig, userDetails.UserCredentials.ClientCertificate); + ClientKeyFilePath = GetFullPath(k8SConfig, userDetails.UserCredentials.ClientKey); + userCredentialsFound = true; + } + + if (userDetails.UserCredentials.AuthProvider != null) + { + if (userDetails.UserCredentials.AuthProvider.Name == "azure" && + userDetails.UserCredentials.AuthProvider.Config != null && + userDetails.UserCredentials.AuthProvider.Config.ContainsKey("access-token")) + { + var config = userDetails.UserCredentials.AuthProvider.Config; + if (config.ContainsKey("expires-on")) + { + var expiresOn = Int32.Parse(config["expires-on"]); + DateTimeOffset expires; +#if NET452 + var epoch = new DateTimeOffset(1970, 1, 1, 0, 0, 0, TimeSpan.Zero); + expires = epoch.AddSeconds(expiresOn); +#else + expires = DateTimeOffset.FromUnixTimeSeconds(expiresOn); +#endif + + if (DateTimeOffset.Compare(expires, DateTimeOffset.Now) <= 0) + { + var tenantId = config["tenant-id"]; + var clientId = config["client-id"]; + var apiServerId = config["apiserver-id"]; + var refresh = config["refresh-token"]; + var newToken = RenewAzureToken(tenantId, clientId, apiServerId, refresh); + config["access-token"] = newToken; + } + } + AccessToken = config["access-token"]; + userCredentialsFound = true; + } + } + + if (!userCredentialsFound) + { + throw new KubeConfigException( + $"User: {userDetails.Name} does not have appropriate auth credentials in kubeconfig"); + } + } + + public static string RenewAzureToken(string tenantId, string clientId, string apiServerId, string refresh) + { + throw new KubeConfigException("Refresh not supported."); + } + + /// + /// Loads entire Kube Config from default or explicit file path + /// /// Explicit file path to kubeconfig. Set to null to use the default file path /// When , the paths in the kubeconfig file will be considered to be relative to the directory in which the kubeconfig - /// file is located. When , the paths will be considered to be relative to the current working directory. - /// Instance of the class - public static async Task LoadKubeConfigAsync(string kubeconfigPath = null, bool useRelativePaths = true) - { - var fileInfo = new FileInfo(kubeconfigPath ?? KubeConfigDefaultLocation); - - return await LoadKubeConfigAsync(fileInfo, useRelativePaths); - } - - /// - /// Loads entire Kube Config from default or explicit file path - /// + /// file is located. When , the paths will be considered to be relative to the current working directory. + /// Instance of the class + public static async Task LoadKubeConfigAsync(string kubeconfigPath = null, bool useRelativePaths = true) + { + var fileInfo = new FileInfo(kubeconfigPath ?? KubeConfigDefaultLocation); + + return await LoadKubeConfigAsync(fileInfo, useRelativePaths); + } + + /// + /// Loads entire Kube Config from default or explicit file path + /// /// Explicit file path to kubeconfig. Set to null to use the default file path /// When , the paths in the kubeconfig file will be considered to be relative to the directory in which the kubeconfig - /// file is located. When , the paths will be considered to be relative to the current working directory. - /// Instance of the class - public static K8SConfiguration LoadKubeConfig(string kubeconfigPath = null, bool useRelativePaths = true) - { - return LoadKubeConfigAsync(kubeconfigPath, useRelativePaths).GetAwaiter().GetResult(); - } - - // - /// Loads Kube Config - /// + /// file is located. When , the paths will be considered to be relative to the current working directory. + /// Instance of the class + public static K8SConfiguration LoadKubeConfig(string kubeconfigPath = null, bool useRelativePaths = true) + { + return LoadKubeConfigAsync(kubeconfigPath, useRelativePaths).GetAwaiter().GetResult(); + } + + // + /// Loads Kube Config + /// /// Kube config file contents /// When , the paths in the kubeconfig file will be considered to be relative to the directory in which the kubeconfig - /// file is located. When , the paths will be considered to be relative to the current working directory. - /// Instance of the class - public static async Task LoadKubeConfigAsync(FileInfo kubeconfig, bool useRelativePaths = true) - { - if (!kubeconfig.Exists) - { - throw new KubeConfigException($"kubeconfig file not found at {kubeconfig.FullName}"); - } - - using (var stream = kubeconfig.OpenRead()) - { + /// file is located. When , the paths will be considered to be relative to the current working directory. + /// Instance of the class + public static async Task LoadKubeConfigAsync(FileInfo kubeconfig, bool useRelativePaths = true) + { + if (!kubeconfig.Exists) + { + throw new KubeConfigException($"kubeconfig file not found at {kubeconfig.FullName}"); + } + + using (var stream = kubeconfig.OpenRead()) + { var config = await Yaml.LoadFromStreamAsync(stream); if (useRelativePaths) { config.FileName = kubeconfig.FullName; } - - return config; - } - } - - /// - /// Loads Kube Config - /// + + return config; + } + } + + /// + /// Loads Kube Config + /// /// Kube config file contents /// When , the paths in the kubeconfig file will be considered to be relative to the directory in which the kubeconfig - /// file is located. When , the paths will be considered to be relative to the current working directory. - /// Instance of the class - public static K8SConfiguration LoadKubeConfig(FileInfo kubeconfig, bool useRelativePaths = true) - { - return LoadKubeConfigAsync(kubeconfig, useRelativePaths).GetAwaiter().GetResult(); - } - - // - /// Loads Kube Config - /// - /// Kube config file contents stream - /// Instance of the class - public static async Task LoadKubeConfigAsync(Stream kubeconfigStream) - { - return await Yaml.LoadFromStreamAsync(kubeconfigStream); - } - - /// - /// Loads Kube Config - /// - /// Kube config file contents stream - /// Instance of the class - public static K8SConfiguration LoadKubeConfig(Stream kubeconfigStream) - { - return LoadKubeConfigAsync(kubeconfigStream).GetAwaiter().GetResult(); - } - - /// - /// Tries to get the full path to a file referenced from the Kubernetes configuration. - /// - /// - /// The Kubernetes configuration. - /// - /// - /// The path to resolve. - /// - /// - /// When possible a fully qualified path to the file. - /// - /// - /// For example, if the configuration file is at "C:\Users\me\kube.config" and path is "ca.crt", - /// this will return "C:\Users\me\ca.crt". Similarly, if path is "D:\ca.cart", this will return - /// "D:\ca.crt". - /// - private static string GetFullPath(K8SConfiguration configuration, string path) - { - // If we don't have a file name, - if (string.IsNullOrWhiteSpace(configuration.FileName) || Path.IsPathRooted(path)) - { - return path; - } - else - { - return Path.Combine(Path.GetDirectoryName(configuration.FileName), path); - } - } - } -} + /// file is located. When , the paths will be considered to be relative to the current working directory. + /// Instance of the class + public static K8SConfiguration LoadKubeConfig(FileInfo kubeconfig, bool useRelativePaths = true) + { + return LoadKubeConfigAsync(kubeconfig, useRelativePaths).GetAwaiter().GetResult(); + } + + // + /// Loads Kube Config + /// + /// Kube config file contents stream + /// Instance of the class + public static async Task LoadKubeConfigAsync(Stream kubeconfigStream) + { + return await Yaml.LoadFromStreamAsync(kubeconfigStream); + } + + /// + /// Loads Kube Config + /// + /// Kube config file contents stream + /// Instance of the class + public static K8SConfiguration LoadKubeConfig(Stream kubeconfigStream) + { + return LoadKubeConfigAsync(kubeconfigStream).GetAwaiter().GetResult(); + } + + /// + /// Tries to get the full path to a file referenced from the Kubernetes configuration. + /// + /// + /// The Kubernetes configuration. + /// + /// + /// The path to resolve. + /// + /// + /// When possible a fully qualified path to the file. + /// + /// + /// For example, if the configuration file is at "C:\Users\me\kube.config" and path is "ca.crt", + /// this will return "C:\Users\me\ca.crt". Similarly, if path is "D:\ca.cart", this will return + /// "D:\ca.crt". + /// + private static string GetFullPath(K8SConfiguration configuration, string path) + { + // If we don't have a file name, + if (string.IsNullOrWhiteSpace(configuration.FileName) || Path.IsPathRooted(path)) + { + return path; + } + else + { + return Path.Combine(Path.GetDirectoryName(configuration.FileName), path); + } + } + } +} diff --git a/src/KubernetesClient/KubernetesClientConfiguration.InCluster.cs b/src/KubernetesClient/KubernetesClientConfiguration.InCluster.cs index de4889bad..d65876397 100644 --- a/src/KubernetesClient/KubernetesClientConfiguration.InCluster.cs +++ b/src/KubernetesClient/KubernetesClientConfiguration.InCluster.cs @@ -1,35 +1,35 @@ -using System; -using System.IO; -using k8s.Exceptions; - -namespace k8s -{ - public partial class KubernetesClientConfiguration - { - private const string ServiceaccountPath = "/var/run/secrets/kubernetes.io/serviceaccount/"; - private const string ServiceAccountTokenKeyFileName = "token"; - private const string ServiceAccountRootCAKeyFileName = "ca.crt"; - - public static KubernetesClientConfiguration InClusterConfig() - { - var host = Environment.GetEnvironmentVariable("KUBERNETES_SERVICE_HOST"); - var port = Environment.GetEnvironmentVariable("KUBERNETES_SERVICE_PORT"); - - if (string.IsNullOrWhiteSpace(host) || string.IsNullOrWhiteSpace(port)) - { - throw new KubeConfigException( - "unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined"); - } - - var token = File.ReadAllText(Path.Combine(ServiceaccountPath, ServiceAccountTokenKeyFileName)); - var rootCAFile = Path.Combine(ServiceaccountPath, ServiceAccountRootCAKeyFileName); - - return new KubernetesClientConfiguration - { - Host = new UriBuilder("https", host, Convert.ToInt32(port)).ToString(), - AccessToken = token, - SslCaCert = CertUtils.LoadPemFileCert(rootCAFile) - }; - } - } +using System; +using System.IO; +using k8s.Exceptions; + +namespace k8s +{ + public partial class KubernetesClientConfiguration + { + private const string ServiceaccountPath = "/var/run/secrets/kubernetes.io/serviceaccount/"; + private const string ServiceAccountTokenKeyFileName = "token"; + private const string ServiceAccountRootCAKeyFileName = "ca.crt"; + + public static KubernetesClientConfiguration InClusterConfig() + { + var host = Environment.GetEnvironmentVariable("KUBERNETES_SERVICE_HOST"); + var port = Environment.GetEnvironmentVariable("KUBERNETES_SERVICE_PORT"); + + if (string.IsNullOrWhiteSpace(host) || string.IsNullOrWhiteSpace(port)) + { + throw new KubeConfigException( + "unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined"); + } + + var token = File.ReadAllText(Path.Combine(ServiceaccountPath, ServiceAccountTokenKeyFileName)); + var rootCAFile = Path.Combine(ServiceaccountPath, ServiceAccountRootCAKeyFileName); + + return new KubernetesClientConfiguration + { + Host = new UriBuilder("https", host, Convert.ToInt32(port)).ToString(), + AccessToken = token, + SslCaCert = CertUtils.LoadPemFileCert(rootCAFile) + }; + } + } } diff --git a/src/KubernetesClient/KubernetesClientConfiguration.cs b/src/KubernetesClient/KubernetesClientConfiguration.cs index c7b11378d..eb611d79f 100644 --- a/src/KubernetesClient/KubernetesClientConfiguration.cs +++ b/src/KubernetesClient/KubernetesClientConfiguration.cs @@ -1,74 +1,74 @@ -using System.Security.Cryptography.X509Certificates; - -namespace k8s -{ - /// - /// Represents a set of kubernetes client configuration settings - /// - public partial class KubernetesClientConfiguration - { - /// - /// Gets current namespace - /// - public string Namespace { get; set; } - - /// - /// Gets Host - /// - public string Host { get; set; } - - /// - /// Gets SslCaCert - /// - public X509Certificate2 SslCaCert { get; set; } - - /// - /// Gets ClientCertificateData - /// - public string ClientCertificateData { get; set; } - - /// - /// Gets ClientCertificate Key - /// - public string ClientCertificateKeyData { get; set; } - - /// - /// Gets ClientCertificate filename - /// - public string ClientCertificateFilePath { get; set; } - - /// - /// Gets ClientCertificate Key filename - /// - public string ClientKeyFilePath { get; set; } - - /// - /// Gets a value indicating whether to skip ssl server cert validation - /// - public bool SkipTlsVerify { get; set; } - - /// - /// Gets or sets the HTTP user agent. - /// - /// Http user agent. - public string UserAgent { get; set; } - - /// - /// Gets or sets the username (HTTP basic authentication). - /// - /// The username. - public string Username { get; set; } - - /// - /// Gets or sets the password (HTTP basic authentication). - /// - /// The password. - public string Password { get; set; } - - /// - /// Gets or sets the access token for OAuth2 authentication. - /// - /// The access token. - public string AccessToken { get; set; } - } -} +using System.Security.Cryptography.X509Certificates; + +namespace k8s +{ + /// + /// Represents a set of kubernetes client configuration settings + /// + public partial class KubernetesClientConfiguration + { + /// + /// Gets current namespace + /// + public string Namespace { get; set; } + + /// + /// Gets Host + /// + public string Host { get; set; } + + /// + /// Gets SslCaCert + /// + public X509Certificate2 SslCaCert { get; set; } + + /// + /// Gets ClientCertificateData + /// + public string ClientCertificateData { get; set; } + + /// + /// Gets ClientCertificate Key + /// + public string ClientCertificateKeyData { get; set; } + + /// + /// Gets ClientCertificate filename + /// + public string ClientCertificateFilePath { get; set; } + + /// + /// Gets ClientCertificate Key filename + /// + public string ClientKeyFilePath { get; set; } + + /// + /// Gets a value indicating whether to skip ssl server cert validation + /// + public bool SkipTlsVerify { get; set; } + + /// + /// Gets or sets the HTTP user agent. + /// + /// Http user agent. + public string UserAgent { get; set; } + + /// + /// Gets or sets the username (HTTP basic authentication). + /// + /// The username. + public string Username { get; set; } + + /// + /// Gets or sets the password (HTTP basic authentication). + /// + /// The password. + public string Password { get; set; } + + /// + /// Gets or sets the access token for OAuth2 authentication. + /// + /// The access token. + public string AccessToken { get; set; } + } +} diff --git a/src/KubernetesClient/KubernetesObject.cs b/src/KubernetesClient/KubernetesObject.cs index 8feb1fba9..d7994d5ab 100644 --- a/src/KubernetesClient/KubernetesObject.cs +++ b/src/KubernetesClient/KubernetesObject.cs @@ -9,7 +9,7 @@ namespace k8s /// You can use the if you receive JSON from a Kubernetes API server but /// are unsure which object the API server is about to return. You can parse the JSON as a /// and use the and properties to get basic metadata about any Kubernetes object. - /// You can then + /// You can then /// public class KubernetesObject : IKubernetesObject { diff --git a/src/KubernetesClient/ResourceQuantity.cs b/src/KubernetesClient/ResourceQuantity.cs index af4fe47cf..8e4b690da 100644 --- a/src/KubernetesClient/ResourceQuantity.cs +++ b/src/KubernetesClient/ResourceQuantity.cs @@ -1,183 +1,183 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Numerics; -using Fractions; -using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using Fractions; +using Newtonsoft.Json; using YamlDotNet.Core; using YamlDotNet.Core.Events; using YamlDotNet.Serialization; -namespace k8s.Models -{ - internal class QuantityConverter : JsonConverter - { - public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) - { - var q = (ResourceQuantity)value; - - if (q != null) - { - serializer.Serialize(writer, q.ToString()); - return; - } - - serializer.Serialize(writer, value); - } - - public override object ReadJson(JsonReader reader, Type objectType, object existingValue, - JsonSerializer serializer) - { - return new ResourceQuantity(serializer.Deserialize(reader)); - } - - public override bool CanConvert(Type objectType) - { - return objectType == typeof(string); - } - } - - /// - /// port https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go to c# - /// Quantity is a fixed-point representation of a number. - /// It provides convenient marshaling/unmarshaling in JSON and YAML, - /// in addition to String() and Int64() accessors. - /// The serialization format is: - /// quantity ::= signedNumber suffix - /// (Note that suffix may be empty, from the "" case in decimalSI.) - /// digit ::= 0 | 1 | ... | 9 - /// digits ::= digit | digitdigits - /// number ::= digits | digits.digits | digits. | .digits - /// sign ::= "+" | "-" - /// signedNumber ::= number | signnumber - /// suffix ::= binarySI | decimalExponent | decimalSI - /// binarySI ::= Ki | Mi | Gi | Ti | Pi | Ei - /// (International System of units; See: http:///physics.nist.gov/cuu/Units/binary.html) - /// decimalSI ::= m | "" | k | M | G | T | P | E - /// (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) - /// decimalExponent ::= "e" signedNumber | "E" signedNumber - /// No matter which of the three exponent forms is used, no quantity may represent - /// a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal - /// places. Numbers larger or more precise will be capped or rounded up. - /// (E.g.: 0.1m will rounded up to 1m.) - /// This may be extended in the future if we require larger or smaller quantities. - /// When a Quantity is parsed from a string, it will remember the type of suffix - /// it had, and will use the same type again when it is serialized. - /// Before serializing, Quantity will be put in "canonical form". - /// This means that Exponent/suffix will be adjusted up or down (with a - /// corresponding increase or decrease in Mantissa) such that: - /// a. No precision is lost - /// b. No fractional digits will be emitted - /// c. The exponent (or suffix) is as large as possible. - /// The sign will be omitted unless the number is negative. - /// Examples: - /// 1.5 will be serialized as "1500m" - /// 1.5Gi will be serialized as "1536Mi" - /// NOTE: We reserve the right to amend this canonical format, perhaps to - /// allow 1.5 to be canonical. - /// TODO: Remove above disclaimer after all bikeshedding about format is over, - /// or after March 2015. - /// Note that the quantity will NEVER be internally represented by a - /// floating point number. That is the whole point of this exercise. - /// Non-canonical values will still parse as long as they are well formed, - /// but will be re-emitted in their canonical form. (So always use canonical - /// form, or don't diff.) - /// This format is intended to make it difficult to use these numbers without - /// writing some sort of special handling code in the hopes that that will - /// cause implementors to also use a fixed point implementation. - /// +namespace k8s.Models +{ + internal class QuantityConverter : JsonConverter + { + public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) + { + var q = (ResourceQuantity)value; + + if (q != null) + { + serializer.Serialize(writer, q.ToString()); + return; + } + + serializer.Serialize(writer, value); + } + + public override object ReadJson(JsonReader reader, Type objectType, object existingValue, + JsonSerializer serializer) + { + return new ResourceQuantity(serializer.Deserialize(reader)); + } + + public override bool CanConvert(Type objectType) + { + return objectType == typeof(string); + } + } + + /// + /// port https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go to c# + /// Quantity is a fixed-point representation of a number. + /// It provides convenient marshaling/unmarshaling in JSON and YAML, + /// in addition to String() and Int64() accessors. + /// The serialization format is: + /// quantity ::= signedNumber suffix + /// (Note that suffix may be empty, from the "" case in decimalSI.) + /// digit ::= 0 | 1 | ... | 9 + /// digits ::= digit | digitdigits + /// number ::= digits | digits.digits | digits. | .digits + /// sign ::= "+" | "-" + /// signedNumber ::= number | signnumber + /// suffix ::= binarySI | decimalExponent | decimalSI + /// binarySI ::= Ki | Mi | Gi | Ti | Pi | Ei + /// (International System of units; See: http:///physics.nist.gov/cuu/Units/binary.html) + /// decimalSI ::= m | "" | k | M | G | T | P | E + /// (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) + /// decimalExponent ::= "e" signedNumber | "E" signedNumber + /// No matter which of the three exponent forms is used, no quantity may represent + /// a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal + /// places. Numbers larger or more precise will be capped or rounded up. + /// (E.g.: 0.1m will rounded up to 1m.) + /// This may be extended in the future if we require larger or smaller quantities. + /// When a Quantity is parsed from a string, it will remember the type of suffix + /// it had, and will use the same type again when it is serialized. + /// Before serializing, Quantity will be put in "canonical form". + /// This means that Exponent/suffix will be adjusted up or down (with a + /// corresponding increase or decrease in Mantissa) such that: + /// a. No precision is lost + /// b. No fractional digits will be emitted + /// c. The exponent (or suffix) is as large as possible. + /// The sign will be omitted unless the number is negative. + /// Examples: + /// 1.5 will be serialized as "1500m" + /// 1.5Gi will be serialized as "1536Mi" + /// NOTE: We reserve the right to amend this canonical format, perhaps to + /// allow 1.5 to be canonical. + /// TODO: Remove above disclaimer after all bikeshedding about format is over, + /// or after March 2015. + /// Note that the quantity will NEVER be internally represented by a + /// floating point number. That is the whole point of this exercise. + /// Non-canonical values will still parse as long as they are well formed, + /// but will be re-emitted in their canonical form. (So always use canonical + /// form, or don't diff.) + /// This format is intended to make it difficult to use these numbers without + /// writing some sort of special handling code in the hopes that that will + /// cause implementors to also use a fixed point implementation. + /// [JsonConverter(typeof(QuantityConverter))] - public partial class ResourceQuantity : IYamlConvertible - { - public enum SuffixFormat - { - DecimalExponent, - BinarySI, - DecimalSI - } - - public static readonly decimal MaxAllowed = (decimal)BigInteger.Pow(2, 63) - 1; - - private static readonly char[] SuffixChars = "eEinumkKMGTP".ToCharArray(); - private Fraction _unitlessValue; - - public ResourceQuantity(decimal n, int exp, SuffixFormat format) - { - _unitlessValue = Fraction.FromDecimal(n) * Fraction.Pow(10, exp); - Format = format; - } - - public SuffixFormat Format { get; private set; } - - public string CanonicalizeString() - { - return CanonicalizeString(Format); - } - - public override string ToString() - { - return CanonicalizeString(); - } - - protected bool Equals(ResourceQuantity other) - { - return Format == other.Format && _unitlessValue.Equals(other._unitlessValue); - } - - public override bool Equals(object obj) - { - if (ReferenceEquals(null, obj)) - { - return false; - } - if (ReferenceEquals(this, obj)) - { - return true; - } - if (obj.GetType() != GetType()) - { - return false; - } - return Equals((ResourceQuantity) obj); - } - - public override int GetHashCode() - { - unchecked - { - return ((int) Format * 397) ^ _unitlessValue.GetHashCode(); - } - } - - // - // CanonicalizeString = go version CanonicalizeBytes - // CanonicalizeBytes returns the canonical form of q and its suffix (see comment on Quantity). - // - // Note about BinarySI: - // * If q.Format is set to BinarySI and q.Amount represents a non-zero value between - // -1 and +1, it will be emitted as if q.Format were DecimalSI. - // * Otherwise, if q.Format is set to BinarySI, fractional parts of q.Amount will be - // rounded up. (1.1i becomes 2i.) - public string CanonicalizeString(SuffixFormat suffixFormat) - { - if (suffixFormat == SuffixFormat.BinarySI) - { - if (-1024 < _unitlessValue && _unitlessValue < 1024) - { - return Suffixer.AppendMaxSuffix(_unitlessValue, SuffixFormat.DecimalSI); - } - - if (HasMantissa(_unitlessValue)) - { - return Suffixer.AppendMaxSuffix(_unitlessValue, SuffixFormat.DecimalSI); - } - } - - return Suffixer.AppendMaxSuffix(_unitlessValue, suffixFormat); - } - - // ctor - partial void CustomInit() + public partial class ResourceQuantity : IYamlConvertible + { + public enum SuffixFormat + { + DecimalExponent, + BinarySI, + DecimalSI + } + + public static readonly decimal MaxAllowed = (decimal)BigInteger.Pow(2, 63) - 1; + + private static readonly char[] SuffixChars = "eEinumkKMGTP".ToCharArray(); + private Fraction _unitlessValue; + + public ResourceQuantity(decimal n, int exp, SuffixFormat format) + { + _unitlessValue = Fraction.FromDecimal(n) * Fraction.Pow(10, exp); + Format = format; + } + + public SuffixFormat Format { get; private set; } + + public string CanonicalizeString() + { + return CanonicalizeString(Format); + } + + public override string ToString() + { + return CanonicalizeString(); + } + + protected bool Equals(ResourceQuantity other) + { + return Format == other.Format && _unitlessValue.Equals(other._unitlessValue); + } + + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) + { + return false; + } + if (ReferenceEquals(this, obj)) + { + return true; + } + if (obj.GetType() != GetType()) + { + return false; + } + return Equals((ResourceQuantity) obj); + } + + public override int GetHashCode() + { + unchecked + { + return ((int) Format * 397) ^ _unitlessValue.GetHashCode(); + } + } + + // + // CanonicalizeString = go version CanonicalizeBytes + // CanonicalizeBytes returns the canonical form of q and its suffix (see comment on Quantity). + // + // Note about BinarySI: + // * If q.Format is set to BinarySI and q.Amount represents a non-zero value between + // -1 and +1, it will be emitted as if q.Format were DecimalSI. + // * Otherwise, if q.Format is set to BinarySI, fractional parts of q.Amount will be + // rounded up. (1.1i becomes 2i.) + public string CanonicalizeString(SuffixFormat suffixFormat) + { + if (suffixFormat == SuffixFormat.BinarySI) + { + if (-1024 < _unitlessValue && _unitlessValue < 1024) + { + return Suffixer.AppendMaxSuffix(_unitlessValue, SuffixFormat.DecimalSI); + } + + if (HasMantissa(_unitlessValue)) + { + return Suffixer.AppendMaxSuffix(_unitlessValue, SuffixFormat.DecimalSI); + } + } + + return Suffixer.AppendMaxSuffix(_unitlessValue, suffixFormat); + } + + // ctor + partial void CustomInit() { if (Value == null) { @@ -186,35 +186,35 @@ partial void CustomInit() Format = SuffixFormat.BinarySI; return; } - - var value = Value.Trim(); - - var si = value.IndexOfAny(SuffixChars); - if (si == -1) - { - si = value.Length; - } - - var literal = Fraction.FromString(value.Substring(0, si)); - var suffixer = new Suffixer(value.Substring(si)); - - _unitlessValue = literal.Multiply(Fraction.Pow(suffixer.Base, suffixer.Exponent)); - Format = suffixer.Format; - - if (Format == SuffixFormat.BinarySI && _unitlessValue > Fraction.FromDecimal(MaxAllowed)) - { - _unitlessValue = Fraction.FromDecimal(MaxAllowed); - } - } - - private static bool HasMantissa(Fraction value) - { - if (value.IsZero) - { - return false; - } - - return BigInteger.Remainder(value.Numerator, value.Denominator) > 0; + + var value = Value.Trim(); + + var si = value.IndexOfAny(SuffixChars); + if (si == -1) + { + si = value.Length; + } + + var literal = Fraction.FromString(value.Substring(0, si)); + var suffixer = new Suffixer(value.Substring(si)); + + _unitlessValue = literal.Multiply(Fraction.Pow(suffixer.Base, suffixer.Exponent)); + Format = suffixer.Format; + + if (Format == SuffixFormat.BinarySI && _unitlessValue > Fraction.FromDecimal(MaxAllowed)) + { + _unitlessValue = Fraction.FromDecimal(MaxAllowed); + } + } + + private static bool HasMantissa(Fraction value) + { + if (value.IsZero) + { + return false; + } + + return BigInteger.Remainder(value.Numerator, value.Denominator) > 0; } /// @@ -239,98 +239,98 @@ public void Write(IEmitter emitter, ObjectSerializer nestedObjectSerializer) emitter.Emit(new Scalar(this.ToString())); } - public static implicit operator decimal(ResourceQuantity v) - { - return v._unitlessValue.ToDecimal(); - } - - public static implicit operator ResourceQuantity(decimal v) - { - return new ResourceQuantity(v, 0, SuffixFormat.DecimalExponent); - } - - #region suffixer - - private class Suffixer - { - private static readonly IReadOnlyDictionary BinSuffixes = - new Dictionary - { - // Don't emit an error when trying to produce - // a suffix for 2^0. - {"", (2, 0)}, - {"Ki", (2, 10)}, - {"Mi", (2, 20)}, - {"Gi", (2, 30)}, - {"Ti", (2, 40)}, - {"Pi", (2, 50)}, - {"Ei", (2, 60)} - }; - - private static readonly IReadOnlyDictionary DecSuffixes = - new Dictionary - { - {"n", (10, -9)}, - {"u", (10, -6)}, - {"m", (10, -3)}, - {"", (10, 0)}, - {"k", (10, 3)}, - {"M", (10, 6)}, - {"G", (10, 9)}, - {"T", (10, 12)}, - {"P", (10, 15)}, - {"E", (10, 18)} - }; - - public Suffixer(string suffix) - { - // looked up - { - if (DecSuffixes.TryGetValue(suffix, out var be)) - { - (Base, Exponent) = be; - Format = SuffixFormat.DecimalSI; - - return; - } - } - - { - if (BinSuffixes.TryGetValue(suffix, out var be)) - { - (Base, Exponent) = be; - Format = SuffixFormat.BinarySI; - - return; - } - } - - if (char.ToLower(suffix[0]) == 'e') - { - Base = 10; - Exponent = int.Parse(suffix.Substring(1)); - Format = SuffixFormat.DecimalExponent; - return; - } - - throw new ArgumentException("unable to parse quantity's suffix"); - } - - public SuffixFormat Format { get; } - - public int Base { get; } - public int Exponent { get; } - - - public static string AppendMaxSuffix(Fraction value, SuffixFormat format) - { - if (value.IsZero) - { - return "0"; - } - - switch (format) - { + public static implicit operator decimal(ResourceQuantity v) + { + return v._unitlessValue.ToDecimal(); + } + + public static implicit operator ResourceQuantity(decimal v) + { + return new ResourceQuantity(v, 0, SuffixFormat.DecimalExponent); + } + + #region suffixer + + private class Suffixer + { + private static readonly IReadOnlyDictionary BinSuffixes = + new Dictionary + { + // Don't emit an error when trying to produce + // a suffix for 2^0. + {"", (2, 0)}, + {"Ki", (2, 10)}, + {"Mi", (2, 20)}, + {"Gi", (2, 30)}, + {"Ti", (2, 40)}, + {"Pi", (2, 50)}, + {"Ei", (2, 60)} + }; + + private static readonly IReadOnlyDictionary DecSuffixes = + new Dictionary + { + {"n", (10, -9)}, + {"u", (10, -6)}, + {"m", (10, -3)}, + {"", (10, 0)}, + {"k", (10, 3)}, + {"M", (10, 6)}, + {"G", (10, 9)}, + {"T", (10, 12)}, + {"P", (10, 15)}, + {"E", (10, 18)} + }; + + public Suffixer(string suffix) + { + // looked up + { + if (DecSuffixes.TryGetValue(suffix, out var be)) + { + (Base, Exponent) = be; + Format = SuffixFormat.DecimalSI; + + return; + } + } + + { + if (BinSuffixes.TryGetValue(suffix, out var be)) + { + (Base, Exponent) = be; + Format = SuffixFormat.BinarySI; + + return; + } + } + + if (char.ToLower(suffix[0]) == 'e') + { + Base = 10; + Exponent = int.Parse(suffix.Substring(1)); + Format = SuffixFormat.DecimalExponent; + return; + } + + throw new ArgumentException("unable to parse quantity's suffix"); + } + + public SuffixFormat Format { get; } + + public int Base { get; } + public int Exponent { get; } + + + public static string AppendMaxSuffix(Fraction value, SuffixFormat format) + { + if (value.IsZero) + { + return "0"; + } + + switch (format) + { case SuffixFormat.DecimalExponent: { var minE = -9; @@ -355,49 +355,49 @@ public static string AppendMaxSuffix(Fraction value, SuffixFormat format) } return $"{(decimal) lastv}e{minE}"; - } - - case SuffixFormat.BinarySI: - return AppendMaxSuffix(value, BinSuffixes); - case SuffixFormat.DecimalSI: - return AppendMaxSuffix(value, DecSuffixes); - default: - throw new ArgumentOutOfRangeException(nameof(format), format, null); - } - } - - private static string AppendMaxSuffix(Fraction value, IReadOnlyDictionary suffixes) - { - var min = suffixes.First(); - var suffix = min.Key; - var lastv = Roundup(value * Fraction.Pow(min.Value.Item1, -min.Value.Item2)); - - foreach (var kv in suffixes.Skip(1)) - { - var v = value * Fraction.Pow(kv.Value.Item1, -kv.Value.Item2); - if (HasMantissa(v)) - { - break; - } - - suffix = kv.Key; - lastv = v; - } - - return $"{(decimal) lastv}{suffix}"; - } - - private static Fraction Roundup(Fraction lastv) - { - var round = BigInteger.DivRem(lastv.Numerator, lastv.Denominator, out var remainder); - if (!remainder.IsZero) - { - lastv = round + 1; - } - return lastv; - } - } - - #endregion - } -} + } + + case SuffixFormat.BinarySI: + return AppendMaxSuffix(value, BinSuffixes); + case SuffixFormat.DecimalSI: + return AppendMaxSuffix(value, DecSuffixes); + default: + throw new ArgumentOutOfRangeException(nameof(format), format, null); + } + } + + private static string AppendMaxSuffix(Fraction value, IReadOnlyDictionary suffixes) + { + var min = suffixes.First(); + var suffix = min.Key; + var lastv = Roundup(value * Fraction.Pow(min.Value.Item1, -min.Value.Item2)); + + foreach (var kv in suffixes.Skip(1)) + { + var v = value * Fraction.Pow(kv.Value.Item1, -kv.Value.Item2); + if (HasMantissa(v)) + { + break; + } + + suffix = kv.Key; + lastv = v; + } + + return $"{(decimal) lastv}{suffix}"; + } + + private static Fraction Roundup(Fraction lastv) + { + var round = BigInteger.DivRem(lastv.Numerator, lastv.Denominator, out var remainder); + if (!remainder.IsZero) + { + lastv = round + 1; + } + return lastv; + } + } + + #endregion + } +} diff --git a/src/KubernetesClient/V1Status.ObjectView.cs b/src/KubernetesClient/V1Status.ObjectView.cs index 4c4f409e8..efcdc3903 100644 --- a/src/KubernetesClient/V1Status.ObjectView.cs +++ b/src/KubernetesClient/V1Status.ObjectView.cs @@ -1,52 +1,52 @@ -using System; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; - -namespace k8s.Models -{ - public partial class V1Status - { - internal class V1StatusObjectViewConverter : JsonConverter - { - public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) - { - serializer.Serialize(writer, value); - } - - public override object ReadJson(JsonReader reader, Type objectType, object existingValue, - JsonSerializer serializer) - { - var obj = JToken.Load(reader); - - try - { - return obj.ToObject(objectType); - } - catch (JsonException) - { - // should be an object - } - - return new V1Status - { - _original = obj, - HasObject = true - }; - } - - public override bool CanConvert(Type objectType) - { - return typeof(V1Status) == objectType; - } - } - +using System; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; + +namespace k8s.Models +{ + public partial class V1Status + { + internal class V1StatusObjectViewConverter : JsonConverter + { + public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) + { + serializer.Serialize(writer, value); + } + + public override object ReadJson(JsonReader reader, Type objectType, object existingValue, + JsonSerializer serializer) + { + var obj = JToken.Load(reader); + + try + { + return obj.ToObject(objectType); + } + catch (JsonException) + { + // should be an object + } + + return new V1Status + { + _original = obj, + HasObject = true + }; + } + + public override bool CanConvert(Type objectType) + { + return typeof(V1Status) == objectType; + } + } + private JToken _original; - public bool HasObject { get; private set; } - - public T ObjectView() - { - return _original.ToObject(); - } - } -} + public bool HasObject { get; private set; } + + public T ObjectView() + { + return _original.ToObject(); + } + } +} diff --git a/src/KubernetesClient/Watcher.cs b/src/KubernetesClient/Watcher.cs index 9d44ac630..da730f794 100644 --- a/src/KubernetesClient/Watcher.cs +++ b/src/KubernetesClient/Watcher.cs @@ -1,155 +1,189 @@ -using System; -using System.IO; -using System.Runtime.Serialization; -using System.Threading; -using System.Threading.Tasks; -using k8s.Exceptions; -using k8s.Models; -using Microsoft.Rest; -using Microsoft.Rest.Serialization; - -namespace k8s -{ - public enum WatchEventType - { - [EnumMember(Value = "ADDED")] Added, - - [EnumMember(Value = "MODIFIED")] Modified, - - [EnumMember(Value = "DELETED")] Deleted, - - [EnumMember(Value = "ERROR")] Error - } - - public class Watcher : IDisposable - { - /// - /// indicate if the watch object is alive - /// - public bool Watching { get; private set; } - - private readonly CancellationTokenSource _cts; - private readonly StreamReader _streamReader; - - public Watcher(StreamReader streamReader, Action onEvent, Action onError) - { - _streamReader = streamReader; - OnEvent += onEvent; - OnError += onError; - - _cts = new CancellationTokenSource(); - - var token = _cts.Token; - - Task.Run(async () => - { - try - { - Watching = true; - - while (!streamReader.EndOfStream) - { - if (token.IsCancellationRequested) - { - return; - } - - var line = await streamReader.ReadLineAsync(); - - try - { - var genericEvent = SafeJsonConvert.DeserializeObject.WatchEvent>(line); - - if (genericEvent.Object.Kind == "Status") - { - var statusEvent = SafeJsonConvert.DeserializeObject.WatchEvent>(line); - var exception = new KubernetesException(statusEvent.Object); - this.OnError?.Invoke(exception); - } - else - { - var @event = SafeJsonConvert.DeserializeObject.WatchEvent>(line); - this.OnEvent?.Invoke(@event.Type, @event.Object); - } - } - catch (Exception e) - { - // error if deserialized failed or onevent throws - OnError?.Invoke(e); - } - } - } - catch (Exception e) - { - // error when transport error, IOException ect - OnError?.Invoke(e); - } - finally - { - Watching = false; - } - }, token); - } - - public void Dispose() - { - _cts.Cancel(); - _streamReader.Dispose(); - } - - /// - /// add/remove callbacks when any event raised from api server - /// - public event Action OnEvent; - - /// - /// add/remove callbacks when any exception was caught during watching - /// - public event Action OnError; - - public class WatchEvent - { - public WatchEventType Type { get; set; } - - public T Object { get; set; } - } - } - - public static class WatcherExt - { - /// - /// create a watch object from a call to api server with watch=true - /// - /// type of the event object - /// the api response - /// a callback when any event raised from api server - /// a callbak when any exception was caught during watching - /// a watch object - public static Watcher Watch(this HttpOperationResponse response, - Action onEvent, - Action onError = null) - { - if (!(response.Response.Content is WatcherDelegatingHandler.LineSeparatedHttpContent content)) - { - throw new KubernetesClientException("not a watchable request or failed response"); - } - - return new Watcher(content.StreamReader, onEvent, onError); - } - - /// - /// create a watch object from a call to api server with watch=true - /// - /// type of the event object - /// the api response - /// a callback when any event raised from api server - /// a callbak when any exception was caught during watching - /// a watch object - public static Watcher Watch(this HttpOperationResponse response, - Action onEvent, - Action onError = null) - { - return Watch((HttpOperationResponse) response, onEvent, onError); - } - } -} +using System; +using System.IO; +using System.Runtime.Serialization; +using System.Threading; +using System.Threading.Tasks; +using k8s.Exceptions; +using k8s.Models; +using Microsoft.Rest; +using Microsoft.Rest.Serialization; + +namespace k8s +{ + public enum WatchEventType + { + [EnumMember(Value = "ADDED")] Added, + + [EnumMember(Value = "MODIFIED")] Modified, + + [EnumMember(Value = "DELETED")] Deleted, + + [EnumMember(Value = "ERROR")] Error + } + + public class Watcher : IDisposable + { + /// + /// indicate if the watch object is alive + /// + public bool Watching { get; private set; } + + private readonly CancellationTokenSource _cts; + private readonly StreamReader _streamReader; + private readonly Task _watcherLoop; + + /// + /// Initializes a new instance of the class. + /// + /// + /// A from which to read the events. + /// + /// + /// The action to invoke when the server sends a new event. + /// + /// + /// The action to invoke when an error occurs. + /// + /// + /// The action to invoke when the server closes the connection. + /// + public Watcher(StreamReader streamReader, Action onEvent, Action onError, Action onClosed = null) + { + _streamReader = streamReader; + OnEvent += onEvent; + OnError += onError; + OnClosed += onClosed; + + _cts = new CancellationTokenSource(); + _watcherLoop = this.WatcherLoop(_cts.Token); + } + + /// + public void Dispose() + { + _cts.Cancel(); + _streamReader.Dispose(); + } + + /// + /// add/remove callbacks when any event raised from api server + /// + public event Action OnEvent; + + /// + /// add/remove callbacks when any exception was caught during watching + /// + public event Action OnError; + + /// + /// The event which is raised when the server closes th econnection. + /// + public event Action OnClosed; + + public class WatchEvent + { + public WatchEventType Type { get; set; } + + public T Object { get; set; } + } + + private async Task WatcherLoop(CancellationToken cancellationToken) + { + // Make sure we run async + await Task.Yield(); + + try + { + Watching = true; + string line; + + // ReadLineAsync will return null when we've reached the end of the stream. + while ((line = await this._streamReader.ReadLineAsync().ConfigureAwait(false)) != null) + { + if (cancellationToken.IsCancellationRequested) + { + return; + } + + try + { + var genericEvent = SafeJsonConvert.DeserializeObject.WatchEvent>(line); + + if (genericEvent.Object.Kind == "Status") + { + var statusEvent = SafeJsonConvert.DeserializeObject.WatchEvent>(line); + var exception = new KubernetesException(statusEvent.Object); + this.OnError?.Invoke(exception); + } + else + { + var @event = SafeJsonConvert.DeserializeObject.WatchEvent>(line); + this.OnEvent?.Invoke(@event.Type, @event.Object); + } + } + catch (Exception e) + { + // error if deserialized failed or onevent throws + OnError?.Invoke(e); + } + } + } + catch (Exception e) + { + // error when transport error, IOException ect + OnError?.Invoke(e); + } + finally + { + Watching = false; + OnClosed?.Invoke(); + } + } + } + + public static class WatcherExt + { + /// + /// create a watch object from a call to api server with watch=true + /// + /// type of the event object + /// the api response + /// a callback when any event raised from api server + /// a callbak when any exception was caught during watching + /// + /// The action to invoke when the server closes the connection. + /// + /// a watch object + public static Watcher Watch(this HttpOperationResponse response, + Action onEvent, + Action onError = null, + Action onClosed = null) + { + if (!(response.Response.Content is WatcherDelegatingHandler.LineSeparatedHttpContent content)) + { + throw new KubernetesClientException("not a watchable request or failed response"); + } + + return new Watcher(content.StreamReader, onEvent, onError, onClosed); + } + + /// + /// create a watch object from a call to api server with watch=true + /// + /// type of the event object + /// the api response + /// a callback when any event raised from api server + /// a callbak when any exception was caught during watching + /// + /// The action to invoke when the server closes the connection. + /// + /// a watch object + public static Watcher Watch(this HttpOperationResponse response, + Action onEvent, + Action onError = null, + Action onClosed = null) + { + return Watch((HttpOperationResponse)response, onEvent, onError, onClosed); + } + } +} diff --git a/src/KubernetesClient/WatcherDelegatingHandler.cs b/src/KubernetesClient/WatcherDelegatingHandler.cs index 29a80db66..401fe8b61 100644 --- a/src/KubernetesClient/WatcherDelegatingHandler.cs +++ b/src/KubernetesClient/WatcherDelegatingHandler.cs @@ -1,69 +1,133 @@ -using System.IO; -using System.Linq; -using System.Net; -using System.Net.Http; -using System.Threading; -using System.Threading.Tasks; -using Microsoft.AspNetCore.WebUtilities; - -namespace k8s -{ - /// - /// This HttpDelegatingHandler is to rewrite the response and return first line to autorest client - /// then use WatchExt to create a watch object which interact with the replaced http response to get watch works. - /// - internal class WatcherDelegatingHandler : DelegatingHandler - { - protected override async Task SendAsync(HttpRequestMessage request, - CancellationToken cancellationToken) - { - var originResponse = await base.SendAsync(request, cancellationToken); - - if (originResponse.IsSuccessStatusCode) - { - var query = QueryHelpers.ParseQuery(request.RequestUri.Query); - - if (query.TryGetValue("watch", out var values) && values.Any(v => v == "true")) - { - originResponse.Content = new LineSeparatedHttpContent(originResponse.Content); - } - } - return originResponse; - } - - internal class LineSeparatedHttpContent : HttpContent - { - private readonly HttpContent _originContent; - private Stream _originStream; - - public LineSeparatedHttpContent(HttpContent originContent) - { - _originContent = originContent; - } - - internal StreamReader StreamReader { get; private set; } - - protected override async Task SerializeToStreamAsync(Stream stream, TransportContext context) - { - _originStream = await _originContent.ReadAsStreamAsync(); - - StreamReader = new StreamReader(_originStream); - - var firstLine = await StreamReader.ReadLineAsync(); - var writer = new StreamWriter(stream); - -// using (writer) // leave open - { - await writer.WriteAsync(firstLine); - await writer.FlushAsync(); - } - } - - protected override bool TryComputeLength(out long length) - { - length = 0; - return false; - } - } - } -} \ No newline at end of file +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Net; +using System.Net.Http; +using System.Threading; +using System.Threading.Tasks; +using Microsoft.AspNetCore.WebUtilities; + +namespace k8s +{ + /// + /// This HttpDelegatingHandler is to rewrite the response and return first line to autorest client + /// then use WatchExt to create a watch object which interact with the replaced http response to get watch works. + /// + internal class WatcherDelegatingHandler : DelegatingHandler + { + protected override async Task SendAsync(HttpRequestMessage request, + CancellationToken cancellationToken) + { + var originResponse = await base.SendAsync(request, cancellationToken); + + if (originResponse.IsSuccessStatusCode) + { + var query = QueryHelpers.ParseQuery(request.RequestUri.Query); + + if (query.TryGetValue("watch", out var values) && values.Any(v => v == "true")) + { + originResponse.Content = new LineSeparatedHttpContent(originResponse.Content); + } + } + return originResponse; + } + + internal class LineSeparatedHttpContent : HttpContent + { + private readonly HttpContent _originContent; + private Stream _originStream; + + public LineSeparatedHttpContent(HttpContent originContent) + { + _originContent = originContent; + } + + internal PeekableStreamReader StreamReader { get; private set; } + + protected override async Task SerializeToStreamAsync(Stream stream, TransportContext context) + { + _originStream = await _originContent.ReadAsStreamAsync(); + + StreamReader = new PeekableStreamReader(_originStream); + + var firstLine = await StreamReader.PeekLineAsync(); + + var writer = new StreamWriter(stream); + +// using (writer) // leave open + { + await writer.WriteAsync(firstLine); + await writer.FlushAsync(); + } + } + + protected override bool TryComputeLength(out long length) + { + length = 0; + return false; + } + } + internal class PeekableStreamReader : StreamReader + { + private Queue _buffer; + public PeekableStreamReader(Stream stream) : base(stream) + { + _buffer = new Queue(); + } + + public override string ReadLine() + { + if (_buffer.Count > 0) + { + return _buffer.Dequeue(); + } + return base.ReadLine(); + } + public override Task ReadLineAsync() + { + if (_buffer.Count > 0) + { + return Task.FromResult(_buffer.Dequeue()); + } + return base.ReadLineAsync(); + } + public async Task PeekLineAsync() + { + var line = await ReadLineAsync(); + _buffer.Enqueue(line); + return line; + } + + public override int Read() + { + throw new NotImplementedException(); + } + + public override int Read(char[] buffer, int index, int count) + { + throw new NotImplementedException(); + } + public override Task ReadAsync(char[] buffer, int index, int count) + { + throw new NotImplementedException(); + } + public override int ReadBlock(char[] buffer, int index, int count) + { + throw new NotImplementedException(); + } + public override Task ReadBlockAsync(char[] buffer, int index, int count) + { + throw new NotImplementedException(); + } + public override string ReadToEnd() + { + throw new NotImplementedException(); + } + public override Task ReadToEndAsync() + { + throw new NotImplementedException(); + } + } + } +} diff --git a/src/KubernetesClient/WebSocketBuilder.NetCoreApp2.1.cs b/src/KubernetesClient/WebSocketBuilder.NetCoreApp2.1.cs deleted file mode 100644 index fceaffe47..000000000 --- a/src/KubernetesClient/WebSocketBuilder.NetCoreApp2.1.cs +++ /dev/null @@ -1,124 +0,0 @@ -#if NETCOREAPP2_1 - -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Net.Security; -using System.Net.WebSockets; -using System.Security.Authentication; -using System.Security.Cryptography.X509Certificates; -using System.Threading; -using System.Threading.Tasks; - -namespace k8s -{ - /// - /// The creates a new object which connects to a remote WebSocket. - /// - public sealed class WebSocketBuilder - { - public KubernetesWebSocketOptions Options { get; } = new KubernetesWebSocketOptions(); - - public WebSocketBuilder() - { - } - - public WebSocketBuilder SetRequestHeader(string headerName, string headerValue) - { - Options.RequestHeaders[headerName] = headerValue; - - return this; - } - - public WebSocketBuilder AddClientCertificate(X509Certificate2 certificate) - { - Options.ClientCertificates.Add(certificate); - - return this; - } - - public WebSocketBuilder ExpectServerCertificate(X509Certificate2 serverCertificate) - { - Options.ServerCertificateCustomValidationCallback = (sender, certificate, chain, sslPolicyErrors) => - { - return Kubernetes.CertificateValidationCallBack(sender, serverCertificate, certificate, chain, sslPolicyErrors); - }; - return this; - } - - public WebSocketBuilder SkipServerCertificateValidation() - { - Options.ServerCertificateCustomValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true; - - return this; - } - - public async Task BuildAndConnectAsync(Uri uri, CancellationToken cancellationToken) - { - return await CoreFX.K8sWebSocket.ConnectAsync(uri, Options, cancellationToken).ConfigureAwait(false); - } - } - - /// - /// Options for connecting to Kubernetes web sockets. - /// - public class KubernetesWebSocketOptions - { - /// - /// The default size (in bytes) for WebSocket send / receive buffers. - /// - public static readonly int DefaultBufferSize = 2048; - - /// - /// Create new . - /// - public KubernetesWebSocketOptions() - { - } - - /// - /// The requested size (in bytes) of the WebSocket send buffer. - /// - public int SendBufferSize { get; set; } = 2048; - - /// - /// The requested size (in bytes) of the WebSocket receive buffer. - /// - public int ReceiveBufferSize { get; set; } = 2048; - - /// - /// Custom request headers (if any). - /// - public Dictionary RequestHeaders { get; } = new Dictionary(StringComparer.OrdinalIgnoreCase); - - /// - /// Requested sub-protocols (if any). - /// - public List RequestedSubProtocols { get; } = new List(); - - /// - /// Client certificates (if any) to use for authentication. - /// - public List ClientCertificates = new List(); - - /// - /// An optional delegate to use for authenticating the remote server certificate. - /// - public RemoteCertificateValidationCallback ServerCertificateCustomValidationCallback { get; set; } - - /// - /// An value representing the SSL protocols that the client supports. - /// - /// - /// Defaults to , which lets the platform select the most appropriate protocol. - /// - public SslProtocols EnabledSslProtocols { get; set; } = SslProtocols.None; - - /// - /// The WebSocket keep-alive interval. - /// - public TimeSpan KeepAliveInterval { get; set; } = TimeSpan.FromSeconds(5); - } -} - -#endif // NETCOREAPP2_1 diff --git a/src/KubernetesClient/WebSocketBuilder.cs b/src/KubernetesClient/WebSocketBuilder.cs index b618369b5..94d8d7165 100644 --- a/src/KubernetesClient/WebSocketBuilder.cs +++ b/src/KubernetesClient/WebSocketBuilder.cs @@ -1,5 +1,3 @@ -#if !NETCOREAPP2_1 - using System; using System.Net.WebSockets; using System.Security.Cryptography.X509Certificates; @@ -23,6 +21,8 @@ public WebSocketBuilder() { } + public ClientWebSocketOptions Options => WebSocket.Options; + public virtual WebSocketBuilder SetRequestHeader(string headerName, string headerValue) { this.WebSocket.Options.SetRequestHeader(headerName, headerValue); @@ -35,6 +35,27 @@ public virtual WebSocketBuilder AddClientCertificate(X509Certificate2 certificat return this; } +#if NETCOREAPP2_1 + + public WebSocketBuilder ExpectServerCertificate(X509Certificate2 serverCertificate) + { + Options.RemoteCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => + { + return Kubernetes.CertificateValidationCallBack(sender, serverCertificate, certificate, chain, sslPolicyErrors); + }; + + return this; + } + + public WebSocketBuilder SkipServerCertificateValidation() + { + Options.RemoteCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true; + + return this; + } + +#endif // NETCOREAPP2_1 + public virtual async Task BuildAndConnectAsync(Uri uri, CancellationToken cancellationToken) { await this.WebSocket.ConnectAsync(uri, cancellationToken).ConfigureAwait(false); @@ -42,5 +63,3 @@ public virtual async Task BuildAndConnectAsync(Uri uri, CancellationT } } } - -#endif // !NETCOREAPP2_1 diff --git a/src/KubernetesClient/generated/IKubernetes.Watch.cs b/src/KubernetesClient/generated/IKubernetes.Watch.cs index 0f009bea9..946bf05b9 100644 --- a/src/KubernetesClient/generated/IKubernetes.Watch.cs +++ b/src/KubernetesClient/generated/IKubernetes.Watch.cs @@ -9,7 +9,7 @@ namespace k8s public partial interface IKubernetes { /// - /// watch changes to an object of kind ConfigMap + /// watch changes to an object of kind ConfigMap. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the ConfigMap @@ -18,7 +18,9 @@ public partial interface IKubernetes /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -55,6 +57,9 @@ public partial interface IKubernetes /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -76,10 +81,11 @@ Task> WatchNamespacedConfigMapAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Endpoints + /// watch changes to an object of kind Endpoints. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the Endpoints @@ -88,7 +94,9 @@ Task> WatchNamespacedConfigMapAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -125,6 +133,9 @@ Task> WatchNamespacedConfigMapAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -146,10 +157,11 @@ Task> WatchNamespacedEndpointsAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Event + /// watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the Event @@ -158,7 +170,9 @@ Task> WatchNamespacedEndpointsAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -195,6 +209,9 @@ Task> WatchNamespacedEndpointsAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -216,10 +233,11 @@ Task> WatchNamespacedEventAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind LimitRange + /// watch changes to an object of kind LimitRange. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the LimitRange @@ -228,7 +246,9 @@ Task> WatchNamespacedEventAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -265,6 +285,9 @@ Task> WatchNamespacedEventAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -286,10 +309,11 @@ Task> WatchNamespacedLimitRangeAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind PersistentVolumeClaim + /// watch changes to an object of kind PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the PersistentVolumeClaim @@ -298,7 +322,9 @@ Task> WatchNamespacedLimitRangeAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -335,6 +361,9 @@ Task> WatchNamespacedLimitRangeAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -356,10 +385,11 @@ Task> WatchNamespacedPersistentVolumeClaimAsync Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Pod + /// watch changes to an object of kind Pod. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the Pod @@ -368,7 +398,9 @@ Task> WatchNamespacedPersistentVolumeClaimAsync /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -405,6 +437,9 @@ Task> WatchNamespacedPersistentVolumeClaimAsync /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -426,10 +461,11 @@ Task> WatchNamespacedPodAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind PodTemplate + /// watch changes to an object of kind PodTemplate. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the PodTemplate @@ -438,7 +474,9 @@ Task> WatchNamespacedPodAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -475,6 +513,9 @@ Task> WatchNamespacedPodAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -496,10 +537,11 @@ Task> WatchNamespacedPodTemplateAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ReplicationController + /// watch changes to an object of kind ReplicationController. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the ReplicationController @@ -508,7 +550,9 @@ Task> WatchNamespacedPodTemplateAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -545,6 +589,9 @@ Task> WatchNamespacedPodTemplateAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -566,10 +613,11 @@ Task> WatchNamespacedReplicationControllerAsync Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ResourceQuota + /// watch changes to an object of kind ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the ResourceQuota @@ -578,7 +626,9 @@ Task> WatchNamespacedReplicationControllerAsync /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -615,6 +665,9 @@ Task> WatchNamespacedReplicationControllerAsync /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -636,10 +689,11 @@ Task> WatchNamespacedResourceQuotaAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Secret + /// watch changes to an object of kind Secret. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the Secret @@ -648,7 +702,9 @@ Task> WatchNamespacedResourceQuotaAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -685,6 +741,9 @@ Task> WatchNamespacedResourceQuotaAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -706,10 +765,11 @@ Task> WatchNamespacedSecretAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ServiceAccount + /// watch changes to an object of kind ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the ServiceAccount @@ -718,7 +778,9 @@ Task> WatchNamespacedSecretAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -755,6 +817,9 @@ Task> WatchNamespacedSecretAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -776,10 +841,11 @@ Task> WatchNamespacedServiceAccountAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Service + /// watch changes to an object of kind Service. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the Service @@ -788,7 +854,9 @@ Task> WatchNamespacedServiceAccountAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -825,6 +893,9 @@ Task> WatchNamespacedServiceAccountAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -846,16 +917,19 @@ Task> WatchNamespacedServiceAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Namespace + /// watch changes to an object of kind Namespace. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the Namespace /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -892,6 +966,9 @@ Task> WatchNamespacedServiceAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -912,16 +989,19 @@ Task> WatchNamespaceAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Node + /// watch changes to an object of kind Node. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the Node /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -958,6 +1038,9 @@ Task> WatchNamespaceAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -978,16 +1061,19 @@ Task> WatchNodeAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind PersistentVolume + /// watch changes to an object of kind PersistentVolume. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the PersistentVolume /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -1024,6 +1110,9 @@ Task> WatchNodeAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -1044,16 +1133,19 @@ Task> WatchPersistentVolumeAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind InitializerConfiguration + /// watch changes to an object of kind InitializerConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the InitializerConfiguration /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -1090,6 +1182,9 @@ Task> WatchPersistentVolumeAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -1110,16 +1205,19 @@ Task> WatchInitializerConfigurationAsy Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind MutatingWebhookConfiguration + /// watch changes to an object of kind MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the MutatingWebhookConfiguration /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -1156,6 +1254,9 @@ Task> WatchInitializerConfigurationAsy /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -1176,16 +1277,19 @@ Task> WatchMutatingWebhookConfigura Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ValidatingWebhookConfiguration + /// watch changes to an object of kind ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the ValidatingWebhookConfiguration /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -1222,6 +1326,9 @@ Task> WatchMutatingWebhookConfigura /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -1242,16 +1349,19 @@ Task> WatchValidatingWebhookConfi Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind CustomResourceDefinition + /// watch changes to an object of kind CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the CustomResourceDefinition /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -1288,6 +1398,9 @@ Task> WatchValidatingWebhookConfi /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -1308,16 +1421,19 @@ Task> WatchCustomResourceDefinitionAsyn Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind APIService + /// watch changes to an object of kind APIService. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the APIService /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -1354,6 +1470,9 @@ Task> WatchCustomResourceDefinitionAsyn /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -1374,16 +1493,19 @@ Task> WatchAPIServiceAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind APIService + /// watch changes to an object of kind APIService. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the APIService /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -1420,6 +1542,9 @@ Task> WatchAPIServiceAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -1440,10 +1565,11 @@ Task> WatchAPIServiceAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ControllerRevision + /// watch changes to an object of kind ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the ControllerRevision @@ -1452,7 +1578,9 @@ Task> WatchAPIServiceAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -1489,6 +1617,9 @@ Task> WatchAPIServiceAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -1510,10 +1641,11 @@ Task> WatchNamespacedControllerRevisionAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind DaemonSet + /// watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the DaemonSet @@ -1522,7 +1654,9 @@ Task> WatchNamespacedControllerRevisionAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -1559,6 +1693,9 @@ Task> WatchNamespacedControllerRevisionAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -1580,10 +1717,11 @@ Task> WatchNamespacedDaemonSetAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Deployment + /// watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the Deployment @@ -1592,7 +1730,9 @@ Task> WatchNamespacedDaemonSetAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -1629,6 +1769,9 @@ Task> WatchNamespacedDaemonSetAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -1650,10 +1793,11 @@ Task> WatchNamespacedDeploymentAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ReplicaSet + /// watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the ReplicaSet @@ -1662,7 +1806,9 @@ Task> WatchNamespacedDeploymentAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -1699,6 +1845,9 @@ Task> WatchNamespacedDeploymentAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -1720,10 +1869,11 @@ Task> WatchNamespacedReplicaSetAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind StatefulSet + /// watch changes to an object of kind StatefulSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the StatefulSet @@ -1732,7 +1882,9 @@ Task> WatchNamespacedReplicaSetAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -1769,6 +1921,9 @@ Task> WatchNamespacedReplicaSetAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -1790,10 +1945,11 @@ Task> WatchNamespacedStatefulSetAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ControllerRevision + /// watch changes to an object of kind ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the ControllerRevision @@ -1802,7 +1958,9 @@ Task> WatchNamespacedStatefulSetAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -1839,6 +1997,9 @@ Task> WatchNamespacedStatefulSetAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -1860,10 +2021,11 @@ Task> WatchNamespacedControllerRevisionAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind StatefulSet + /// watch changes to an object of kind StatefulSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the StatefulSet @@ -1872,7 +2034,9 @@ Task> WatchNamespacedControllerRevisionAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -1909,6 +2073,9 @@ Task> WatchNamespacedControllerRevisionAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -1930,10 +2097,11 @@ Task> WatchNamespacedStatefulSetAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ControllerRevision + /// watch changes to an object of kind ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the ControllerRevision @@ -1942,7 +2110,9 @@ Task> WatchNamespacedStatefulSetAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -1979,6 +2149,9 @@ Task> WatchNamespacedStatefulSetAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -2000,10 +2173,11 @@ Task> WatchNamespacedControllerRevisionAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind DaemonSet + /// watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the DaemonSet @@ -2012,7 +2186,9 @@ Task> WatchNamespacedControllerRevisionAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -2049,6 +2225,9 @@ Task> WatchNamespacedControllerRevisionAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -2070,10 +2249,11 @@ Task> WatchNamespacedDaemonSetAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ReplicaSet + /// watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the ReplicaSet @@ -2082,7 +2262,9 @@ Task> WatchNamespacedDaemonSetAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -2119,6 +2301,9 @@ Task> WatchNamespacedDaemonSetAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -2140,10 +2325,11 @@ Task> WatchNamespacedReplicaSetAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind StatefulSet + /// watch changes to an object of kind StatefulSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the StatefulSet @@ -2152,7 +2338,9 @@ Task> WatchNamespacedReplicaSetAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -2189,6 +2377,9 @@ Task> WatchNamespacedReplicaSetAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -2210,10 +2401,11 @@ Task> WatchNamespacedStatefulSetAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind HorizontalPodAutoscaler + /// watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the HorizontalPodAutoscaler @@ -2222,7 +2414,9 @@ Task> WatchNamespacedStatefulSetAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -2259,6 +2453,9 @@ Task> WatchNamespacedStatefulSetAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -2280,10 +2477,11 @@ Task> WatchNamespacedHorizontalPodAutoscalerA Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind HorizontalPodAutoscaler + /// watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the HorizontalPodAutoscaler @@ -2292,7 +2490,9 @@ Task> WatchNamespacedHorizontalPodAutoscalerA /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -2329,6 +2529,9 @@ Task> WatchNamespacedHorizontalPodAutoscalerA /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -2350,10 +2553,87 @@ Task> WatchNamespacedHorizontalPodAutosc Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, + CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// + /// + /// name of the HorizontalPodAutoscaler + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The action to invoke when the server sends a new event. + /// + /// + /// The action to invoke when an error occurs. + /// + /// + /// The action to invoke when the server closes the connection. + /// + /// + /// A which can be used to cancel the asynchronous operation. + /// + /// + /// A which represents the asynchronous operation, and returns a new watcher. + /// + Task> WatchNamespacedHorizontalPodAutoscalerAsync( + string name, + string @namespace, + string @continue = null, + string fieldSelector = null, + bool? includeUninitialized = null, + string labelSelector = null, + int? limit = null, + bool? pretty = null, + string resourceVersion = null, + int? timeoutSeconds = null, + bool? watch = null, + Dictionary> customHeaders = null, + Action onEvent = null, + Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Job + /// watch changes to an object of kind Job. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the Job @@ -2362,7 +2642,9 @@ Task> WatchNamespacedHorizontalPodAutosc /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -2399,6 +2681,9 @@ Task> WatchNamespacedHorizontalPodAutosc /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -2420,10 +2705,11 @@ Task> WatchNamespacedJobAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind CronJob + /// watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the CronJob @@ -2432,7 +2718,9 @@ Task> WatchNamespacedJobAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -2469,6 +2757,9 @@ Task> WatchNamespacedJobAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -2490,10 +2781,11 @@ Task> WatchNamespacedCronJobAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind CronJob + /// watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the CronJob @@ -2502,7 +2794,9 @@ Task> WatchNamespacedCronJobAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -2539,6 +2833,9 @@ Task> WatchNamespacedCronJobAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -2560,16 +2857,19 @@ Task> WatchNamespacedCronJobAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind CertificateSigningRequest + /// watch changes to an object of kind CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the CertificateSigningRequest /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -2606,6 +2906,9 @@ Task> WatchNamespacedCronJobAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -2626,10 +2929,87 @@ Task> WatchCertificateSigningRequestAs Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Event + /// watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// + /// + /// name of the Lease + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The action to invoke when the server sends a new event. + /// + /// + /// The action to invoke when an error occurs. + /// + /// + /// The action to invoke when the server closes the connection. + /// + /// + /// A which can be used to cancel the asynchronous operation. + /// + /// + /// A which represents the asynchronous operation, and returns a new watcher. + /// + Task> WatchNamespacedLeaseAsync( + string name, + string @namespace, + string @continue = null, + string fieldSelector = null, + bool? includeUninitialized = null, + string labelSelector = null, + int? limit = null, + bool? pretty = null, + string resourceVersion = null, + int? timeoutSeconds = null, + bool? watch = null, + Dictionary> customHeaders = null, + Action onEvent = null, + Action onError = null, + Action onClosed = null, + CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the Event @@ -2638,7 +3018,9 @@ Task> WatchCertificateSigningRequestAs /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -2675,6 +3057,9 @@ Task> WatchCertificateSigningRequestAs /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -2696,10 +3081,11 @@ Task> WatchNamespacedEventAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind DaemonSet + /// watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the DaemonSet @@ -2708,7 +3094,9 @@ Task> WatchNamespacedEventAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -2745,6 +3133,9 @@ Task> WatchNamespacedEventAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -2766,10 +3157,11 @@ Task> WatchNamespacedDaemonSetAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Ingress + /// watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the Ingress @@ -2778,7 +3170,9 @@ Task> WatchNamespacedDaemonSetAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -2815,6 +3209,9 @@ Task> WatchNamespacedDaemonSetAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -2836,10 +3233,11 @@ Task> WatchNamespacedIngressAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ReplicaSet + /// watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the ReplicaSet @@ -2848,7 +3246,9 @@ Task> WatchNamespacedIngressAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -2885,6 +3285,9 @@ Task> WatchNamespacedIngressAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -2906,10 +3309,11 @@ Task> WatchNamespacedReplicaSetAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind NetworkPolicy + /// watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the NetworkPolicy @@ -2918,7 +3322,9 @@ Task> WatchNamespacedReplicaSetAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -2955,6 +3361,9 @@ Task> WatchNamespacedReplicaSetAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -2976,10 +3385,11 @@ Task> WatchNamespacedNetworkPolicyAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind PodDisruptionBudget + /// watch changes to an object of kind PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the PodDisruptionBudget @@ -2988,7 +3398,9 @@ Task> WatchNamespacedNetworkPolicyAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -3025,6 +3437,9 @@ Task> WatchNamespacedNetworkPolicyAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -3046,16 +3461,19 @@ Task> WatchNamespacedPodDisruptionBudgetAsyn Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ClusterRoleBinding + /// watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the ClusterRoleBinding /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -3092,6 +3510,9 @@ Task> WatchNamespacedPodDisruptionBudgetAsyn /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -3112,16 +3533,19 @@ Task> WatchClusterRoleBindingAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ClusterRole + /// watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the ClusterRole /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -3158,6 +3582,9 @@ Task> WatchClusterRoleBindingAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -3178,10 +3605,11 @@ Task> WatchClusterRoleAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind RoleBinding + /// watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the RoleBinding @@ -3190,7 +3618,9 @@ Task> WatchClusterRoleAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -3227,6 +3657,9 @@ Task> WatchClusterRoleAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -3248,10 +3681,11 @@ Task> WatchNamespacedRoleBindingAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Role + /// watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the Role @@ -3260,7 +3694,9 @@ Task> WatchNamespacedRoleBindingAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -3297,6 +3733,9 @@ Task> WatchNamespacedRoleBindingAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -3318,16 +3757,19 @@ Task> WatchNamespacedRoleAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ClusterRoleBinding + /// watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the ClusterRoleBinding /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -3364,6 +3806,9 @@ Task> WatchNamespacedRoleAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -3384,16 +3829,19 @@ Task> WatchClusterRoleBindingAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ClusterRole + /// watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the ClusterRole /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -3430,6 +3878,9 @@ Task> WatchClusterRoleBindingAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -3450,10 +3901,11 @@ Task> WatchClusterRoleAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind RoleBinding + /// watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the RoleBinding @@ -3462,7 +3914,9 @@ Task> WatchClusterRoleAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -3499,6 +3953,9 @@ Task> WatchClusterRoleAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -3520,10 +3977,11 @@ Task> WatchNamespacedRoleBindingAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Role + /// watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the Role @@ -3532,7 +3990,9 @@ Task> WatchNamespacedRoleBindingAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -3569,6 +4029,9 @@ Task> WatchNamespacedRoleBindingAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -3590,16 +4053,19 @@ Task> WatchNamespacedRoleAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ClusterRoleBinding + /// watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the ClusterRoleBinding /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -3636,6 +4102,9 @@ Task> WatchNamespacedRoleAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -3656,16 +4125,19 @@ Task> WatchClusterRoleBindingAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ClusterRole + /// watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the ClusterRole /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -3702,6 +4174,9 @@ Task> WatchClusterRoleBindingAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -3722,10 +4197,11 @@ Task> WatchClusterRoleAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind RoleBinding + /// watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the RoleBinding @@ -3734,7 +4210,9 @@ Task> WatchClusterRoleAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -3771,6 +4249,9 @@ Task> WatchClusterRoleAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -3792,10 +4273,11 @@ Task> WatchNamespacedRoleBindingAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Role + /// watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the Role @@ -3804,7 +4286,9 @@ Task> WatchNamespacedRoleBindingAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -3841,6 +4325,9 @@ Task> WatchNamespacedRoleBindingAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -3862,16 +4349,19 @@ Task> WatchNamespacedRoleAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind PriorityClass + /// watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the PriorityClass /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -3908,6 +4398,9 @@ Task> WatchNamespacedRoleAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -3928,10 +4421,83 @@ Task> WatchPriorityClassAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, + CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// + /// + /// name of the PriorityClass + /// + /// + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The action to invoke when the server sends a new event. + /// + /// + /// The action to invoke when an error occurs. + /// + /// + /// The action to invoke when the server closes the connection. + /// + /// + /// A which can be used to cancel the asynchronous operation. + /// + /// + /// A which represents the asynchronous operation, and returns a new watcher. + /// + Task> WatchPriorityClassAsync( + string name, + string @continue = null, + string fieldSelector = null, + bool? includeUninitialized = null, + string labelSelector = null, + int? limit = null, + bool? pretty = null, + string resourceVersion = null, + int? timeoutSeconds = null, + bool? watch = null, + Dictionary> customHeaders = null, + Action onEvent = null, + Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind PodPreset + /// watch changes to an object of kind PodPreset. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the PodPreset @@ -3940,7 +4506,9 @@ Task> WatchPriorityClassAsync( /// object name and auth scope, such as for teams and projects /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -3977,6 +4545,9 @@ Task> WatchPriorityClassAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -3998,16 +4569,19 @@ Task> WatchNamespacedPodPresetAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind StorageClass + /// watch changes to an object of kind StorageClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the StorageClass /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -4044,6 +4618,9 @@ Task> WatchNamespacedPodPresetAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -4064,16 +4641,19 @@ Task> WatchStorageClassAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind VolumeAttachment + /// watch changes to an object of kind VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the VolumeAttachment /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -4110,6 +4690,9 @@ Task> WatchStorageClassAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -4130,16 +4713,19 @@ Task> WatchVolumeAttachmentAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind StorageClass + /// watch changes to an object of kind StorageClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the StorageClass /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -4176,6 +4762,9 @@ Task> WatchVolumeAttachmentAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -4196,16 +4785,19 @@ Task> WatchStorageClassAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind VolumeAttachment + /// watch changes to an object of kind VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// /// name of the VolumeAttachment /// /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -4242,6 +4834,9 @@ Task> WatchStorageClassAsync( /// /// The action to invoke when an error occurs. /// + /// + /// The action to invoke when the server closes the connection. + /// /// /// A which can be used to cancel the asynchronous operation. /// @@ -4262,6 +4857,7 @@ Task> WatchVolumeAttachmentAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); } diff --git a/src/KubernetesClient/generated/IKubernetes.cs b/src/KubernetesClient/generated/IKubernetes.cs index ab1638255..1a8d60054 100644 --- a/src/KubernetesClient/generated/IKubernetes.cs +++ b/src/KubernetesClient/generated/IKubernetes.cs @@ -74,11 +74,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -174,11 +183,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -257,11 +275,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -340,11 +367,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -423,11 +459,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -506,11 +551,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -627,11 +681,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -732,11 +795,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -865,6 +937,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -898,7 +976,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedConfigMapWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedConfigMapWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified ConfigMap @@ -936,11 +1014,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -1041,11 +1128,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -1174,6 +1270,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -1207,7 +1309,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedEndpointsWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedEndpointsWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified Endpoints @@ -1245,11 +1347,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -1350,11 +1461,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -1483,6 +1603,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -1516,7 +1642,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedEventWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedEventWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified Event @@ -1554,11 +1680,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -1659,11 +1794,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -1792,6 +1936,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -1825,7 +1975,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedLimitRangeWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedLimitRangeWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified LimitRange @@ -1863,11 +2013,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -1968,11 +2127,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -2101,6 +2269,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -2134,7 +2308,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedPersistentVolumeClaimWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedPersistentVolumeClaimWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified PersistentVolumeClaim @@ -2236,11 +2410,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -2341,11 +2524,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -2474,6 +2666,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -2507,7 +2705,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedPodWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedPodWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified Pod @@ -2535,7 +2733,7 @@ public partial interface IKubernetes : System.IDisposable /// connect GET requests to attach of Pod /// /// - /// name of the Pod + /// name of the PodAttachOptions /// /// /// object name and auth scope, such as for teams and projects @@ -2574,7 +2772,7 @@ public partial interface IKubernetes : System.IDisposable /// connect POST requests to attach of Pod /// /// - /// name of the Pod + /// name of the PodAttachOptions /// /// /// object name and auth scope, such as for teams and projects @@ -2657,7 +2855,7 @@ public partial interface IKubernetes : System.IDisposable /// connect GET requests to exec of Pod /// /// - /// name of the Pod + /// name of the PodExecOptions /// /// /// object name and auth scope, such as for teams and projects @@ -2698,7 +2896,7 @@ public partial interface IKubernetes : System.IDisposable /// connect POST requests to exec of Pod /// /// - /// name of the Pod + /// name of the PodExecOptions /// /// /// object name and auth scope, such as for teams and projects @@ -2791,7 +2989,7 @@ public partial interface IKubernetes : System.IDisposable /// connect GET requests to portforward of Pod /// /// - /// name of the Pod + /// name of the PodPortForwardOptions /// /// /// object name and auth scope, such as for teams and projects @@ -2811,7 +3009,7 @@ public partial interface IKubernetes : System.IDisposable /// connect POST requests to portforward of Pod /// /// - /// name of the Pod + /// name of the PodPortForwardOptions /// /// /// object name and auth scope, such as for teams and projects @@ -2831,7 +3029,7 @@ public partial interface IKubernetes : System.IDisposable /// connect GET requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -2851,7 +3049,7 @@ public partial interface IKubernetes : System.IDisposable /// connect PUT requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -2871,7 +3069,7 @@ public partial interface IKubernetes : System.IDisposable /// connect POST requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -2891,7 +3089,7 @@ public partial interface IKubernetes : System.IDisposable /// connect DELETE requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -2911,7 +3109,7 @@ public partial interface IKubernetes : System.IDisposable /// connect HEAD requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -2931,7 +3129,7 @@ public partial interface IKubernetes : System.IDisposable /// connect PATCH requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -2951,7 +3149,7 @@ public partial interface IKubernetes : System.IDisposable /// connect GET requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -2974,7 +3172,7 @@ public partial interface IKubernetes : System.IDisposable /// connect PUT requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -2997,7 +3195,7 @@ public partial interface IKubernetes : System.IDisposable /// connect POST requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -3020,7 +3218,7 @@ public partial interface IKubernetes : System.IDisposable /// connect DELETE requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -3043,7 +3241,7 @@ public partial interface IKubernetes : System.IDisposable /// connect HEAD requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -3066,7 +3264,7 @@ public partial interface IKubernetes : System.IDisposable /// connect PATCH requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -3163,11 +3361,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -3268,11 +3475,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -3401,6 +3617,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -3434,7 +3656,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedPodTemplateWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedPodTemplateWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified PodTemplate @@ -3472,11 +3694,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -3577,11 +3808,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -3710,6 +3950,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -3743,7 +3989,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedReplicationControllerWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedReplicationControllerWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified ReplicationController @@ -3909,11 +4155,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -4014,11 +4269,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -4147,6 +4411,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -4180,7 +4450,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedResourceQuotaWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedResourceQuotaWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified ResourceQuota @@ -4282,11 +4552,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -4387,11 +4666,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -4520,6 +4808,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -4553,7 +4847,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedSecretWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedSecretWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified Secret @@ -4591,11 +4885,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -4696,11 +4999,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -4829,6 +5141,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -4862,7 +5180,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedServiceAccountWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedServiceAccountWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified ServiceAccount @@ -4900,11 +5218,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -5052,6 +5379,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -5085,7 +5418,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedServiceWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedServiceWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified Service @@ -5113,7 +5446,7 @@ public partial interface IKubernetes : System.IDisposable /// connect GET requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5137,7 +5470,7 @@ public partial interface IKubernetes : System.IDisposable /// connect PUT requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5161,7 +5494,7 @@ public partial interface IKubernetes : System.IDisposable /// connect POST requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5185,7 +5518,7 @@ public partial interface IKubernetes : System.IDisposable /// connect DELETE requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5209,7 +5542,7 @@ public partial interface IKubernetes : System.IDisposable /// connect HEAD requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5233,7 +5566,7 @@ public partial interface IKubernetes : System.IDisposable /// connect PATCH requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5257,7 +5590,7 @@ public partial interface IKubernetes : System.IDisposable /// connect GET requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5284,7 +5617,7 @@ public partial interface IKubernetes : System.IDisposable /// connect PUT requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5311,7 +5644,7 @@ public partial interface IKubernetes : System.IDisposable /// connect POST requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5338,7 +5671,7 @@ public partial interface IKubernetes : System.IDisposable /// connect DELETE requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5365,7 +5698,7 @@ public partial interface IKubernetes : System.IDisposable /// connect HEAD requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5392,7 +5725,7 @@ public partial interface IKubernetes : System.IDisposable /// connect PATCH requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5531,6 +5864,12 @@ public partial interface IKubernetes : System.IDisposable /// /// name of the Namespace /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -5564,7 +5903,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespaceWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespaceWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified Namespace @@ -5670,11 +6009,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -5769,11 +6117,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -5893,6 +6250,12 @@ public partial interface IKubernetes : System.IDisposable /// /// name of the Node /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -5926,7 +6289,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNodeWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNodeWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified Node @@ -5951,7 +6314,7 @@ public partial interface IKubernetes : System.IDisposable /// connect GET requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -5968,7 +6331,7 @@ public partial interface IKubernetes : System.IDisposable /// connect PUT requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -5985,7 +6348,7 @@ public partial interface IKubernetes : System.IDisposable /// connect POST requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -6002,7 +6365,7 @@ public partial interface IKubernetes : System.IDisposable /// connect DELETE requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -6019,7 +6382,7 @@ public partial interface IKubernetes : System.IDisposable /// connect HEAD requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -6036,7 +6399,7 @@ public partial interface IKubernetes : System.IDisposable /// connect PATCH requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -6053,7 +6416,7 @@ public partial interface IKubernetes : System.IDisposable /// connect GET requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -6073,7 +6436,7 @@ public partial interface IKubernetes : System.IDisposable /// connect PUT requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -6093,7 +6456,7 @@ public partial interface IKubernetes : System.IDisposable /// connect POST requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -6113,7 +6476,7 @@ public partial interface IKubernetes : System.IDisposable /// connect DELETE requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -6133,7 +6496,7 @@ public partial interface IKubernetes : System.IDisposable /// connect HEAD requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -6153,7 +6516,7 @@ public partial interface IKubernetes : System.IDisposable /// connect PATCH requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -6235,11 +6598,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -6318,11 +6690,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -6417,11 +6798,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -6541,6 +6931,12 @@ public partial interface IKubernetes : System.IDisposable /// /// name of the PersistentVolume /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -6574,7 +6970,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeletePersistentVolumeWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeletePersistentVolumeWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified PersistentVolume @@ -6661,11 +7057,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -6744,11 +7149,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -6827,11 +7241,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -6910,11 +7333,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -6993,11 +7425,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -7076,11 +7517,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -7159,11 +7609,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -7275,11 +7734,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -7374,11 +7842,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -7498,6 +7975,12 @@ public partial interface IKubernetes : System.IDisposable /// /// name of the InitializerConfiguration /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -7531,7 +8014,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteInitializerConfigurationWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteInitializerConfigurationWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified InitializerConfiguration @@ -7574,11 +8057,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -7673,11 +8165,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -7797,6 +8298,12 @@ public partial interface IKubernetes : System.IDisposable /// /// name of the MutatingWebhookConfiguration /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -7830,7 +8337,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteMutatingWebhookConfigurationWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteMutatingWebhookConfigurationWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified MutatingWebhookConfiguration @@ -7862,11 +8369,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -7961,11 +8477,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -8085,6 +8610,12 @@ public partial interface IKubernetes : System.IDisposable /// /// name of the ValidatingWebhookConfiguration /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -8118,7 +8649,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteValidatingWebhookConfigurationWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteValidatingWebhookConfigurationWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified ValidatingWebhookConfiguration @@ -8172,11 +8703,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -8271,11 +8811,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -8395,6 +8944,12 @@ public partial interface IKubernetes : System.IDisposable /// /// name of the CustomResourceDefinition /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -8428,7 +8983,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCustomResourceDefinitionWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCustomResourceDefinitionWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified CustomResourceDefinition @@ -8449,6 +9004,23 @@ public partial interface IKubernetes : System.IDisposable /// Task> PatchCustomResourceDefinitionWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// read status of the specified CustomResourceDefinition + /// + /// + /// name of the CustomResourceDefinition + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReadCustomResourceDefinitionStatusWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// replace status of the specified CustomResourceDefinition /// @@ -8468,6 +9040,25 @@ public partial interface IKubernetes : System.IDisposable /// Task> ReplaceCustomResourceDefinitionStatusWithHttpMessagesAsync(V1beta1CustomResourceDefinition body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// partially update status of the specified CustomResourceDefinition + /// + /// + /// + /// + /// name of the CustomResourceDefinition + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchCustomResourceDefinitionStatusWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// get information of a group /// @@ -8501,11 +9092,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -8600,11 +9200,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -8724,6 +9333,12 @@ public partial interface IKubernetes : System.IDisposable /// /// name of the APIService /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -8757,7 +9372,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteAPIServiceWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteAPIServiceWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified APIService @@ -8778,6 +9393,23 @@ public partial interface IKubernetes : System.IDisposable /// Task> PatchAPIServiceWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// read status of the specified APIService + /// + /// + /// name of the APIService + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReadAPIServiceStatusWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// replace status of the specified APIService /// @@ -8797,6 +9429,25 @@ public partial interface IKubernetes : System.IDisposable /// Task> ReplaceAPIServiceStatusWithHttpMessagesAsync(V1APIService body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// partially update status of the specified APIService + /// + /// + /// + /// + /// name of the APIService + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchAPIServiceStatusWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// get available resources /// @@ -8819,11 +9470,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -8918,11 +9578,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -9042,6 +9711,12 @@ public partial interface IKubernetes : System.IDisposable /// /// name of the APIService /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -9075,7 +9750,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteAPIService1WithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteAPIService1WithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified APIService @@ -9096,6 +9771,23 @@ public partial interface IKubernetes : System.IDisposable /// Task> PatchAPIService1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// read status of the specified APIService + /// + /// + /// name of the APIService + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReadAPIServiceStatus1WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// replace status of the specified APIService /// @@ -9115,6 +9807,25 @@ public partial interface IKubernetes : System.IDisposable /// Task> ReplaceAPIServiceStatus1WithHttpMessagesAsync(V1beta1APIService body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// partially update status of the specified APIService + /// + /// + /// + /// + /// name of the APIService + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchAPIServiceStatus1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// get information of a group /// @@ -9148,11 +9859,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -9231,11 +9951,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -9314,11 +10043,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -9400,11 +10138,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -9505,11 +10252,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -9638,6 +10394,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -9671,7 +10433,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedControllerRevisionWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedControllerRevisionWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified ControllerRevision @@ -9709,11 +10471,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -9814,11 +10585,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -9947,6 +10727,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -9980,7 +10766,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedDaemonSetWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedDaemonSetWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified DaemonSet @@ -10082,11 +10868,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -10187,11 +10982,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -10320,6 +11124,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -10353,7 +11163,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedDeploymentWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedDeploymentWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified Deployment @@ -10519,11 +11329,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -10624,11 +11443,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -10757,6 +11585,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -10790,7 +11624,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedReplicaSetWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedReplicaSetWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified ReplicaSet @@ -10956,11 +11790,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -11061,11 +11904,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -11194,6 +12046,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -11227,7 +12085,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedStatefulSetWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedStatefulSetWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified StatefulSet @@ -11390,11 +12248,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -11473,11 +12340,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -11567,11 +12443,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -11650,11 +12535,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -11736,11 +12630,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -11841,11 +12744,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -11974,6 +12886,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -12007,7 +12925,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedControllerRevision1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedControllerRevision1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified ControllerRevision @@ -12045,11 +12963,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -12150,11 +13077,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -12283,6 +13219,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -12316,7 +13258,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedDeployment1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedDeployment1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified Deployment @@ -12360,7 +13302,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedDeploymentRollbackWithHttpMessagesAsync(Appsv1beta1DeploymentRollback body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedDeploymentRollbackWithHttpMessagesAsync(Appsv1beta1DeploymentRollback body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read scale of the specified Deployment @@ -12504,11 +13446,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -12609,11 +13560,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -12742,6 +13702,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -12775,7 +13741,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedStatefulSet1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedStatefulSet1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified StatefulSet @@ -12938,11 +13904,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -13032,11 +14007,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -13115,11 +14099,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -13198,11 +14191,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -13284,11 +14286,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -13389,11 +14400,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -13522,6 +14542,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -13555,7 +14581,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedControllerRevision2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedControllerRevision2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified ControllerRevision @@ -13593,11 +14619,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -13698,11 +14733,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -13831,6 +14875,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -13864,7 +14914,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedDaemonSet1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedDaemonSet1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified DaemonSet @@ -13966,11 +15016,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -14071,11 +15130,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -14204,6 +15272,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -14237,7 +15311,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedDeployment2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedDeployment2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified Deployment @@ -14403,11 +15477,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -14508,11 +15591,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -14641,6 +15733,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -14674,7 +15772,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedReplicaSet1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedReplicaSet1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified ReplicaSet @@ -14840,11 +15938,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -14945,11 +16052,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -15078,6 +16194,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -15111,7 +16233,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedStatefulSet2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedStatefulSet2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified StatefulSet @@ -15274,11 +16396,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -15357,11 +16488,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -15694,11 +16834,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -15780,11 +16929,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -15885,11 +17043,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -16018,6 +17185,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -16051,7 +17224,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified HorizontalPodAutoscaler @@ -16161,11 +17334,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -16247,11 +17429,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -16352,11 +17543,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -16485,6 +17685,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -16518,7 +17724,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified HorizontalPodAutoscaler @@ -16606,17 +17812,6 @@ public partial interface IKubernetes : System.IDisposable /// Task> PatchNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// get information of a group - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIGroup7WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// /// get available resources /// @@ -16629,7 +17824,7 @@ public partial interface IKubernetes : System.IDisposable Task> GetAPIResources15WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Job + /// list or watch objects of kind HorizontalPodAutoscaler /// /// /// The continue option should be set when retrieving more results from @@ -16639,11 +17834,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -16709,10 +17913,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListJobForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListHorizontalPodAutoscalerForAllNamespaces2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Job + /// list or watch objects of kind HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -16725,11 +17929,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -16795,10 +18008,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedJobWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a Job + /// create a HorizontalPodAutoscaler /// /// /// @@ -16814,10 +18027,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedJobWithHttpMessagesAsync(V1Job body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(V2beta2HorizontalPodAutoscaler body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of Job + /// delete collection of HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -16830,11 +18043,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -16900,13 +18122,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedJobWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified Job + /// read the specified HorizontalPodAutoscaler /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -16928,15 +18150,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedJobWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified Job + /// replace the specified HorizontalPodAutoscaler /// /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -16950,19 +18172,25 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedJobWithHttpMessagesAsync(V1Job body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a Job + /// delete a HorizontalPodAutoscaler /// /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -16996,15 +18224,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedJobWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified Job + /// partially update the specified HorizontalPodAutoscaler /// /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -17018,13 +18246,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedJobWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read status of the specified Job + /// read status of the specified HorizontalPodAutoscaler /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -17038,15 +18266,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedJobStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace status of the specified Job + /// replace status of the specified HorizontalPodAutoscaler /// /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -17060,15 +18288,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedJobStatusWithHttpMessagesAsync(V1Job body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update status of the specified Job + /// partially update status of the specified HorizontalPodAutoscaler /// /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -17082,7 +18310,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedJobStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// get information of a group + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> GetAPIGroup7WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -17096,7 +18335,7 @@ public partial interface IKubernetes : System.IDisposable Task> GetAPIResources16WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind CronJob + /// list or watch objects of kind Job /// /// /// The continue option should be set when retrieving more results from @@ -17106,11 +18345,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -17176,10 +18424,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListCronJobForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListJobForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind CronJob + /// list or watch objects of kind Job /// /// /// object name and auth scope, such as for teams and projects @@ -17192,11 +18440,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -17262,10 +18519,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedCronJobWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedJobWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a CronJob + /// create a Job /// /// /// @@ -17281,10 +18538,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedCronJobWithHttpMessagesAsync(V1beta1CronJob body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedJobWithHttpMessagesAsync(V1Job body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of CronJob + /// delete collection of Job /// /// /// object name and auth scope, such as for teams and projects @@ -17297,11 +18554,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -17367,13 +18633,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedCronJobWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedJobWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified CronJob + /// read the specified Job /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -17395,15 +18661,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedCronJobWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedJobWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified CronJob + /// replace the specified Job /// /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -17417,19 +18683,25 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedCronJobWithHttpMessagesAsync(V1beta1CronJob body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedJobWithHttpMessagesAsync(V1Job body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a CronJob + /// delete a Job /// /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -17463,15 +18735,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedCronJobWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedJobWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified CronJob + /// partially update the specified Job /// /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -17485,13 +18757,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedCronJobWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedJobWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read status of the specified CronJob + /// read status of the specified Job /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -17505,15 +18777,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedCronJobStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedJobStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace status of the specified CronJob + /// replace status of the specified Job /// /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -17527,15 +18799,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedCronJobStatusWithHttpMessagesAsync(V1beta1CronJob body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedJobStatusWithHttpMessagesAsync(V1Job body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update status of the specified CronJob + /// partially update status of the specified Job /// /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -17549,7 +18821,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedCronJobStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedJobStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -17573,11 +18845,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -17643,7 +18924,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListCronJobForAllNamespaces1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListCronJobForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind CronJob @@ -17659,11 +18940,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -17729,7 +19019,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedCronJob1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedCronJobWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// create a CronJob @@ -17748,7 +19038,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedCronJob1WithHttpMessagesAsync(V2alpha1CronJob body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedCronJobWithHttpMessagesAsync(V1beta1CronJob body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete collection of CronJob @@ -17764,11 +19054,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -17834,7 +19133,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedCronJob1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedCronJobWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read the specified CronJob @@ -17862,7 +19161,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedCronJob1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedCronJobWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// replace the specified CronJob @@ -17884,7 +19183,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedCronJob1WithHttpMessagesAsync(V2alpha1CronJob body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedCronJobWithHttpMessagesAsync(V1beta1CronJob body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete a CronJob @@ -17897,6 +19196,12 @@ public partial interface IKubernetes : System.IDisposable /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -17930,7 +19235,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedCronJob1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedCronJobWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified CronJob @@ -17952,7 +19257,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedCronJob1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedCronJobWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read status of the specified CronJob @@ -17972,7 +19277,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedCronJobStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedCronJobStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// replace status of the specified CronJob @@ -17994,7 +19299,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedCronJobStatus1WithHttpMessagesAsync(V2alpha1CronJob body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedCronJobStatusWithHttpMessagesAsync(V1beta1CronJob body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update status of the specified CronJob @@ -18016,18 +19321,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedCronJobStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get information of a group - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIGroup8WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedCronJobStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -18041,7 +19335,7 @@ public partial interface IKubernetes : System.IDisposable Task> GetAPIResources18WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind CertificateSigningRequest + /// list or watch objects of kind CronJob /// /// /// The continue option should be set when retrieving more results from @@ -18051,11 +19345,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -18094,6 +19397,9 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -18112,36 +19418,20 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListCertificateSigningRequestWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListCronJobForAllNamespaces1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a CertificateSigningRequest + /// list or watch objects of kind CronJob /// - /// - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. + /// + /// object name and auth scope, such as for teams and projects /// - Task> CreateCertificateSigningRequestWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete collection of CertificateSigningRequest - /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -18150,11 +19440,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -18220,21 +19519,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionCertificateSigningRequestWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedCronJob1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified CertificateSigningRequest + /// create a CronJob /// - /// - /// name of the CertificateSigningRequest - /// - /// - /// Should the export be exact. Exact export maintains - /// cluster-specific fields like 'Namespace'. + /// /// - /// - /// Should this value be exported. Export strips fields that a user - /// can not specify. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -18245,34 +19538,169 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadCertificateSigningRequestWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedCronJob1WithHttpMessagesAsync(V2alpha1CronJob body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified CertificateSigningRequest + /// delete collection of CronJob /// - /// - /// - /// - /// name of the CertificateSigningRequest + /// + /// object name and auth scope, such as for teams and projects /// - /// - /// If 'true', then the output is pretty printed. + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// - /// - /// The headers that will be added to request. + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the + /// response. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ReplaceCertificateSigningRequestWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedCronJob1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a CertificateSigningRequest + /// read the specified CronJob + /// + /// + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// Should the export be exact. Exact export maintains + /// cluster-specific fields like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user + /// can not specify. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReadNamespacedCronJob1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// replace the specified CronJob /// /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReplaceNamespacedCronJob1WithHttpMessagesAsync(V2alpha1CronJob body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete a CronJob + /// + /// + /// + /// + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value @@ -18307,15 +19735,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCertificateSigningRequestWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedCronJob1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified CertificateSigningRequest + /// partially update the specified CronJob /// /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -18326,15 +19757,38 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchCertificateSigningRequestWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedCronJob1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace approval of the specified CertificateSigningRequest + /// read status of the specified CronJob + /// + /// + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReadNamespacedCronJobStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// replace status of the specified CronJob /// /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -18345,15 +19799,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceCertificateSigningRequestApprovalWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedCronJobStatus1WithHttpMessagesAsync(V2alpha1CronJob body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace status of the specified CertificateSigningRequest + /// partially update status of the specified CronJob /// /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -18364,7 +19821,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceCertificateSigningRequestStatusWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedCronJobStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get information of a group @@ -18375,7 +19832,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIGroup9WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIGroup8WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -18389,7 +19846,7 @@ public partial interface IKubernetes : System.IDisposable Task> GetAPIResources19WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Event + /// list or watch objects of kind CertificateSigningRequest /// /// /// The continue option should be set when retrieving more results from @@ -18399,11 +19856,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -18442,9 +19908,6 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -18463,20 +19926,36 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListEventForAllNamespaces1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListCertificateSigningRequestWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Event + /// create a CertificateSigningRequest /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. /// + /// + /// The cancellation token. + /// + Task> CreateCertificateSigningRequestWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete collection of CertificateSigningRequest + /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -18485,11 +19964,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -18555,15 +20043,21 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedEvent1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionCertificateSigningRequestWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create an Event + /// read the specified CertificateSigningRequest /// - /// + /// + /// name of the CertificateSigningRequest /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// Should the export be exact. Exact export maintains + /// cluster-specific fields like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user + /// can not specify. /// /// /// If 'true', then the output is pretty printed. @@ -18574,82 +20068,64 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedEvent1WithHttpMessagesAsync(V1beta1Event body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadCertificateSigningRequestWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of Event + /// replace the specified CertificateSigningRequest /// - /// - /// object name and auth scope, such as for teams and projects + /// /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// + /// name of the CertificateSigningRequest /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. + /// + /// If 'true', then the output is pretty printed. /// - /// - /// If true, partially initialized resources are included in the - /// response. + /// + /// The headers that will be added to request. /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. + /// + /// The cancellation token. /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. + Task> ReplaceCertificateSigningRequestWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete a CertificateSigningRequest + /// + /// /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. + /// + /// name of the CertificateSigningRequest /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. + /// + /// The duration in seconds before the object should be deleted. Value + /// must be non-negative integer. The value zero indicates delete + /// immediately. If this value is nil, the default grace period for the + /// specified type will be used. Defaults to a per object value if not + /// specified. zero means delete immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be + /// deprecated in 1.7. Should the dependent objects be orphaned. If + /// true/false, the "orphan" finalizer will be added to/removed from + /// the object's finalizers list. Either this field or + /// PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this + /// field or OrphanDependents may be set, but not both. The default + /// policy is decided by the existing finalizer set in the + /// metadata.finalizers and the resource-specific default policy. + /// Acceptable values are: 'Orphan' - orphan the dependents; + /// 'Background' - allow the garbage collector to delete the dependents + /// in the background; 'Foreground' - a cascading policy that deletes + /// all dependents in the foreground. /// /// /// If 'true', then the output is pretty printed. @@ -18660,24 +20136,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedEvent1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCertificateSigningRequestWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified Event + /// partially update the specified CertificateSigningRequest /// - /// - /// name of the Event - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains - /// cluster-specific fields like 'Namespace'. + /// /// - /// - /// Should this value be exported. Export strips fields that a user - /// can not specify. + /// + /// name of the CertificateSigningRequest /// /// /// If 'true', then the output is pretty printed. @@ -18688,18 +20155,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedEvent1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchCertificateSigningRequestWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified Event + /// replace approval of the specified CertificateSigningRequest /// /// /// /// - /// name of the Event - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// If 'true', then the output is pretty printed. @@ -18710,42 +20174,32 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedEvent1WithHttpMessagesAsync(V1beta1Event body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceCertificateSigningRequestApprovalWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete an Event + /// read status of the specified CertificateSigningRequest /// - /// - /// /// - /// name of the Event + /// name of the CertificateSigningRequest /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// If 'true', then the output is pretty printed. /// - /// - /// The duration in seconds before the object should be deleted. Value - /// must be non-negative integer. The value zero indicates delete - /// immediately. If this value is nil, the default grace period for the - /// specified type will be used. Defaults to a per object value if not - /// specified. zero means delete immediately. + /// + /// The headers that will be added to request. /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be - /// deprecated in 1.7. Should the dependent objects be orphaned. If - /// true/false, the "orphan" finalizer will be added to/removed from - /// the object's finalizers list. Either this field or - /// PropagationPolicy may be set, but not both. + /// + /// The cancellation token. /// - /// - /// Whether and how garbage collection will be performed. Either this - /// field or OrphanDependents may be set, but not both. The default - /// policy is decided by the existing finalizer set in the - /// metadata.finalizers and the resource-specific default policy. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. + Task> ReadCertificateSigningRequestStatusWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// replace status of the specified CertificateSigningRequest + /// + /// + /// + /// + /// name of the CertificateSigningRequest /// /// /// If 'true', then the output is pretty printed. @@ -18756,18 +20210,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedEvent1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceCertificateSigningRequestStatusWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified Event + /// partially update status of the specified CertificateSigningRequest /// /// /// /// - /// name of the Event - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// If 'true', then the output is pretty printed. @@ -18778,7 +20229,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedEvent1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchCertificateSigningRequestStatusWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get information of a group @@ -18789,7 +20240,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIGroup10WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIGroup9WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -18803,7 +20254,7 @@ public partial interface IKubernetes : System.IDisposable Task> GetAPIResources20WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind DaemonSet + /// list or watch objects of kind Lease /// /// /// The continue option should be set when retrieving more results from @@ -18813,11 +20264,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -18883,11 +20343,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListDaemonSetForAllNamespaces2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListLeaseForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Deployment + /// list or watch objects of kind Lease /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -18896,11 +20359,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -18939,9 +20411,6 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -18960,99 +20429,38 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListDeploymentForAllNamespaces3WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedLeaseWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Ingress + /// create a Lease /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the - /// response. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. + /// /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListIngressForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedLeaseWithHttpMessagesAsync(V1beta1Lease body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind DaemonSet + /// delete collection of Lease /// /// /// object name and auth scope, such as for teams and projects @@ -19065,11 +20473,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -19135,16 +20552,25 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedDaemonSet2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedLeaseWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a DaemonSet + /// read the specified Lease /// - /// + /// + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// Should the export be exact. Exact export maintains + /// cluster-specific fields like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user + /// can not specify. + /// /// /// If 'true', then the output is pretty printed. /// @@ -19154,113 +20580,21 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedDaemonSet2WithHttpMessagesAsync(V1beta1DaemonSet body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedLeaseWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of DaemonSet + /// replace the specified Lease /// + /// + /// + /// + /// name of the Lease + /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the - /// response. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteCollectionNamespacedDaemonSet2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read the specified DaemonSet - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains - /// cluster-specific fields like 'Namespace'. - /// - /// - /// Should this value be exported. Export strips fields that a user - /// can not specify. - /// - /// - /// If 'true', then the output is pretty printed. + /// + /// If 'true', then the output is pretty printed. /// /// /// The headers that will be added to request. @@ -19268,40 +20602,24 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedDaemonSet2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedLeaseWithHttpMessagesAsync(V1beta1Lease body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified DaemonSet + /// delete a Lease /// /// /// /// - /// name of the DaemonSet + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedDaemonSet2WithHttpMessagesAsync(V1beta1DaemonSet body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete a DaemonSet - /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value @@ -19336,15 +20654,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedDaemonSet2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedLeaseWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified DaemonSet + /// partially update the specified Lease /// /// /// /// - /// name of the DaemonSet + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -19358,74 +20676,124 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedDaemonSet2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedLeaseWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read status of the specified DaemonSet + /// get information of a group /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ReadNamespacedDaemonSetStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIGroup10WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace status of the specified DaemonSet + /// get available resources /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ReplaceNamespacedDaemonSetStatus2WithHttpMessagesAsync(V1beta1DaemonSet body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources21WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update status of the specified DaemonSet + /// list or watch objects of kind Event /// - /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// - /// - /// name of the DaemonSet + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// If true, partially initialized resources are included in the + /// response. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> PatchNamespacedDaemonSetStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListEventForAllNamespaces1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Deployment + /// list or watch objects of kind Event /// /// /// object name and auth scope, such as for teams and projects @@ -19438,11 +20806,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -19508,10 +20885,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedDeployment3WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedEvent1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a Deployment + /// create an Event /// /// /// @@ -19527,10 +20904,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedDeployment3WithHttpMessagesAsync(Extensionsv1beta1Deployment body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedEvent1WithHttpMessagesAsync(V1beta1Event body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of Deployment + /// delete collection of Event /// /// /// object name and auth scope, such as for teams and projects @@ -19543,11 +20920,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -19613,13 +20999,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedDeployment3WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedEvent1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified Deployment + /// read the specified Event /// /// - /// name of the Deployment + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -19641,15 +21027,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedDeployment3WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedEvent1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified Deployment + /// replace the specified Event /// /// /// /// - /// name of the Deployment + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -19663,19 +21049,25 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedDeployment3WithHttpMessagesAsync(Extensionsv1beta1Deployment body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedEvent1WithHttpMessagesAsync(V1beta1Event body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a Deployment + /// delete an Event /// /// /// /// - /// name of the Deployment + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -19709,15 +21101,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedDeployment3WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedEvent1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified Deployment + /// partially update the specified Event /// /// /// /// - /// name of the Deployment + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -19731,105 +21123,113 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedDeployment3WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedEvent1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create rollback of a Deployment + /// get information of a group /// - /// + /// + /// The headers that will be added to request. /// - /// - /// name of the DeploymentRollback + /// + /// The cancellation token. /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> CreateNamespacedDeploymentRollback1WithHttpMessagesAsync(Extensionsv1beta1DeploymentRollback body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIGroup11WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read scale of the specified Deployment + /// get available resources /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ReadNamespacedDeploymentScale3WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources22WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace scale of the specified Deployment + /// list or watch objects of kind DaemonSet /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// - /// - /// The cancellation token. + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. /// - Task> ReplaceNamespacedDeploymentScale3WithHttpMessagesAsync(Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update scale of the specified Deployment - /// - /// + /// + /// If true, partially initialized resources are included in the + /// response. /// - /// - /// name of the Scale + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedDeploymentScale3WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read status of the specified Deployment - /// - /// - /// name of the Deployment + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. /// /// /// The headers that will be added to request. @@ -19837,43 +21237,91 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedDeploymentStatus3WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListDaemonSetForAllNamespaces2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace status of the specified Deployment + /// list or watch objects of kind Deployment /// - /// - /// - /// - /// name of the Deployment + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// If true, partially initialized resources are included in the + /// response. /// - /// - /// The headers that will be added to request. + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. /// - /// - /// The cancellation token. + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. /// - Task> ReplaceNamespacedDeploymentStatus3WithHttpMessagesAsync(Extensionsv1beta1Deployment body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update status of the specified Deployment - /// - /// + /// + /// If 'true', then the output is pretty printed. /// - /// - /// name of the Deployment + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. /// /// /// The headers that will be added to request. @@ -19881,14 +21329,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedDeploymentStatus3WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListDeploymentForAllNamespaces3WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind Ingress /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -19897,11 +21342,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -19940,6 +21394,9 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -19958,38 +21415,16 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListNamespacedIngressWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create an Ingress - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> CreateNamespacedIngressWithHttpMessagesAsync(V1beta1Ingress body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListIngressForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of Ingress + /// list or watch objects of kind DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -20002,11 +21437,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -20072,18 +21516,132 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedIngressWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedDaemonSet2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified Ingress + /// create a DaemonSet /// - /// - /// name of the Ingress + /// /// /// /// object name and auth scope, such as for teams and projects /// - /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> CreateNamespacedDaemonSet2WithHttpMessagesAsync(V1beta1DaemonSet body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete collection of DaemonSet + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the + /// response. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> DeleteCollectionNamespacedDaemonSet2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// read the specified DaemonSet + /// + /// + /// name of the DaemonSet + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// /// Should the export be exact. Exact export maintains /// cluster-specific fields like 'Namespace'. /// @@ -20100,15 +21658,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedIngressWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedDaemonSet2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified Ingress + /// replace the specified DaemonSet /// /// /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -20122,19 +21680,25 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedIngressWithHttpMessagesAsync(V1beta1Ingress body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedDaemonSet2WithHttpMessagesAsync(V1beta1DaemonSet body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete an Ingress + /// delete a DaemonSet /// /// /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -20168,15 +21732,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedIngressWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedDaemonSet2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified Ingress + /// partially update the specified DaemonSet /// /// /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -20190,13 +21754,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedIngressWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedDaemonSet2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read status of the specified Ingress + /// read status of the specified DaemonSet /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -20210,15 +21774,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedIngressStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedDaemonSetStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace status of the specified Ingress + /// replace status of the specified DaemonSet /// /// /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -20232,15 +21796,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedIngressStatusWithHttpMessagesAsync(V1beta1Ingress body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedDaemonSetStatus2WithHttpMessagesAsync(V1beta1DaemonSet body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update status of the specified Ingress + /// partially update status of the specified DaemonSet /// /// /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -20254,10 +21818,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedIngressStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedDaemonSetStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind NetworkPolicy + /// list or watch objects of kind Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -20270,11 +21834,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -20340,10 +21913,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedNetworkPolicyWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedDeployment3WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a NetworkPolicy + /// create a Deployment /// /// /// @@ -20359,10 +21932,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedNetworkPolicyWithHttpMessagesAsync(V1beta1NetworkPolicy body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedDeployment3WithHttpMessagesAsync(Extensionsv1beta1Deployment body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of NetworkPolicy + /// delete collection of Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -20375,11 +21948,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -20445,13 +22027,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedNetworkPolicyWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedDeployment3WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified NetworkPolicy + /// read the specified Deployment /// /// - /// name of the NetworkPolicy + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -20473,15 +22055,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedNetworkPolicyWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedDeployment3WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified NetworkPolicy + /// replace the specified Deployment /// /// /// /// - /// name of the NetworkPolicy + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -20495,19 +22077,25 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedNetworkPolicyWithHttpMessagesAsync(V1beta1NetworkPolicy body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedDeployment3WithHttpMessagesAsync(Extensionsv1beta1Deployment body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a NetworkPolicy + /// delete a Deployment /// /// /// /// - /// name of the NetworkPolicy + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -20541,15 +22129,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedNetworkPolicyWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedDeployment3WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified NetworkPolicy + /// partially update the specified Deployment /// /// /// /// - /// name of the NetworkPolicy + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -20563,82 +22151,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedNetworkPolicyWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedDeployment3WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind ReplicaSet + /// create rollback of a Deployment /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the - /// response. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. + /// /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. + /// + /// name of the DeploymentRollback /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -20649,12 +22173,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedReplicaSet2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedDeploymentRollback1WithHttpMessagesAsync(Extensionsv1beta1DeploymentRollback body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a ReplicaSet + /// read scale of the specified Deployment /// - /// + /// + /// name of the Scale /// /// /// object name and auth scope, such as for teams and projects @@ -20668,10 +22193,118 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedReplicaSet2WithHttpMessagesAsync(V1beta1ReplicaSet body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedDeploymentScale3WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of ReplicaSet + /// replace scale of the specified Deployment + /// + /// + /// + /// + /// name of the Scale + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReplaceNamespacedDeploymentScale3WithHttpMessagesAsync(Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// partially update scale of the specified Deployment + /// + /// + /// + /// + /// name of the Scale + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchNamespacedDeploymentScale3WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// read status of the specified Deployment + /// + /// + /// name of the Deployment + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReadNamespacedDeploymentStatus3WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// replace status of the specified Deployment + /// + /// + /// + /// + /// name of the Deployment + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReplaceNamespacedDeploymentStatus3WithHttpMessagesAsync(Extensionsv1beta1Deployment body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// partially update status of the specified Deployment + /// + /// + /// + /// + /// name of the Deployment + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchNamespacedDeploymentStatus3WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// list or watch objects of kind Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -20684,11 +22317,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -20754,13 +22396,127 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedReplicaSet2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedIngressWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified ReplicaSet + /// create an Ingress + /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> CreateNamespacedIngressWithHttpMessagesAsync(V1beta1Ingress body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete collection of Ingress + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the + /// response. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> DeleteCollectionNamespacedIngressWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// read the specified Ingress /// /// - /// name of the ReplicaSet + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -20782,15 +22538,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedReplicaSet2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedIngressWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified ReplicaSet + /// replace the specified Ingress /// /// /// /// - /// name of the ReplicaSet + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -20804,19 +22560,25 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedReplicaSet2WithHttpMessagesAsync(V1beta1ReplicaSet body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedIngressWithHttpMessagesAsync(V1beta1Ingress body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a ReplicaSet + /// delete an Ingress /// /// /// /// - /// name of the ReplicaSet + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -20850,15 +22612,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedReplicaSet2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedIngressWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified ReplicaSet + /// partially update the specified Ingress /// /// /// /// - /// name of the ReplicaSet + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -20872,13 +22634,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedReplicaSet2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedIngressWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read scale of the specified ReplicaSet + /// read status of the specified Ingress /// /// - /// name of the Scale + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -20892,15 +22654,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedReplicaSetScale2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedIngressStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace scale of the specified ReplicaSet + /// replace status of the specified Ingress /// /// /// /// - /// name of the Scale + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -20914,15 +22676,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedReplicaSetScale2WithHttpMessagesAsync(Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedIngressStatusWithHttpMessagesAsync(V1beta1Ingress body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update scale of the specified ReplicaSet + /// partially update status of the specified Ingress /// /// /// /// - /// name of the Scale + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -20936,139 +22698,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedReplicaSetScale2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedIngressStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read status of the specified ReplicaSet - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedReplicaSetStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace status of the specified ReplicaSet - /// - /// - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedReplicaSetStatus2WithHttpMessagesAsync(V1beta1ReplicaSet body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update status of the specified ReplicaSet - /// - /// - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedReplicaSetStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read scale of the specified ReplicationControllerDummy - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace scale of the specified ReplicationControllerDummy - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update scale of the specified ReplicationControllerDummy + /// list or watch objects of kind NetworkPolicy /// - /// - /// - /// - /// name of the Scale - /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind NetworkPolicy - /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -21077,94 +22714,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the - /// response. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListNetworkPolicyForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind PodSecurityPolicy - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -21230,13 +22793,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListPodSecurityPolicyWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedNetworkPolicyWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a PodSecurityPolicy + /// create a NetworkPolicy /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// @@ -21246,11 +22812,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreatePodSecurityPolicyWithHttpMessagesAsync(Extensionsv1beta1PodSecurityPolicy body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedNetworkPolicyWithHttpMessagesAsync(V1beta1NetworkPolicy body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of PodSecurityPolicy + /// delete collection of NetworkPolicy /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -21259,11 +22828,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -21329,13 +22907,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionPodSecurityPolicyWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedNetworkPolicyWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified PodSecurityPolicy + /// read the specified NetworkPolicy /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains @@ -21354,15 +22935,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadPodSecurityPolicyWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedNetworkPolicyWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified PodSecurityPolicy + /// replace the specified NetworkPolicy /// /// /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -21373,15 +22957,24 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplacePodSecurityPolicyWithHttpMessagesAsync(Extensionsv1beta1PodSecurityPolicy body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedNetworkPolicyWithHttpMessagesAsync(V1beta1NetworkPolicy body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a PodSecurityPolicy + /// delete a NetworkPolicy /// /// /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value @@ -21416,15 +23009,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeletePodSecurityPolicyWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedNetworkPolicyWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified PodSecurityPolicy + /// partially update the specified NetworkPolicy /// /// /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -21435,116 +23031,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchPodSecurityPolicyWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedNetworkPolicyWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind ReplicaSet /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the - /// response. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListReplicaSetForAllNamespaces2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get information of a group - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIGroup11WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get available resources - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIResources21WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind NetworkPolicy - /// /// /// object name and auth scope, such as for teams and projects /// @@ -21556,11 +23047,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -21626,10 +23126,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedNetworkPolicy1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedReplicaSet2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a NetworkPolicy + /// create a ReplicaSet /// /// /// @@ -21645,10 +23145,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedNetworkPolicy1WithHttpMessagesAsync(V1NetworkPolicy body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedReplicaSet2WithHttpMessagesAsync(V1beta1ReplicaSet body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of NetworkPolicy + /// delete collection of ReplicaSet /// /// /// object name and auth scope, such as for teams and projects @@ -21661,11 +23161,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -21731,13 +23240,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedNetworkPolicy1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedReplicaSet2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified NetworkPolicy + /// read the specified ReplicaSet /// /// - /// name of the NetworkPolicy + /// name of the ReplicaSet /// /// /// object name and auth scope, such as for teams and projects @@ -21759,15 +23268,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedNetworkPolicy1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedReplicaSet2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified NetworkPolicy + /// replace the specified ReplicaSet /// /// /// /// - /// name of the NetworkPolicy + /// name of the ReplicaSet /// /// /// object name and auth scope, such as for teams and projects @@ -21781,19 +23290,25 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedNetworkPolicy1WithHttpMessagesAsync(V1NetworkPolicy body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedReplicaSet2WithHttpMessagesAsync(V1beta1ReplicaSet body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a NetworkPolicy + /// delete a ReplicaSet /// /// /// /// - /// name of the NetworkPolicy + /// name of the ReplicaSet /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -21827,15 +23342,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedNetworkPolicy1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedReplicaSet2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified NetworkPolicy + /// partially update the specified ReplicaSet /// /// /// /// - /// name of the NetworkPolicy + /// name of the ReplicaSet /// /// /// object name and auth scope, such as for teams and projects @@ -21849,82 +23364,41 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedNetworkPolicy1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedReplicaSet2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind NetworkPolicy + /// read scale of the specified ReplicaSet /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// + /// name of the Scale /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. + /// + /// object name and auth scope, such as for teams and projects /// - /// - /// If true, partially initialized resources are included in the - /// response. + /// + /// If 'true', then the output is pretty printed. /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. + /// + /// The headers that will be added to request. /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. + /// + /// The cancellation token. /// - /// - /// If 'true', then the output is pretty printed. + Task> ReadNamespacedReplicaSetScale2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// replace scale of the specified ReplicaSet + /// + /// /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. + /// + /// name of the Scale /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. + /// + /// object name and auth scope, such as for teams and projects /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. + /// + /// If 'true', then the output is pretty printed. /// /// /// The headers that will be added to request. @@ -21932,49 +23406,275 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNetworkPolicyForAllNamespaces1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedReplicaSetScale2WithHttpMessagesAsync(Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// get information of a group + /// partially update scale of the specified ReplicaSet /// + /// + /// + /// + /// name of the Scale + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> GetAPIGroup12WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedReplicaSetScale2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// get available resources + /// read status of the specified ReplicaSet /// + /// + /// name of the ReplicaSet + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> GetAPIResources22WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedReplicaSetStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind PodDisruptionBudget + /// replace status of the specified ReplicaSet /// + /// + /// + /// + /// name of the ReplicaSet + /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReplaceNamespacedReplicaSetStatus2WithHttpMessagesAsync(V1beta1ReplicaSet body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// partially update status of the specified ReplicaSet + /// + /// + /// + /// + /// name of the ReplicaSet + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchNamespacedReplicaSetStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// read scale of the specified ReplicationControllerDummy + /// + /// + /// name of the Scale + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReadNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// replace scale of the specified ReplicationControllerDummy + /// + /// + /// + /// + /// name of the Scale + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReplaceNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// partially update scale of the specified ReplicationControllerDummy + /// + /// + /// + /// + /// name of the Scale + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// list or watch objects of kind NetworkPolicy + /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the + /// response. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ListNetworkPolicyForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// list or watch objects of kind PodSecurityPolicy + /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only /// use the continue value from a previous query result with identical /// query parameters (except for the value of continue) and the server /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -22040,16 +23740,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListPodSecurityPolicyWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a PodDisruptionBudget + /// create a PodSecurityPolicy /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// @@ -22059,14 +23756,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreatePodSecurityPolicyWithHttpMessagesAsync(Extensionsv1beta1PodSecurityPolicy body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of PodDisruptionBudget + /// delete collection of PodSecurityPolicy /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -22075,11 +23769,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -22145,16 +23848,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionPodSecurityPolicyWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified PodDisruptionBudget + /// read the specified PodSecurityPolicy /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PodSecurityPolicy /// /// /// Should the export be exact. Exact export maintains @@ -22173,18 +23873,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadPodSecurityPolicyWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified PodDisruptionBudget + /// replace the specified PodSecurityPolicy /// /// /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PodSecurityPolicy /// /// /// If 'true', then the output is pretty printed. @@ -22195,18 +23892,21 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplacePodSecurityPolicyWithHttpMessagesAsync(Extensionsv1beta1PodSecurityPolicy body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a PodDisruptionBudget + /// delete a PodSecurityPolicy /// /// /// /// - /// name of the PodDisruptionBudget + /// name of the PodSecurityPolicy /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value @@ -22241,18 +23941,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeletePodSecurityPolicyWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified PodDisruptionBudget + /// partially update the specified PodSecurityPolicy /// /// /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PodSecurityPolicy /// /// /// If 'true', then the output is pretty printed. @@ -22263,96 +23960,41 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchPodSecurityPolicyWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read status of the specified PodDisruptionBudget + /// list or watch objects of kind ReplicaSet /// - /// - /// name of the PodDisruptionBudget + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace status of the specified PodDisruptionBudget - /// - /// - /// - /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update status of the specified PodDisruptionBudget - /// - /// - /// - /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind PodDisruptionBudget - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the - /// response. + /// + /// If true, partially initialized resources are included in the + /// response. /// /// /// A selector to restrict the list of returned objects by their @@ -22410,11 +24052,36 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListPodDisruptionBudgetForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListReplicaSetForAllNamespaces2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind PodSecurityPolicy + /// get information of a group + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> GetAPIGroup12WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// get available resources + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> GetAPIResources23WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// list or watch objects of kind NetworkPolicy /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -22423,11 +24090,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -22493,13 +24169,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListPodSecurityPolicy1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedNetworkPolicy1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a PodSecurityPolicy + /// create a NetworkPolicy /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// @@ -22509,11 +24188,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreatePodSecurityPolicy1WithHttpMessagesAsync(Policyv1beta1PodSecurityPolicy body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedNetworkPolicy1WithHttpMessagesAsync(V1NetworkPolicy body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of PodSecurityPolicy + /// delete collection of NetworkPolicy /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -22522,11 +24204,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -22592,13 +24283,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionPodSecurityPolicy1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedNetworkPolicy1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified PodSecurityPolicy + /// read the specified NetworkPolicy /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains @@ -22617,15 +24311,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadPodSecurityPolicy1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedNetworkPolicy1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified PodSecurityPolicy + /// replace the specified NetworkPolicy /// /// /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -22636,15 +24333,24 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplacePodSecurityPolicy1WithHttpMessagesAsync(Policyv1beta1PodSecurityPolicy body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedNetworkPolicy1WithHttpMessagesAsync(V1NetworkPolicy body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a PodSecurityPolicy + /// delete a NetworkPolicy /// /// /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value @@ -22679,15 +24385,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeletePodSecurityPolicy1WithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedNetworkPolicy1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified PodSecurityPolicy + /// partially update the specified NetworkPolicy /// /// /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -22698,7 +24407,99 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchPodSecurityPolicy1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedNetworkPolicy1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// list or watch objects of kind NetworkPolicy + /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the + /// response. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ListNetworkPolicyForAllNamespaces1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get information of a group @@ -22720,11 +24521,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources23WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources24WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind ClusterRoleBinding + /// list or watch objects of kind PodDisruptionBudget /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -22733,11 +24537,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -22803,13 +24616,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListClusterRoleBindingWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a ClusterRoleBinding + /// create a PodDisruptionBudget /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// @@ -22819,11 +24635,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateClusterRoleBindingWithHttpMessagesAsync(V1ClusterRoleBinding body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of ClusterRoleBinding + /// delete collection of PodDisruptionBudget /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -22832,11 +24651,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -22902,13 +24730,24 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionClusterRoleBindingWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified ClusterRoleBinding + /// read the specified PodDisruptionBudget /// /// - /// name of the ClusterRoleBinding + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// Should the export be exact. Exact export maintains + /// cluster-specific fields like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user + /// can not specify. /// /// /// If 'true', then the output is pretty printed. @@ -22919,15 +24758,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadClusterRoleBindingWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified ClusterRoleBinding + /// replace the specified PodDisruptionBudget /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -22938,15 +24780,24 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceClusterRoleBindingWithHttpMessagesAsync(V1ClusterRoleBinding body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a ClusterRoleBinding + /// delete a PodDisruptionBudget /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value @@ -22981,15 +24832,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteClusterRoleBindingWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified PodDisruptionBudget /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -23000,10 +24854,74 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchClusterRoleBindingWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind ClusterRole + /// read status of the specified PodDisruptionBudget + /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReadNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// replace status of the specified PodDisruptionBudget + /// + /// + /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReplaceNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// partially update status of the specified PodDisruptionBudget + /// + /// + /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// list or watch objects of kind PodDisruptionBudget /// /// /// The continue option should be set when retrieving more results from @@ -23013,11 +24931,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -23056,6 +24983,9 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -23074,35 +25004,16 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListClusterRoleWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create a ClusterRole - /// - /// - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> CreateClusterRoleWithHttpMessagesAsync(V1ClusterRole body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListPodDisruptionBudgetForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of ClusterRole + /// list or watch objects of kind PodSecurityPolicy /// /// /// The continue option should be set when retrieving more results from @@ -23112,11 +25023,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -23182,95 +25102,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionClusterRoleWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read the specified ClusterRole - /// - /// - /// name of the ClusterRole - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadClusterRoleWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace the specified ClusterRole - /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceClusterRoleWithHttpMessagesAsync(V1ClusterRole body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete a ClusterRole - /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// The duration in seconds before the object should be deleted. Value - /// must be non-negative integer. The value zero indicates delete - /// immediately. If this value is nil, the default grace period for the - /// specified type will be used. Defaults to a per object value if not - /// specified. zero means delete immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be - /// deprecated in 1.7. Should the dependent objects be orphaned. If - /// true/false, the "orphan" finalizer will be added to/removed from - /// the object's finalizers list. Either this field or - /// PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this - /// field or OrphanDependents may be set, but not both. The default - /// policy is decided by the existing finalizer set in the - /// metadata.finalizers and the resource-specific default policy. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteClusterRoleWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListPodSecurityPolicy1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified ClusterRole + /// create a PodSecurityPolicy /// /// /// - /// - /// name of the ClusterRole - /// /// /// If 'true', then the output is pretty printed. /// @@ -23280,14 +25118,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchClusterRoleWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreatePodSecurityPolicy1WithHttpMessagesAsync(Policyv1beta1PodSecurityPolicy body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind RoleBinding + /// delete collection of PodSecurityPolicy /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -23296,11 +25131,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -23366,15 +25210,21 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedRoleBindingWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionPodSecurityPolicy1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a RoleBinding + /// read the specified PodSecurityPolicy /// - /// + /// + /// name of the PodSecurityPolicy /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// Should the export be exact. Exact export maintains + /// cluster-specific fields like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user + /// can not specify. /// /// /// If 'true', then the output is pretty printed. @@ -23385,124 +25235,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedRoleBindingWithHttpMessagesAsync(V1RoleBinding body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadPodSecurityPolicy1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of RoleBinding + /// replace the specified PodSecurityPolicy /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the - /// response. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteCollectionNamespacedRoleBindingWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read the specified RoleBinding - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedRoleBindingWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace the specified RoleBinding - /// - /// + /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PodSecurityPolicy /// /// /// If 'true', then the output is pretty printed. @@ -23513,18 +25254,21 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedRoleBindingWithHttpMessagesAsync(V1RoleBinding body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplacePodSecurityPolicy1WithHttpMessagesAsync(Policyv1beta1PodSecurityPolicy body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a RoleBinding + /// delete a PodSecurityPolicy /// /// /// /// - /// name of the RoleBinding + /// name of the PodSecurityPolicy /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value @@ -23559,18 +25303,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedRoleBindingWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeletePodSecurityPolicy1WithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified RoleBinding + /// partially update the specified PodSecurityPolicy /// /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PodSecurityPolicy /// /// /// If 'true', then the output is pretty printed. @@ -23581,14 +25322,33 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedRoleBindingWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchPodSecurityPolicy1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Role + /// get information of a group /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> GetAPIGroup14WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// get available resources + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. /// + Task> GetAPIResources25WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// list or watch objects of kind ClusterRoleBinding + /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -23597,11 +25357,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -23667,16 +25436,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedRoleWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListClusterRoleBindingWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a Role + /// create a ClusterRoleBinding /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// @@ -23686,14 +25452,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedRoleWithHttpMessagesAsync(V1Role body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateClusterRoleBindingWithHttpMessagesAsync(V1ClusterRoleBinding body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of Role + /// delete collection of ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -23702,11 +25465,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -23772,16 +25544,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedRoleWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionClusterRoleBindingWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified Role + /// read the specified ClusterRoleBinding /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -23792,18 +25561,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedRoleWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadClusterRoleBindingWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified Role + /// replace the specified ClusterRoleBinding /// /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -23814,18 +25580,21 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedRoleWithHttpMessagesAsync(V1Role body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceClusterRoleBindingWithHttpMessagesAsync(V1ClusterRoleBinding body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a Role + /// delete a ClusterRoleBinding /// /// /// /// - /// name of the Role + /// name of the ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value @@ -23860,18 +25629,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedRoleWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteClusterRoleBindingWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified Role + /// partially update the specified ClusterRoleBinding /// /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -23882,10 +25648,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedRoleWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchClusterRoleBindingWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind ClusterRole /// /// /// The continue option should be set when retrieving more results from @@ -23895,11 +25661,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -23938,9 +25713,6 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -23959,16 +25731,35 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListRoleBindingForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListClusterRoleWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Role + /// create a ClusterRole + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> CreateClusterRoleWithHttpMessagesAsync(V1ClusterRole body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete collection of ClusterRole /// /// /// The continue option should be set when retrieving more results from @@ -23978,11 +25769,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -24021,9 +25821,6 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -24042,41 +25839,149 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListRoleForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionClusterRoleWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// get available resources + /// read the specified ClusterRole /// + /// + /// name of the ClusterRole + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> GetAPIResources24WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadClusterRoleWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind ClusterRoleBinding + /// replace the specified ClusterRole /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// + /// + /// + /// name of the ClusterRole + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReplaceClusterRoleWithHttpMessagesAsync(V1ClusterRole body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete a ClusterRole + /// + /// + /// + /// + /// name of the ClusterRole + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value + /// must be non-negative integer. The value zero indicates delete + /// immediately. If this value is nil, the default grace period for the + /// specified type will be used. Defaults to a per object value if not + /// specified. zero means delete immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be + /// deprecated in 1.7. Should the dependent objects be orphaned. If + /// true/false, the "orphan" finalizer will be added to/removed from + /// the object's finalizers list. Either this field or + /// PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this + /// field or OrphanDependents may be set, but not both. The default + /// policy is decided by the existing finalizer set in the + /// metadata.finalizers and the resource-specific default policy. + /// Acceptable values are: 'Orphan' - orphan the dependents; + /// 'Background' - allow the garbage collector to delete the dependents + /// in the background; 'Foreground' - a cascading policy that deletes + /// all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> DeleteClusterRoleWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// partially update the specified ClusterRole + /// + /// + /// + /// + /// name of the ClusterRole + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchClusterRoleWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// list or watch objects of kind RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -24142,13 +26047,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListClusterRoleBinding1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedRoleBindingWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a ClusterRoleBinding + /// create a RoleBinding /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// @@ -24158,11 +26066,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateClusterRoleBinding1WithHttpMessagesAsync(V1alpha1ClusterRoleBinding body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedRoleBindingWithHttpMessagesAsync(V1RoleBinding body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of ClusterRoleBinding + /// delete collection of RoleBinding /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -24171,11 +26082,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -24241,13 +26161,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionClusterRoleBinding1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedRoleBindingWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified ClusterRoleBinding + /// read the specified RoleBinding /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -24258,15 +26181,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadClusterRoleBinding1WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedRoleBindingWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified ClusterRoleBinding + /// replace the specified RoleBinding /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -24277,15 +26203,24 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceClusterRoleBinding1WithHttpMessagesAsync(V1alpha1ClusterRoleBinding body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedRoleBindingWithHttpMessagesAsync(V1RoleBinding body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a ClusterRoleBinding + /// delete a RoleBinding /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value @@ -24320,15 +26255,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteClusterRoleBinding1WithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedRoleBindingWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified RoleBinding /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -24339,11 +26277,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchClusterRoleBinding1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedRoleBindingWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind Role /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -24352,11 +26293,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -24422,13 +26372,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListClusterRole1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedRoleWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a ClusterRole + /// create a Role /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// @@ -24438,11 +26391,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateClusterRole1WithHttpMessagesAsync(V1alpha1ClusterRole body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedRoleWithHttpMessagesAsync(V1Role body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of ClusterRole + /// delete collection of Role /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -24451,11 +26407,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -24521,13 +26486,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionClusterRole1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedRoleWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified ClusterRole + /// read the specified Role /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -24538,15 +26506,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadClusterRole1WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedRoleWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified ClusterRole + /// replace the specified Role /// /// /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -24557,15 +26528,24 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceClusterRole1WithHttpMessagesAsync(V1alpha1ClusterRole body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedRoleWithHttpMessagesAsync(V1Role body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a ClusterRole + /// delete a Role /// /// /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value @@ -24600,15 +26580,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteClusterRole1WithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedRoleWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified ClusterRole + /// partially update the specified Role /// /// /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -24619,14 +26602,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchClusterRole1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedRoleWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind RoleBinding /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -24635,11 +26615,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -24678,6 +26667,9 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -24696,42 +26688,17 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListNamespacedRoleBinding1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create a RoleBinding - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> CreateNamespacedRoleBinding1WithHttpMessagesAsync(V1alpha1RoleBinding body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListRoleBindingForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of RoleBinding + /// list or watch objects of kind Role /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -24740,11 +26707,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -24783,6 +26759,9 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -24801,133 +26780,28 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedRoleBinding1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListRoleForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified RoleBinding + /// get available resources /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedRoleBinding1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace the specified RoleBinding - /// - /// - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedRoleBinding1WithHttpMessagesAsync(V1alpha1RoleBinding body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete a RoleBinding - /// - /// - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The duration in seconds before the object should be deleted. Value - /// must be non-negative integer. The value zero indicates delete - /// immediately. If this value is nil, the default grace period for the - /// specified type will be used. Defaults to a per object value if not - /// specified. zero means delete immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be - /// deprecated in 1.7. Should the dependent objects be orphaned. If - /// true/false, the "orphan" finalizer will be added to/removed from - /// the object's finalizers list. Either this field or - /// PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this - /// field or OrphanDependents may be set, but not both. The default - /// policy is decided by the existing finalizer set in the - /// metadata.finalizers and the resource-specific default policy. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteNamespacedRoleBinding1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update the specified RoleBinding - /// - /// - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. + /// + /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> PatchNamespacedRoleBinding1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources26WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Role + /// list or watch objects of kind ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -24936,11 +26810,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -25006,16 +26889,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedRole1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListClusterRoleBinding1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a Role + /// create a ClusterRoleBinding /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// @@ -25025,14 +26905,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedRole1WithHttpMessagesAsync(V1alpha1Role body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateClusterRoleBinding1WithHttpMessagesAsync(V1alpha1ClusterRoleBinding body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of Role + /// delete collection of ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -25041,11 +26918,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -25111,16 +26997,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedRole1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionClusterRoleBinding1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified Role + /// read the specified ClusterRoleBinding /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -25131,18 +27014,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedRole1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadClusterRoleBinding1WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified Role + /// replace the specified ClusterRoleBinding /// /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -25153,18 +27033,21 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedRole1WithHttpMessagesAsync(V1alpha1Role body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceClusterRoleBinding1WithHttpMessagesAsync(V1alpha1ClusterRoleBinding body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a Role + /// delete a ClusterRoleBinding /// /// /// /// - /// name of the Role + /// name of the ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value @@ -25199,18 +27082,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedRole1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteClusterRoleBinding1WithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified Role + /// partially update the specified ClusterRoleBinding /// /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -25221,10 +27101,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedRole1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchClusterRoleBinding1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind ClusterRole /// /// /// The continue option should be set when retrieving more results from @@ -25234,11 +27114,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -25277,9 +27166,6 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -25298,110 +27184,35 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListRoleBindingForAllNamespaces1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListClusterRole1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Role + /// create a ClusterRole /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the - /// response. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. + /// /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListRoleForAllNamespaces1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get available resources - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> GetAPIResources25WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateClusterRole1WithHttpMessagesAsync(V1alpha1ClusterRole body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind ClusterRoleBinding + /// delete collection of ClusterRole /// /// /// The continue option should be set when retrieving more results from @@ -25411,11 +27222,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -25481,12 +27301,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListClusterRoleBinding2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionClusterRole1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a ClusterRoleBinding + /// read the specified ClusterRole /// - /// + /// + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -25497,115 +27318,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateClusterRoleBinding2WithHttpMessagesAsync(V1beta1ClusterRoleBinding body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadClusterRole1WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of ClusterRoleBinding - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the - /// response. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteCollectionClusterRoleBinding2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read the specified ClusterRoleBinding - /// - /// - /// name of the ClusterRoleBinding - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadClusterRoleBinding2WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace the specified ClusterRoleBinding + /// replace the specified ClusterRole /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -25616,15 +27337,21 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceClusterRoleBinding2WithHttpMessagesAsync(V1beta1ClusterRoleBinding body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceClusterRole1WithHttpMessagesAsync(V1alpha1ClusterRole body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a ClusterRoleBinding + /// delete a ClusterRole /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the ClusterRole + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value @@ -25659,15 +27386,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteClusterRoleBinding2WithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteClusterRole1WithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified ClusterRole /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -25678,11 +27405,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchClusterRoleBinding2WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchClusterRole1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind RoleBinding /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -25691,11 +27421,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -25761,13 +27500,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListClusterRole2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedRoleBinding1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a ClusterRole + /// create a RoleBinding /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// @@ -25777,11 +27519,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateClusterRole2WithHttpMessagesAsync(V1beta1ClusterRole body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedRoleBinding1WithHttpMessagesAsync(V1alpha1RoleBinding body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of ClusterRole + /// delete collection of RoleBinding /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -25790,11 +27535,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -25860,13 +27614,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionClusterRole2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedRoleBinding1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified ClusterRole + /// read the specified RoleBinding /// /// - /// name of the ClusterRole + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -25877,15 +27634,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadClusterRole2WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedRoleBinding1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified ClusterRole + /// replace the specified RoleBinding /// /// /// /// - /// name of the ClusterRole + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -25896,15 +27656,24 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceClusterRole2WithHttpMessagesAsync(V1beta1ClusterRole body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedRoleBinding1WithHttpMessagesAsync(V1alpha1RoleBinding body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a ClusterRole + /// delete a RoleBinding /// /// /// /// - /// name of the ClusterRole + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value @@ -25939,15 +27708,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteClusterRole2WithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedRoleBinding1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified ClusterRole + /// partially update the specified RoleBinding /// /// /// /// - /// name of the ClusterRole + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -25958,10 +27730,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchClusterRole2WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedRoleBinding1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind Role /// /// /// object name and auth scope, such as for teams and projects @@ -25974,11 +27746,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -26044,10 +27825,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedRoleBinding2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedRole1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a RoleBinding + /// create a Role /// /// /// @@ -26063,10 +27844,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedRoleBinding2WithHttpMessagesAsync(V1beta1RoleBinding body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedRole1WithHttpMessagesAsync(V1alpha1Role body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of RoleBinding + /// delete collection of Role /// /// /// object name and auth scope, such as for teams and projects @@ -26079,11 +27860,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -26149,13 +27939,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedRoleBinding2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedRole1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified RoleBinding + /// read the specified Role /// /// - /// name of the RoleBinding + /// name of the Role /// /// /// object name and auth scope, such as for teams and projects @@ -26169,15 +27959,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedRoleBinding2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedRole1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified RoleBinding + /// replace the specified Role /// /// /// /// - /// name of the RoleBinding + /// name of the Role /// /// /// object name and auth scope, such as for teams and projects @@ -26191,19 +27981,25 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedRoleBinding2WithHttpMessagesAsync(V1beta1RoleBinding body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedRole1WithHttpMessagesAsync(V1alpha1Role body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a RoleBinding + /// delete a Role /// /// /// /// - /// name of the RoleBinding + /// name of the Role /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -26237,15 +28033,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedRoleBinding2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedRole1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified RoleBinding + /// partially update the specified Role /// /// /// /// - /// name of the RoleBinding + /// name of the Role /// /// /// object name and auth scope, such as for teams and projects @@ -26259,14 +28055,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedRoleBinding2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedRole1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Role + /// list or watch objects of kind RoleBinding /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -26275,11 +28068,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -26318,6 +28120,9 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -26336,42 +28141,17 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListNamespacedRole2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create a Role - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> CreateNamespacedRole2WithHttpMessagesAsync(V1beta1Role body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListRoleBindingForAllNamespaces1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of Role + /// list or watch objects of kind Role /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -26380,11 +28160,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -26423,6 +28212,9 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -26441,129 +28233,27 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedRole2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListRoleForAllNamespaces1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified Role + /// get available resources /// - /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedRole2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace the specified Role - /// - /// - /// - /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedRole2WithHttpMessagesAsync(V1beta1Role body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete a Role - /// - /// - /// - /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The duration in seconds before the object should be deleted. Value - /// must be non-negative integer. The value zero indicates delete - /// immediately. If this value is nil, the default grace period for the - /// specified type will be used. Defaults to a per object value if not - /// specified. zero means delete immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be - /// deprecated in 1.7. Should the dependent objects be orphaned. If - /// true/false, the "orphan" finalizer will be added to/removed from - /// the object's finalizers list. Either this field or - /// PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this - /// field or OrphanDependents may be set, but not both. The default - /// policy is decided by the existing finalizer set in the - /// metadata.finalizers and the resource-specific default policy. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteNamespacedRole2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update the specified Role - /// - /// - /// - /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> PatchNamespacedRole2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources27WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind ClusterRoleBinding /// /// /// The continue option should be set when retrieving more results from @@ -26573,11 +28263,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -26616,9 +28315,6 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -26637,16 +28333,35 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListRoleBindingForAllNamespaces2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListClusterRoleBinding2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Role + /// create a ClusterRoleBinding + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> CreateClusterRoleBinding2WithHttpMessagesAsync(V1beta1ClusterRoleBinding body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete collection of ClusterRoleBinding /// /// /// The continue option should be set when retrieving more results from @@ -26656,11 +28371,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -26699,9 +28423,6 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -26720,38 +28441,123 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListRoleForAllNamespaces2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionClusterRoleBinding2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// get information of a group + /// read the specified ClusterRoleBinding /// + /// + /// name of the ClusterRoleBinding + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> GetAPIGroup14WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadClusterRoleBinding2WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// get available resources + /// replace the specified ClusterRoleBinding /// + /// + /// + /// + /// name of the ClusterRoleBinding + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> GetAPIResources26WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceClusterRoleBinding2WithHttpMessagesAsync(V1beta1ClusterRoleBinding body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind PriorityClass + /// delete a ClusterRoleBinding + /// + /// + /// + /// + /// name of the ClusterRoleBinding + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value + /// must be non-negative integer. The value zero indicates delete + /// immediately. If this value is nil, the default grace period for the + /// specified type will be used. Defaults to a per object value if not + /// specified. zero means delete immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be + /// deprecated in 1.7. Should the dependent objects be orphaned. If + /// true/false, the "orphan" finalizer will be added to/removed from + /// the object's finalizers list. Either this field or + /// PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this + /// field or OrphanDependents may be set, but not both. The default + /// policy is decided by the existing finalizer set in the + /// metadata.finalizers and the resource-specific default policy. + /// Acceptable values are: 'Orphan' - orphan the dependents; + /// 'Background' - allow the garbage collector to delete the dependents + /// in the background; 'Foreground' - a cascading policy that deletes + /// all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> DeleteClusterRoleBinding2WithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// partially update the specified ClusterRoleBinding + /// + /// + /// + /// + /// name of the ClusterRoleBinding + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchClusterRoleBinding2WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// list or watch objects of kind ClusterRole /// /// /// The continue option should be set when retrieving more results from @@ -26761,11 +28567,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -26831,10 +28646,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListPriorityClassWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListClusterRole2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a PriorityClass + /// create a ClusterRole /// /// /// @@ -26847,10 +28662,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreatePriorityClassWithHttpMessagesAsync(V1alpha1PriorityClass body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateClusterRole2WithHttpMessagesAsync(V1beta1ClusterRole body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of PriorityClass + /// delete collection of ClusterRole /// /// /// The continue option should be set when retrieving more results from @@ -26860,11 +28675,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -26930,21 +28754,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionPriorityClassWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionClusterRole2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified PriorityClass + /// read the specified ClusterRole /// /// - /// name of the PriorityClass - /// - /// - /// Should the export be exact. Exact export maintains - /// cluster-specific fields like 'Namespace'. - /// - /// - /// Should this value be exported. Export strips fields that a user - /// can not specify. + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -26955,15 +28771,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadPriorityClassWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadClusterRole2WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified PriorityClass + /// replace the specified ClusterRole /// /// /// /// - /// name of the PriorityClass + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -26974,15 +28790,21 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplacePriorityClassWithHttpMessagesAsync(V1alpha1PriorityClass body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceClusterRole2WithHttpMessagesAsync(V1beta1ClusterRole body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a PriorityClass + /// delete a ClusterRole /// /// /// /// - /// name of the PriorityClass + /// name of the ClusterRole + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value @@ -27017,15 +28839,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeletePriorityClassWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteClusterRole2WithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified PriorityClass + /// partially update the specified ClusterRole /// /// /// /// - /// name of the PriorityClass + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -27036,32 +28858,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchPriorityClassWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get information of a group - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIGroup15WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get available resources - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIResources27WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchClusterRole2WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind PodPreset + /// list or watch objects of kind RoleBinding /// /// /// object name and auth scope, such as for teams and projects @@ -27074,11 +28874,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -27144,10 +28953,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedPodPresetWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedRoleBinding2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a PodPreset + /// create a RoleBinding /// /// /// @@ -27163,10 +28972,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedPodPresetWithHttpMessagesAsync(V1alpha1PodPreset body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedRoleBinding2WithHttpMessagesAsync(V1beta1RoleBinding body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of PodPreset + /// delete collection of RoleBinding /// /// /// object name and auth scope, such as for teams and projects @@ -27179,11 +28988,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -27249,25 +29067,17 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedPodPresetWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedRoleBinding2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified PodPreset + /// read the specified RoleBinding /// /// - /// name of the PodPreset + /// name of the RoleBinding /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// Should the export be exact. Exact export maintains - /// cluster-specific fields like 'Namespace'. - /// - /// - /// Should this value be exported. Export strips fields that a user - /// can not specify. - /// /// /// If 'true', then the output is pretty printed. /// @@ -27277,15 +29087,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedPodPresetWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedRoleBinding2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified PodPreset + /// replace the specified RoleBinding /// /// /// /// - /// name of the PodPreset + /// name of the RoleBinding /// /// /// object name and auth scope, such as for teams and projects @@ -27299,19 +29109,25 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedPodPresetWithHttpMessagesAsync(V1alpha1PodPreset body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedRoleBinding2WithHttpMessagesAsync(V1beta1RoleBinding body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a PodPreset + /// delete a RoleBinding /// /// /// /// - /// name of the PodPreset + /// name of the RoleBinding /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -27345,15 +29161,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedPodPresetWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedRoleBinding2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified PodPreset + /// partially update the specified RoleBinding /// /// /// /// - /// name of the PodPreset + /// name of the RoleBinding /// /// /// object name and auth scope, such as for teams and projects @@ -27367,116 +29183,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedPodPresetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind PodPreset - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the - /// response. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListPodPresetForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get information of a group - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIGroup16WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedRoleBinding2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// get available resources + /// list or watch objects of kind Role /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. + /// + /// object name and auth scope, such as for teams and projects /// - Task> GetAPIResources28WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind StorageClass - /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -27485,11 +29199,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -27555,13 +29278,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListStorageClassWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedRole2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a StorageClass + /// create a Role /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// @@ -27571,11 +29297,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateStorageClassWithHttpMessagesAsync(V1StorageClass body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedRole2WithHttpMessagesAsync(V1beta1Role body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of StorageClass + /// delete collection of Role /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from /// the server. Since this value is server defined, clients may only @@ -27584,11 +29313,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -27654,21 +29392,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionStorageClassWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedRole2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified StorageClass + /// read the specified Role /// /// - /// name of the StorageClass - /// - /// - /// Should the export be exact. Exact export maintains - /// cluster-specific fields like 'Namespace'. + /// name of the Role /// - /// - /// Should this value be exported. Export strips fields that a user - /// can not specify. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -27679,15 +29412,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadStorageClassWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedRole2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified StorageClass + /// replace the specified Role /// /// /// /// - /// name of the StorageClass + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -27698,15 +29434,24 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceStorageClassWithHttpMessagesAsync(V1StorageClass body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedRole2WithHttpMessagesAsync(V1beta1Role body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a StorageClass + /// delete a Role /// /// /// /// - /// name of the StorageClass + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value @@ -27741,15 +29486,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteStorageClassWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedRole2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified StorageClass + /// partially update the specified Role /// /// /// /// - /// name of the StorageClass + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -27760,21 +29508,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchStorageClassWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get available resources - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIResources29WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedRole2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind VolumeAttachment + /// list or watch objects of kind RoleBinding /// /// /// The continue option should be set when retrieving more results from @@ -27784,11 +29521,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -27827,6 +29573,9 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -27845,35 +29594,16 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListVolumeAttachmentWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create a VolumeAttachment - /// - /// - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> CreateVolumeAttachmentWithHttpMessagesAsync(V1alpha1VolumeAttachment body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListRoleBindingForAllNamespaces2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of VolumeAttachment + /// list or watch objects of kind Role /// /// /// The continue option should be set when retrieving more results from @@ -27883,11 +29613,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -27926,6 +29665,9 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -27944,122 +29686,24 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteCollectionVolumeAttachmentWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read the specified VolumeAttachment - /// - /// - /// name of the VolumeAttachment - /// - /// - /// Should the export be exact. Exact export maintains - /// cluster-specific fields like 'Namespace'. - /// - /// - /// Should this value be exported. Export strips fields that a user - /// can not specify. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadVolumeAttachmentWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace the specified VolumeAttachment - /// - /// - /// - /// - /// name of the VolumeAttachment - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceVolumeAttachmentWithHttpMessagesAsync(V1alpha1VolumeAttachment body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete a VolumeAttachment - /// - /// - /// - /// - /// name of the VolumeAttachment - /// - /// - /// The duration in seconds before the object should be deleted. Value - /// must be non-negative integer. The value zero indicates delete - /// immediately. If this value is nil, the default grace period for the - /// specified type will be used. Defaults to a per object value if not - /// specified. zero means delete immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be - /// deprecated in 1.7. Should the dependent objects be orphaned. If - /// true/false, the "orphan" finalizer will be added to/removed from - /// the object's finalizers list. Either this field or - /// PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this - /// field or OrphanDependents may be set, but not both. The default - /// policy is decided by the existing finalizer set in the - /// metadata.finalizers and the resource-specific default policy. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> DeleteVolumeAttachmentWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListRoleForAllNamespaces2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified VolumeAttachment + /// get information of a group /// - /// - /// - /// - /// name of the VolumeAttachment - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> PatchVolumeAttachmentWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIGroup15WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -28070,10 +29714,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources30WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources28WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind StorageClass + /// list or watch objects of kind PriorityClass /// /// /// The continue option should be set when retrieving more results from @@ -28083,11 +29727,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -28153,10 +29806,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListStorageClass1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListPriorityClassWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a StorageClass + /// create a PriorityClass /// /// /// @@ -28169,10 +29822,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateStorageClass1WithHttpMessagesAsync(V1beta1StorageClass body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreatePriorityClassWithHttpMessagesAsync(V1alpha1PriorityClass body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of StorageClass + /// delete collection of PriorityClass /// /// /// The continue option should be set when retrieving more results from @@ -28182,11 +29835,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -28252,13 +29914,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionStorageClass1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionPriorityClassWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified StorageClass + /// read the specified PriorityClass /// /// - /// name of the StorageClass + /// name of the PriorityClass /// /// /// Should the export be exact. Exact export maintains @@ -28277,15 +29939,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadStorageClass1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadPriorityClassWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified StorageClass + /// replace the specified PriorityClass /// /// /// /// - /// name of the StorageClass + /// name of the PriorityClass /// /// /// If 'true', then the output is pretty printed. @@ -28296,15 +29958,21 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceStorageClass1WithHttpMessagesAsync(V1beta1StorageClass body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplacePriorityClassWithHttpMessagesAsync(V1alpha1PriorityClass body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a StorageClass + /// delete a PriorityClass /// /// /// /// - /// name of the StorageClass + /// name of the PriorityClass + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value @@ -28339,15 +30007,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteStorageClass1WithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeletePriorityClassWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified StorageClass + /// partially update the specified PriorityClass /// /// /// /// - /// name of the StorageClass + /// name of the PriorityClass /// /// /// If 'true', then the output is pretty printed. @@ -28358,10 +30026,21 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchStorageClass1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchPriorityClassWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind VolumeAttachment + /// get available resources + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> GetAPIResources29WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// list or watch objects of kind PriorityClass /// /// /// The continue option should be set when retrieving more results from @@ -28371,11 +30050,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -28441,10 +30129,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListVolumeAttachment1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListPriorityClass1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a VolumeAttachment + /// create a PriorityClass /// /// /// @@ -28457,10 +30145,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateVolumeAttachment1WithHttpMessagesAsync(V1beta1VolumeAttachment body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreatePriorityClass1WithHttpMessagesAsync(V1beta1PriorityClass body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of VolumeAttachment + /// delete collection of PriorityClass /// /// /// The continue option should be set when retrieving more results from @@ -28470,11 +30158,20 @@ public partial interface IKubernetes : System.IDisposable /// may reject a continue value it does not recognize. If the specified /// continue value is no longer valid whether due to expiration /// (generally five to fifteen minutes) or a configuration change on - /// the server the server will respond with a 410 ResourceExpired error - /// indicating the client must restart their list without the continue - /// field. This field is not supported when watch is true. Clients may - /// start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// /// /// A selector to restrict the list of returned objects by their @@ -28540,13 +30237,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionVolumeAttachment1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionPriorityClass1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified VolumeAttachment + /// read the specified PriorityClass /// /// - /// name of the VolumeAttachment + /// name of the PriorityClass /// /// /// Should the export be exact. Exact export maintains @@ -28565,18 +30262,2134 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadVolumeAttachment1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadPriorityClass1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified VolumeAttachment + /// replace the specified PriorityClass + /// + /// + /// + /// + /// name of the PriorityClass + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReplacePriorityClass1WithHttpMessagesAsync(V1beta1PriorityClass body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete a PriorityClass /// /// /// /// - /// name of the VolumeAttachment - /// - /// - /// If 'true', then the output is pretty printed. + /// name of the PriorityClass + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value + /// must be non-negative integer. The value zero indicates delete + /// immediately. If this value is nil, the default grace period for the + /// specified type will be used. Defaults to a per object value if not + /// specified. zero means delete immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be + /// deprecated in 1.7. Should the dependent objects be orphaned. If + /// true/false, the "orphan" finalizer will be added to/removed from + /// the object's finalizers list. Either this field or + /// PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this + /// field or OrphanDependents may be set, but not both. The default + /// policy is decided by the existing finalizer set in the + /// metadata.finalizers and the resource-specific default policy. + /// Acceptable values are: 'Orphan' - orphan the dependents; + /// 'Background' - allow the garbage collector to delete the dependents + /// in the background; 'Foreground' - a cascading policy that deletes + /// all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> DeletePriorityClass1WithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// partially update the specified PriorityClass + /// + /// + /// + /// + /// name of the PriorityClass + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchPriorityClass1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// get information of a group + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> GetAPIGroup16WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// get available resources + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> GetAPIResources30WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// list or watch objects of kind PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the + /// response. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ListNamespacedPodPresetWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// create a PodPreset + /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> CreateNamespacedPodPresetWithHttpMessagesAsync(V1alpha1PodPreset body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete collection of PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the + /// response. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> DeleteCollectionNamespacedPodPresetWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// read the specified PodPreset + /// + /// + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// Should the export be exact. Exact export maintains + /// cluster-specific fields like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user + /// can not specify. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReadNamespacedPodPresetWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// replace the specified PodPreset + /// + /// + /// + /// + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReplaceNamespacedPodPresetWithHttpMessagesAsync(V1alpha1PodPreset body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete a PodPreset + /// + /// + /// + /// + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value + /// must be non-negative integer. The value zero indicates delete + /// immediately. If this value is nil, the default grace period for the + /// specified type will be used. Defaults to a per object value if not + /// specified. zero means delete immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be + /// deprecated in 1.7. Should the dependent objects be orphaned. If + /// true/false, the "orphan" finalizer will be added to/removed from + /// the object's finalizers list. Either this field or + /// PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this + /// field or OrphanDependents may be set, but not both. The default + /// policy is decided by the existing finalizer set in the + /// metadata.finalizers and the resource-specific default policy. + /// Acceptable values are: 'Orphan' - orphan the dependents; + /// 'Background' - allow the garbage collector to delete the dependents + /// in the background; 'Foreground' - a cascading policy that deletes + /// all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> DeleteNamespacedPodPresetWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// partially update the specified PodPreset + /// + /// + /// + /// + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchNamespacedPodPresetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// list or watch objects of kind PodPreset + /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the + /// response. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ListPodPresetForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// get information of a group + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> GetAPIGroup17WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// get available resources + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> GetAPIResources31WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// list or watch objects of kind StorageClass + /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the + /// response. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ListStorageClassWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// create a StorageClass + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> CreateStorageClassWithHttpMessagesAsync(V1StorageClass body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete collection of StorageClass + /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the + /// response. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> DeleteCollectionStorageClassWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// read the specified StorageClass + /// + /// + /// name of the StorageClass + /// + /// + /// Should the export be exact. Exact export maintains + /// cluster-specific fields like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user + /// can not specify. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReadStorageClassWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// replace the specified StorageClass + /// + /// + /// + /// + /// name of the StorageClass + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReplaceStorageClassWithHttpMessagesAsync(V1StorageClass body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete a StorageClass + /// + /// + /// + /// + /// name of the StorageClass + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value + /// must be non-negative integer. The value zero indicates delete + /// immediately. If this value is nil, the default grace period for the + /// specified type will be used. Defaults to a per object value if not + /// specified. zero means delete immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be + /// deprecated in 1.7. Should the dependent objects be orphaned. If + /// true/false, the "orphan" finalizer will be added to/removed from + /// the object's finalizers list. Either this field or + /// PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this + /// field or OrphanDependents may be set, but not both. The default + /// policy is decided by the existing finalizer set in the + /// metadata.finalizers and the resource-specific default policy. + /// Acceptable values are: 'Orphan' - orphan the dependents; + /// 'Background' - allow the garbage collector to delete the dependents + /// in the background; 'Foreground' - a cascading policy that deletes + /// all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> DeleteStorageClassWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// partially update the specified StorageClass + /// + /// + /// + /// + /// name of the StorageClass + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchStorageClassWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// get available resources + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> GetAPIResources32WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// list or watch objects of kind VolumeAttachment + /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the + /// response. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ListVolumeAttachmentWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// create a VolumeAttachment + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> CreateVolumeAttachmentWithHttpMessagesAsync(V1alpha1VolumeAttachment body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete collection of VolumeAttachment + /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the + /// response. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> DeleteCollectionVolumeAttachmentWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// read the specified VolumeAttachment + /// + /// + /// name of the VolumeAttachment + /// + /// + /// Should the export be exact. Exact export maintains + /// cluster-specific fields like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user + /// can not specify. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReadVolumeAttachmentWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// replace the specified VolumeAttachment + /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReplaceVolumeAttachmentWithHttpMessagesAsync(V1alpha1VolumeAttachment body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete a VolumeAttachment + /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value + /// must be non-negative integer. The value zero indicates delete + /// immediately. If this value is nil, the default grace period for the + /// specified type will be used. Defaults to a per object value if not + /// specified. zero means delete immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be + /// deprecated in 1.7. Should the dependent objects be orphaned. If + /// true/false, the "orphan" finalizer will be added to/removed from + /// the object's finalizers list. Either this field or + /// PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this + /// field or OrphanDependents may be set, but not both. The default + /// policy is decided by the existing finalizer set in the + /// metadata.finalizers and the resource-specific default policy. + /// Acceptable values are: 'Orphan' - orphan the dependents; + /// 'Background' - allow the garbage collector to delete the dependents + /// in the background; 'Foreground' - a cascading policy that deletes + /// all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> DeleteVolumeAttachmentWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// partially update the specified VolumeAttachment + /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchVolumeAttachmentWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// get available resources + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> GetAPIResources33WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// list or watch objects of kind StorageClass + /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the + /// response. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ListStorageClass1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// create a StorageClass + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> CreateStorageClass1WithHttpMessagesAsync(V1beta1StorageClass body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete collection of StorageClass + /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the + /// response. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> DeleteCollectionStorageClass1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// read the specified StorageClass + /// + /// + /// name of the StorageClass + /// + /// + /// Should the export be exact. Exact export maintains + /// cluster-specific fields like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user + /// can not specify. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReadStorageClass1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// replace the specified StorageClass + /// + /// + /// + /// + /// name of the StorageClass + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReplaceStorageClass1WithHttpMessagesAsync(V1beta1StorageClass body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete a StorageClass + /// + /// + /// + /// + /// name of the StorageClass + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value + /// must be non-negative integer. The value zero indicates delete + /// immediately. If this value is nil, the default grace period for the + /// specified type will be used. Defaults to a per object value if not + /// specified. zero means delete immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be + /// deprecated in 1.7. Should the dependent objects be orphaned. If + /// true/false, the "orphan" finalizer will be added to/removed from + /// the object's finalizers list. Either this field or + /// PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this + /// field or OrphanDependents may be set, but not both. The default + /// policy is decided by the existing finalizer set in the + /// metadata.finalizers and the resource-specific default policy. + /// Acceptable values are: 'Orphan' - orphan the dependents; + /// 'Background' - allow the garbage collector to delete the dependents + /// in the background; 'Foreground' - a cascading policy that deletes + /// all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> DeleteStorageClass1WithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// partially update the specified StorageClass + /// + /// + /// + /// + /// name of the StorageClass + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchStorageClass1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// list or watch objects of kind VolumeAttachment + /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the + /// response. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ListVolumeAttachment1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// create a VolumeAttachment + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> CreateVolumeAttachment1WithHttpMessagesAsync(V1beta1VolumeAttachment body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete collection of VolumeAttachment + /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the + /// response. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> DeleteCollectionVolumeAttachment1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// read the specified VolumeAttachment + /// + /// + /// name of the VolumeAttachment + /// + /// + /// Should the export be exact. Exact export maintains + /// cluster-specific fields like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user + /// can not specify. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReadVolumeAttachment1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// replace the specified VolumeAttachment + /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReplaceVolumeAttachment1WithHttpMessagesAsync(V1beta1VolumeAttachment body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete a VolumeAttachment + /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value + /// must be non-negative integer. The value zero indicates delete + /// immediately. If this value is nil, the default grace period for the + /// specified type will be used. Defaults to a per object value if not + /// specified. zero means delete immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be + /// deprecated in 1.7. Should the dependent objects be orphaned. If + /// true/false, the "orphan" finalizer will be added to/removed from + /// the object's finalizers list. Either this field or + /// PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this + /// field or OrphanDependents may be set, but not both. The default + /// policy is decided by the existing finalizer set in the + /// metadata.finalizers and the resource-specific default policy. + /// Acceptable values are: 'Orphan' - orphan the dependents; + /// 'Background' - allow the garbage collector to delete the dependents + /// in the background; 'Foreground' - a cascading policy that deletes + /// all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> DeleteVolumeAttachment1WithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// partially update the specified VolumeAttachment + /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchVolumeAttachment1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task LogFileListHandlerWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// path to the log + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task LogFileHandlerWithHttpMessagesAsync(string logpath, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// get the code version + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> GetCodeWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// Creates a namespace scoped Custom object + /// + /// + /// The JSON schema of the Resource to create. + /// + /// + /// The custom resource's group name + /// + /// + /// The custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// The custom resource's plural name. For TPRs this would be lowercase + /// plural kind. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> CreateNamespacedCustomObjectWithHttpMessagesAsync(object body, string group, string version, string namespaceParameter, string plural, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// list or watch namespace scoped custom objects + /// + /// + /// The custom resource's group name + /// + /// + /// The custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// The custom resource's plural name. For TPRs this would be lowercase + /// plural kind. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ListNamespacedCustomObjectWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// Creates a cluster scoped Custom object + /// + /// + /// The JSON schema of the Resource to create. + /// + /// + /// The custom resource's group name + /// + /// + /// The custom resource's version + /// + /// + /// The custom resource's plural name. For TPRs this would be lowercase + /// plural kind. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> CreateClusterCustomObjectWithHttpMessagesAsync(object body, string group, string version, string plural, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// list or watch cluster scoped custom objects + /// + /// + /// The custom resource's group name + /// + /// + /// The custom resource's version + /// + /// + /// The custom resource's plural name. For TPRs this would be lowercase + /// plural kind. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ListClusterCustomObjectWithHttpMessagesAsync(string group, string version, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// replace status of the cluster scoped specified custom object + /// + /// + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase + /// plural kind. + /// + /// + /// the custom object's name + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReplaceClusterCustomObjectStatusWithHttpMessagesAsync(object body, string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// partially update status of the specified cluster scoped custom + /// object + /// + /// + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase + /// plural kind. + /// + /// + /// the custom object's name + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchClusterCustomObjectStatusWithHttpMessagesAsync(object body, string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// read status of the specified cluster scoped custom object + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase + /// plural kind. + /// + /// + /// the custom object's name + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> GetClusterCustomObjectStatusWithHttpMessagesAsync(string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// replace the specified namespace scoped custom object + /// + /// + /// The JSON schema of the Resource to replace. + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase + /// plural kind. + /// + /// + /// the custom object's name + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReplaceNamespacedCustomObjectWithHttpMessagesAsync(object body, string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// patch the specified namespace scoped custom object + /// + /// + /// The JSON schema of the Resource to patch. + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase + /// plural kind. + /// + /// + /// the custom object's name /// /// /// The headers that will be added to request. @@ -28584,15 +32397,28 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceVolumeAttachment1WithHttpMessagesAsync(V1beta1VolumeAttachment body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedCustomObjectWithHttpMessagesAsync(object body, string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a VolumeAttachment + /// Deletes the specified namespace scoped custom object /// /// /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase + /// plural kind. + /// /// - /// name of the VolumeAttachment + /// the custom object's name /// /// /// The duration in seconds before the object should be deleted. Value @@ -28613,13 +32439,6 @@ public partial interface IKubernetes : System.IDisposable /// field or OrphanDependents may be set, but not both. The default /// policy is decided by the existing finalizer set in the /// metadata.finalizers and the resource-specific default policy. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. /// /// /// The headers that will be added to request. @@ -28627,37 +32446,55 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteVolumeAttachment1WithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedCustomObjectWithHttpMessagesAsync(V1DeleteOptions body, string group, string version, string namespaceParameter, string plural, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified VolumeAttachment + /// Returns a namespace scoped custom object /// - /// + /// + /// the custom resource's group /// - /// - /// name of the VolumeAttachment + /// + /// the custom resource's version /// - /// - /// If 'true', then the output is pretty printed. + /// + /// The custom resource's namespace /// - /// - /// The headers that will be added to request. + /// + /// the custom resource's plural name. For TPRs this would be lowercase + /// plural kind. /// - /// - /// The cancellation token. + /// + /// the custom object's name /// - Task> PatchVolumeAttachment1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task LogFileListHandlerWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetNamespacedCustomObjectWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// path to the log + /// + /// replace scale of the specified namespace scoped custom object + /// + /// + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase + /// plural kind. + /// + /// + /// the custom object's name /// /// /// The headers that will be added to request. @@ -28665,37 +32502,56 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task LogFileHandlerWithHttpMessagesAsync(string logpath, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedCustomObjectScaleWithHttpMessagesAsync(object body, string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// get the code version + /// partially update scale of the specified namespace scoped custom + /// object /// + /// + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase + /// plural kind. + /// + /// + /// the custom object's name + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> GetCodeWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedCustomObjectScaleWithHttpMessagesAsync(object body, string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Creates a cluster scoped Custom object + /// read scale of the specified namespace scoped custom object /// - /// - /// The JSON schema of the Resource to create. - /// /// - /// The custom resource's group name + /// the custom resource's group /// /// - /// The custom resource's version + /// the custom resource's version + /// + /// + /// The custom resource's namespace /// /// - /// The custom resource's plural name. For TPRs this would be lowercase + /// the custom resource's plural name. For TPRs this would be lowercase /// plural kind. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom object's name /// /// /// The headers that will be added to request. @@ -28703,40 +32559,25 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateClusterCustomObjectWithHttpMessagesAsync(object body, string group, string version, string plural, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetNamespacedCustomObjectScaleWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch cluster scoped custom objects + /// replace scale of the specified cluster scoped custom object /// + /// + /// /// - /// The custom resource's group name + /// the custom resource's group /// /// - /// The custom resource's version + /// the custom resource's version /// /// - /// The custom resource's plural name. For TPRs this would be lowercase + /// the custom resource's plural name. For TPRs this would be lowercase /// plural kind. /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. - /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom object's name /// /// /// The headers that will be added to request. @@ -28744,29 +32585,26 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListClusterCustomObjectWithHttpMessagesAsync(string group, string version, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceClusterCustomObjectScaleWithHttpMessagesAsync(object body, string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Creates a namespace scoped Custom object + /// partially update scale of the specified cluster scoped custom + /// object /// /// - /// The JSON schema of the Resource to create. /// /// - /// The custom resource's group name + /// the custom resource's group /// /// - /// The custom resource's version - /// - /// - /// The custom resource's namespace + /// the custom resource's version /// /// - /// The custom resource's plural name. For TPRs this would be lowercase + /// the custom resource's plural name. For TPRs this would be lowercase /// plural kind. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom object's name /// /// /// The headers that will be added to request. @@ -28774,43 +32612,23 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedCustomObjectWithHttpMessagesAsync(object body, string group, string version, string namespaceParameter, string plural, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchClusterCustomObjectScaleWithHttpMessagesAsync(object body, string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch namespace scoped custom objects + /// read scale of the specified custom object /// /// - /// The custom resource's group name + /// the custom resource's group /// /// - /// The custom resource's version - /// - /// - /// The custom resource's namespace + /// the custom resource's version /// /// - /// The custom resource's plural name. For TPRs this would be lowercase + /// the custom resource's plural name. For TPRs this would be lowercase /// plural kind. /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. - /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom object's name /// /// /// The headers that will be added to request. @@ -28818,7 +32636,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedCustomObjectWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetClusterCustomObjectScaleWithHttpMessagesAsync(string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// replace the specified cluster scoped custom object @@ -28945,40 +32763,9 @@ public partial interface IKubernetes : System.IDisposable Task> GetClusterCustomObjectWithHttpMessagesAsync(string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified namespace scoped custom object - /// - /// - /// The JSON schema of the Resource to replace. - /// - /// - /// the custom resource's group - /// - /// - /// the custom resource's version - /// - /// - /// The custom resource's namespace - /// - /// - /// the custom resource's plural name. For TPRs this would be lowercase - /// plural kind. - /// - /// - /// the custom object's name - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedCustomObjectWithHttpMessagesAsync(object body, string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// patch the specified namespace scoped custom object + /// replace status of the specified namespace scoped custom object /// /// - /// The JSON schema of the Resource to patch. /// /// /// the custom resource's group @@ -29002,10 +32789,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedCustomObjectWithHttpMessagesAsync(object body, string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedCustomObjectStatusWithHttpMessagesAsync(object body, string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Deletes the specified namespace scoped custom object + /// partially update status of the specified namespace scoped custom + /// object /// /// /// @@ -29025,36 +32813,16 @@ public partial interface IKubernetes : System.IDisposable /// /// the custom object's name /// - /// - /// The duration in seconds before the object should be deleted. Value - /// must be non-negative integer. The value zero indicates delete - /// immediately. If this value is nil, the default grace period for the - /// specified type will be used. Defaults to a per object value if not - /// specified. zero means delete immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be - /// deprecated in 1.7. Should the dependent objects be orphaned. If - /// true/false, the "orphan" finalizer will be added to/removed from - /// the object's finalizers list. Either this field or - /// PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this - /// field or OrphanDependents may be set, but not both. The default - /// policy is decided by the existing finalizer set in the - /// metadata.finalizers and the resource-specific default policy. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> DeleteNamespacedCustomObjectWithHttpMessagesAsync(V1DeleteOptions body, string group, string version, string namespaceParameter, string plural, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedCustomObjectStatusWithHttpMessagesAsync(object body, string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Returns a namespace scoped custom object + /// read status of the specified namespace scoped custom object /// /// /// the custom resource's group @@ -29078,7 +32846,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetNamespacedCustomObjectWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetNamespacedCustomObjectStatusWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/src/KubernetesClient/generated/Kubernetes.Watch.cs b/src/KubernetesClient/generated/Kubernetes.Watch.cs index 2de00f695..d1e6a817d 100644 --- a/src/KubernetesClient/generated/Kubernetes.Watch.cs +++ b/src/KubernetesClient/generated/Kubernetes.Watch.cs @@ -24,10 +24,11 @@ public Task> WatchNamespacedConfigMapAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"api/v1/watch/namespaces/{@namespace}/configmaps/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -46,10 +47,11 @@ public Task> WatchNamespacedEndpointsAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"api/v1/watch/namespaces/{@namespace}/endpoints/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -68,10 +70,11 @@ public Task> WatchNamespacedEventAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"api/v1/watch/namespaces/{@namespace}/events/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -90,10 +93,11 @@ public Task> WatchNamespacedLimitRangeAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"api/v1/watch/namespaces/{@namespace}/limitranges/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -112,10 +116,11 @@ public Task> WatchNamespacedPersistentVolumeCla Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"api/v1/watch/namespaces/{@namespace}/persistentvolumeclaims/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -134,10 +139,11 @@ public Task> WatchNamespacedPodAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"api/v1/watch/namespaces/{@namespace}/pods/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -156,10 +162,11 @@ public Task> WatchNamespacedPodTemplateAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"api/v1/watch/namespaces/{@namespace}/podtemplates/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -178,10 +185,11 @@ public Task> WatchNamespacedReplicationControll Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"api/v1/watch/namespaces/{@namespace}/replicationcontrollers/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -200,10 +208,11 @@ public Task> WatchNamespacedResourceQuotaAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"api/v1/watch/namespaces/{@namespace}/resourcequotas/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -222,10 +231,11 @@ public Task> WatchNamespacedSecretAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"api/v1/watch/namespaces/{@namespace}/secrets/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -244,10 +254,11 @@ public Task> WatchNamespacedServiceAccountAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"api/v1/watch/namespaces/{@namespace}/serviceaccounts/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -266,10 +277,11 @@ public Task> WatchNamespacedServiceAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"api/v1/watch/namespaces/{@namespace}/services/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -287,10 +299,11 @@ public Task> WatchNamespaceAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"api/v1/watch/namespaces/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -308,10 +321,11 @@ public Task> WatchNodeAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"api/v1/watch/nodes/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -329,10 +343,11 @@ public Task> WatchPersistentVolumeAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"api/v1/watch/persistentvolumes/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -350,10 +365,11 @@ public Task> WatchInitializerConfigura Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/admissionregistration.k8s.io/v1alpha1/watch/initializerconfigurations/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -371,10 +387,11 @@ public Task> WatchMutatingWebhookCo Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -392,10 +409,11 @@ public Task> WatchValidatingWebho Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/admissionregistration.k8s.io/v1beta1/watch/validatingwebhookconfigurations/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -413,10 +431,11 @@ public Task> WatchCustomResourceDefinit Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -434,10 +453,11 @@ public Task> WatchAPIServiceAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/apiregistration.k8s.io/v1/watch/apiservices/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -455,10 +475,11 @@ public Task> WatchAPIServiceAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/apiregistration.k8s.io/v1beta1/watch/apiservices/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -477,10 +498,11 @@ public Task> WatchNamespacedControllerRevisionAsyn Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/apps/v1/watch/namespaces/{@namespace}/controllerrevisions/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -499,10 +521,11 @@ public Task> WatchNamespacedDaemonSetAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/apps/v1/watch/namespaces/{@namespace}/daemonsets/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -521,10 +544,11 @@ public Task> WatchNamespacedDeploymentAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/apps/v1/watch/namespaces/{@namespace}/deployments/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -543,10 +567,11 @@ public Task> WatchNamespacedReplicaSetAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/apps/v1/watch/namespaces/{@namespace}/replicasets/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -565,10 +590,11 @@ public Task> WatchNamespacedStatefulSetAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/apps/v1/watch/namespaces/{@namespace}/statefulsets/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -587,10 +613,11 @@ public Task> WatchNamespacedControllerRevisio Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/apps/v1beta1/watch/namespaces/{@namespace}/controllerrevisions/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -609,10 +636,11 @@ public Task> WatchNamespacedStatefulSetAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/apps/v1beta1/watch/namespaces/{@namespace}/statefulsets/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -631,10 +659,11 @@ public Task> WatchNamespacedControllerRevisio Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/apps/v1beta2/watch/namespaces/{@namespace}/controllerrevisions/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -653,10 +682,11 @@ public Task> WatchNamespacedDaemonSetAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/apps/v1beta2/watch/namespaces/{@namespace}/daemonsets/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -675,10 +705,11 @@ public Task> WatchNamespacedReplicaSetAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/apps/v1beta2/watch/namespaces/{@namespace}/replicasets/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -697,10 +728,11 @@ public Task> WatchNamespacedStatefulSetAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/apps/v1beta2/watch/namespaces/{@namespace}/statefulsets/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -719,10 +751,11 @@ public Task> WatchNamespacedHorizontalPodAuto Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/autoscaling/v1/watch/namespaces/{@namespace}/horizontalpodautoscalers/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -741,10 +774,34 @@ public Task> WatchNamespacedHorizontalPo Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/autoscaling/v2beta1/watch/namespaces/{@namespace}/horizontalpodautoscalers/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); + } + + /// + public Task> WatchNamespacedHorizontalPodAutoscalerAsync( + string name, + string @namespace, + string @continue = null, + string fieldSelector = null, + bool? includeUninitialized = null, + string labelSelector = null, + int? limit = null, + bool? pretty = null, + string resourceVersion = null, + int? timeoutSeconds = null, + bool? watch = null, + Dictionary> customHeaders = null, + Action onEvent = null, + Action onError = null, + Action onClosed = null, + CancellationToken cancellationToken = default(CancellationToken)) + { + string path = $"apis/autoscaling/v2beta2/watch/namespaces/{@namespace}/horizontalpodautoscalers/{name}"; + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -763,10 +820,11 @@ public Task> WatchNamespacedJobAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/batch/v1/watch/namespaces/{@namespace}/jobs/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -785,10 +843,11 @@ public Task> WatchNamespacedCronJobAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/batch/v1beta1/watch/namespaces/{@namespace}/cronjobs/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -807,10 +866,11 @@ public Task> WatchNamespacedCronJobAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/batch/v2alpha1/watch/namespaces/{@namespace}/cronjobs/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -828,10 +888,34 @@ public Task> WatchCertificateSigningRe Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); + } + + /// + public Task> WatchNamespacedLeaseAsync( + string name, + string @namespace, + string @continue = null, + string fieldSelector = null, + bool? includeUninitialized = null, + string labelSelector = null, + int? limit = null, + bool? pretty = null, + string resourceVersion = null, + int? timeoutSeconds = null, + bool? watch = null, + Dictionary> customHeaders = null, + Action onEvent = null, + Action onError = null, + Action onClosed = null, + CancellationToken cancellationToken = default(CancellationToken)) + { + string path = $"apis/coordination.k8s.io/v1beta1/watch/namespaces/{@namespace}/leases/{name}"; + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -850,10 +934,11 @@ public Task> WatchNamespacedEventAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/events.k8s.io/v1beta1/watch/namespaces/{@namespace}/events/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -872,10 +957,11 @@ public Task> WatchNamespacedDaemonSetAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/extensions/v1beta1/watch/namespaces/{@namespace}/daemonsets/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -894,10 +980,11 @@ public Task> WatchNamespacedIngressAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/extensions/v1beta1/watch/namespaces/{@namespace}/ingresses/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -916,10 +1003,11 @@ public Task> WatchNamespacedReplicaSetAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/extensions/v1beta1/watch/namespaces/{@namespace}/replicasets/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -938,10 +1026,11 @@ public Task> WatchNamespacedNetworkPolicyAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/networking.k8s.io/v1/watch/namespaces/{@namespace}/networkpolicies/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -960,10 +1049,11 @@ public Task> WatchNamespacedPodDisruptionBud Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/policy/v1beta1/watch/namespaces/{@namespace}/poddisruptionbudgets/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -981,10 +1071,11 @@ public Task> WatchClusterRoleBindingAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -1002,10 +1093,11 @@ public Task> WatchClusterRoleAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/rbac.authorization.k8s.io/v1/watch/clusterroles/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -1024,10 +1116,11 @@ public Task> WatchNamespacedRoleBindingAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/rbac.authorization.k8s.io/v1/watch/namespaces/{@namespace}/rolebindings/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -1046,10 +1139,11 @@ public Task> WatchNamespacedRoleAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/rbac.authorization.k8s.io/v1/watch/namespaces/{@namespace}/roles/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -1067,10 +1161,11 @@ public Task> WatchClusterRoleBindingAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -1088,10 +1183,11 @@ public Task> WatchClusterRoleAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -1110,10 +1206,11 @@ public Task> WatchNamespacedRoleBindingAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{@namespace}/rolebindings/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -1132,10 +1229,11 @@ public Task> WatchNamespacedRoleAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{@namespace}/roles/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -1153,10 +1251,11 @@ public Task> WatchClusterRoleBindingAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -1174,10 +1273,11 @@ public Task> WatchClusterRoleAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -1196,10 +1296,11 @@ public Task> WatchNamespacedRoleBindingAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{@namespace}/rolebindings/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -1218,10 +1319,11 @@ public Task> WatchNamespacedRoleAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{@namespace}/roles/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -1239,10 +1341,33 @@ public Task> WatchPriorityClassAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); + } + + /// + public Task> WatchPriorityClassAsync( + string name, + string @continue = null, + string fieldSelector = null, + bool? includeUninitialized = null, + string labelSelector = null, + int? limit = null, + bool? pretty = null, + string resourceVersion = null, + int? timeoutSeconds = null, + bool? watch = null, + Dictionary> customHeaders = null, + Action onEvent = null, + Action onError = null, + Action onClosed = null, + CancellationToken cancellationToken = default(CancellationToken)) + { + string path = $"apis/scheduling.k8s.io/v1beta1/watch/priorityclasses/{name}"; + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -1261,10 +1386,11 @@ public Task> WatchNamespacedPodPresetAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/settings.k8s.io/v1alpha1/watch/namespaces/{@namespace}/podpresets/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -1282,10 +1408,11 @@ public Task> WatchStorageClassAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/storage.k8s.io/v1/watch/storageclasses/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -1303,10 +1430,11 @@ public Task> WatchVolumeAttachmentAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/storage.k8s.io/v1alpha1/watch/volumeattachments/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -1324,10 +1452,11 @@ public Task> WatchStorageClassAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/storage.k8s.io/v1beta1/watch/storageclasses/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -1345,10 +1474,11 @@ public Task> WatchVolumeAttachmentAsync( Dictionary> customHeaders = null, Action onEvent = null, Action onError = null, + Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/storage.k8s.io/v1beta1/watch/volumeattachments/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } } diff --git a/src/KubernetesClient/generated/Kubernetes.cs b/src/KubernetesClient/generated/Kubernetes.cs index 0e92c5c2d..4fed0c9e6 100644 --- a/src/KubernetesClient/generated/Kubernetes.cs +++ b/src/KubernetesClient/generated/Kubernetes.cs @@ -531,11 +531,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -927,11 +935,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -1169,11 +1185,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -1411,11 +1435,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -1653,11 +1685,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -1895,11 +1935,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -2545,11 +2593,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -3009,11 +3065,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -3643,6 +3707,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -3689,7 +3759,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedConfigMapWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedConfigMapWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -3711,6 +3781,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -3726,6 +3797,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -3794,7 +3869,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -3838,6 +3913,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -4034,11 +4127,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -4498,11 +4599,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -5132,6 +5241,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -5178,7 +5293,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedEndpointsWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedEndpointsWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -5200,6 +5315,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -5215,6 +5331,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -5283,7 +5403,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -5327,171 +5447,13 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update the specified Endpoints - /// - /// - /// - /// - /// name of the Endpoints - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedEndpointsWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedEndpoints", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/namespaces/{namespace}/endpoints/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 202) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -5511,73 +5473,257 @@ private void Initialize() } /// - /// list or watch objects of kind Event + /// partially update the specified Endpoints /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// name of the Endpoints /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchNamespacedEndpointsWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedEndpoints", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/namespaces/{namespace}/endpoints/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// list or watch objects of kind Event + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// If 'true', then the output is pretty printed. @@ -5987,11 +6133,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -6621,6 +6775,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -6667,7 +6827,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedEventWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedEventWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -6689,6 +6849,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -6704,6 +6865,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -6772,7 +6937,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -6816,6 +6981,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -7012,11 +7195,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -7476,11 +7667,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -8110,6 +8309,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -8156,7 +8361,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedLimitRangeWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedLimitRangeWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -8178,6 +8383,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -8193,6 +8399,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -8261,7 +8471,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -8305,6 +8515,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -8501,11 +8729,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -8965,11 +9201,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -9599,6 +9843,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -9645,7 +9895,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedPersistentVolumeClaimWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedPersistentVolumeClaimWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -9667,6 +9917,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -9682,6 +9933,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -9750,7 +10005,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -9794,6 +10049,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -10527,11 +10800,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -10991,11 +11272,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -11625,6 +11914,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -11671,7 +11966,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedPodWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedPodWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -11693,6 +11988,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -11708,6 +12004,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -11776,7 +12076,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -11820,6 +12120,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -12007,7 +12325,7 @@ private void Initialize() /// connect GET requests to attach of Pod /// /// - /// name of the Pod + /// name of the PodAttachOptions /// /// /// object name and auth scope, such as for teams and projects @@ -12208,7 +12526,7 @@ private void Initialize() /// connect POST requests to attach of Pod /// /// - /// name of the Pod + /// name of the PodAttachOptions /// /// /// object name and auth scope, such as for teams and projects @@ -12841,7 +13159,7 @@ private void Initialize() /// connect GET requests to exec of Pod /// /// - /// name of the Pod + /// name of the PodExecOptions /// /// /// object name and auth scope, such as for teams and projects @@ -13050,7 +13368,7 @@ private void Initialize() /// connect POST requests to exec of Pod /// /// - /// name of the Pod + /// name of the PodExecOptions /// /// /// object name and auth scope, such as for teams and projects @@ -13474,7 +13792,7 @@ private void Initialize() /// connect GET requests to portforward of Pod /// /// - /// name of the Pod + /// name of the PodPortForwardOptions /// /// /// object name and auth scope, such as for teams and projects @@ -13637,7 +13955,7 @@ private void Initialize() /// connect POST requests to portforward of Pod /// /// - /// name of the Pod + /// name of the PodPortForwardOptions /// /// /// object name and auth scope, such as for teams and projects @@ -13800,7 +14118,7 @@ private void Initialize() /// connect GET requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -13963,7 +14281,7 @@ private void Initialize() /// connect PUT requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -14126,7 +14444,7 @@ private void Initialize() /// connect POST requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -14289,7 +14607,7 @@ private void Initialize() /// connect DELETE requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -14452,7 +14770,7 @@ private void Initialize() /// connect HEAD requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -14615,7 +14933,7 @@ private void Initialize() /// connect PATCH requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -14778,7 +15096,7 @@ private void Initialize() /// connect GET requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -14954,7 +15272,7 @@ private void Initialize() /// connect PUT requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -15130,7 +15448,7 @@ private void Initialize() /// connect POST requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -15306,7 +15624,7 @@ private void Initialize() /// connect DELETE requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -15482,7 +15800,7 @@ private void Initialize() /// connect HEAD requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -15658,7 +15976,7 @@ private void Initialize() /// connect PATCH requests to proxy of Pod /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -16380,11 +16698,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -16844,11 +17170,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -17478,6 +17812,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -17524,7 +17864,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedPodTemplateWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedPodTemplateWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -17546,6 +17886,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -17561,6 +17902,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -17629,7 +17974,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -17673,6 +18018,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -17869,11 +18232,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -18333,11 +18704,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -18967,6 +19346,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -19013,7 +19398,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedReplicationControllerWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedReplicationControllerWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -19035,6 +19420,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -19050,6 +19436,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -19118,7 +19508,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -19162,6 +19552,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -20432,11 +20840,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -20896,11 +21312,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -21530,6 +21954,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -21576,7 +22006,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedResourceQuotaWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedResourceQuotaWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -21598,6 +22028,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -21613,6 +22044,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -21681,7 +22116,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -21725,6 +22160,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -22458,11 +22911,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -22922,11 +23383,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -23556,6 +24025,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -23602,7 +24077,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedSecretWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedSecretWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -23624,6 +24099,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -23639,6 +24115,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -23707,7 +24187,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -23751,6 +24231,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -23947,11 +24445,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -24411,11 +24917,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -25045,6 +25559,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -25091,7 +25611,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedServiceAccountWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedServiceAccountWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -25113,6 +25633,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -25128,6 +25649,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -25196,7 +25721,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -25240,6 +25765,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -25436,11 +25979,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -26277,6 +26828,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -26323,7 +26880,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedServiceWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedServiceWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -26345,6 +26902,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -26360,6 +26918,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -26428,7 +26990,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -26472,6 +27034,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -26659,7 +27239,7 @@ private void Initialize() /// connect GET requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -26826,7 +27406,7 @@ private void Initialize() /// connect PUT requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -26993,7 +27573,7 @@ private void Initialize() /// connect POST requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -27160,7 +27740,7 @@ private void Initialize() /// connect DELETE requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -27327,7 +27907,7 @@ private void Initialize() /// connect HEAD requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -27494,7 +28074,7 @@ private void Initialize() /// connect PATCH requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -27661,7 +28241,7 @@ private void Initialize() /// connect GET requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -27841,7 +28421,7 @@ private void Initialize() /// connect PUT requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -28021,7 +28601,7 @@ private void Initialize() /// connect POST requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -28201,7 +28781,7 @@ private void Initialize() /// connect DELETE requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -28381,7 +28961,7 @@ private void Initialize() /// connect HEAD requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -28561,7 +29141,7 @@ private void Initialize() /// connect PATCH requests to proxy of Service /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -29643,6 +30223,12 @@ private void Initialize() /// /// name of the Namespace /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -29689,7 +30275,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespaceWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespaceWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -29707,6 +30293,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -29720,6 +30307,10 @@ private void Initialize() var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/namespaces/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -29788,7 +30379,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -29832,6 +30423,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -30715,11 +31324,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -31155,11 +31772,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -31756,6 +32381,12 @@ private void Initialize() /// /// name of the Node /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -31802,7 +32433,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNodeWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNodeWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -31820,6 +32451,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -31833,6 +32465,10 @@ private void Initialize() var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/nodes/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -31901,7 +32537,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -31945,6 +32581,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -32123,7 +32777,7 @@ private void Initialize() /// connect GET requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -32277,7 +32931,7 @@ private void Initialize() /// connect PUT requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -32431,7 +33085,7 @@ private void Initialize() /// connect POST requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -32585,7 +33239,7 @@ private void Initialize() /// connect DELETE requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -32739,7 +33393,7 @@ private void Initialize() /// connect HEAD requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -32893,7 +33547,7 @@ private void Initialize() /// connect PATCH requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -33047,7 +33701,7 @@ private void Initialize() /// connect GET requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -33214,7 +33868,7 @@ private void Initialize() /// connect PUT requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -33381,7 +34035,7 @@ private void Initialize() /// connect POST requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -33548,7 +34202,7 @@ private void Initialize() /// connect DELETE requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -33715,7 +34369,7 @@ private void Initialize() /// connect HEAD requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -33882,7 +34536,7 @@ private void Initialize() /// connect PATCH requests to proxy of Node /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -34565,11 +35219,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -34807,11 +35469,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -35247,11 +35917,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -35848,6 +36526,12 @@ private void Initialize() /// /// name of the PersistentVolume /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -35894,7 +36578,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeletePersistentVolumeWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeletePersistentVolumeWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -35912,6 +36596,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -35925,6 +36610,10 @@ private void Initialize() var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/persistentvolumes/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -35993,7 +36682,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -36037,6 +36726,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -36731,11 +37438,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -36973,11 +37688,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -37215,11 +37938,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -37457,11 +38188,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -37699,11 +38438,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -37941,11 +38688,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -38183,11 +38938,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -38803,11 +39566,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -39243,11 +40014,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -39844,6 +40623,12 @@ private void Initialize() /// /// name of the InitializerConfiguration /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -39890,7 +40675,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteInitializerConfigurationWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteInitializerConfigurationWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -39908,6 +40693,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -39921,6 +40707,10 @@ private void Initialize() var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -39968,173 +40758,191 @@ private void Initialize() _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update the specified InitializerConfiguration - /// - /// - /// - /// - /// name of the InitializerConfiguration - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchInitializerConfigurationWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchInitializerConfiguration", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// partially update the specified InitializerConfiguration + /// + /// + /// + /// + /// name of the InitializerConfiguration + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchInitializerConfigurationWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PatchInitializerConfiguration", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -40343,11 +41151,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -40783,11 +41599,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -41384,6 +42208,12 @@ private void Initialize() /// /// name of the MutatingWebhookConfiguration /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -41430,7 +42260,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteMutatingWebhookConfigurationWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteMutatingWebhookConfigurationWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -41448,6 +42278,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -41461,6 +42292,10 @@ private void Initialize() var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -41529,7 +42364,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -41573,6 +42408,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -41757,11 +42610,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -42197,11 +43058,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -42798,6 +43667,12 @@ private void Initialize() /// /// name of the ValidatingWebhookConfiguration /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -42844,7 +43719,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteValidatingWebhookConfigurationWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteValidatingWebhookConfigurationWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -42862,6 +43737,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -42875,6 +43751,10 @@ private void Initialize() var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -42943,7 +43823,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -42987,6 +43867,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -43423,11 +44321,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -43863,11 +44769,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -44464,6 +45378,12 @@ private void Initialize() /// /// name of the CustomResourceDefinition /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -44510,7 +45430,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCustomResourceDefinitionWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCustomResourceDefinitionWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -44528,6 +45448,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -44541,6 +45462,10 @@ private void Initialize() var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -44609,7 +45534,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -44653,6 +45578,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -44828,10 +45771,8 @@ private void Initialize() } /// - /// replace status of the specified CustomResourceDefinition + /// read status of the specified CustomResourceDefinition /// - /// - /// /// /// name of the CustomResourceDefinition /// @@ -44859,16 +45800,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceCustomResourceDefinitionStatusWithHttpMessagesAsync(V1beta1CustomResourceDefinition body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadCustomResourceDefinitionStatusWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -44880,11 +45813,10 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceCustomResourceDefinitionStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadCustomResourceDefinitionStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -44902,7 +45834,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -44921,12 +45853,177 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// replace status of the specified CustomResourceDefinition + /// + /// + /// + /// + /// name of the CustomResourceDefinition + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReplaceCustomResourceDefinitionStatusWithHttpMessagesAsync(V1beta1CustomResourceDefinition body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceCustomResourceDefinitionStatus", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -45016,6 +46113,173 @@ private void Initialize() return _result; } + /// + /// partially update status of the specified CustomResourceDefinition + /// + /// + /// + /// + /// name of the CustomResourceDefinition + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchCustomResourceDefinitionStatusWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PatchCustomResourceDefinitionStatus", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// get information of a group /// @@ -45278,11 +46542,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -45718,11 +46990,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -46319,6 +47599,12 @@ private void Initialize() /// /// name of the APIService /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -46365,7 +47651,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteAPIServiceWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteAPIServiceWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -46383,6 +47669,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -46396,6 +47683,10 @@ private void Initialize() var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1/apiservices/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -46464,7 +47755,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -46508,6 +47799,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -46683,10 +47992,8 @@ private void Initialize() } /// - /// replace status of the specified APIService + /// read status of the specified APIService /// - /// - /// /// /// name of the APIService /// @@ -46714,16 +48021,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceAPIServiceStatusWithHttpMessagesAsync(V1APIService body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadAPIServiceStatusWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -46735,11 +48034,10 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceAPIServiceStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadAPIServiceStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -46757,7 +48055,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -46776,12 +48074,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -46802,7 +48094,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -46846,24 +48138,6 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -46872,8 +48146,16 @@ private void Initialize() } /// - /// get available resources + /// replace status of the specified APIService /// + /// + /// + /// + /// name of the APIService + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -46886,11 +48168,29 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources5WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceAPIServiceStatusWithHttpMessagesAsync(V1APIService body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -46898,16 +48198,29 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources5", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceAPIServiceStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1beta1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1/apiservices/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -46926,6 +48239,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -46946,7 +48265,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -46969,7 +48288,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -46978,7 +48297,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -46998,70 +48335,12 @@ private void Initialize() } /// - /// list or watch objects of kind APIService + /// partially update status of the specified APIService /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// name of the APIService /// /// /// If 'true', then the output is pretty printed. @@ -47078,11 +48357,25 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListAPIService1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchAPIServiceStatusWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -47090,54 +48383,17 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListAPIService1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchAPIServiceStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1beta1/apiservices").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1/apiservices/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) - { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -47149,7 +48405,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -47168,6 +48424,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -47211,7 +48473,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -47220,7 +48482,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -47240,13 +48502,8 @@ private void Initialize() } /// - /// create an APIService + /// get available resources /// - /// - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -47259,25 +48516,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> CreateAPIService1WithHttpMessagesAsync(V1beta1APIService body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources5WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -47285,27 +48528,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateAPIService1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources5", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1beta1/apiservices").ToString(); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1beta1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -47324,12 +48556,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -47350,7 +48576,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -47373,7 +48599,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -47382,43 +48608,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -47438,7 +48628,7 @@ private void Initialize() } /// - /// delete collection of APIService + /// list or watch objects of kind APIService /// /// /// The continue option should be set when retrieving more results from the @@ -47447,11 +48637,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -47521,7 +48719,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionAPIService1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListAPIService1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -47540,7 +48738,7 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionAPIService1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListAPIService1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -47589,7 +48787,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -47651,7 +48849,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -47660,7 +48858,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -47680,18 +48878,9 @@ private void Initialize() } /// - /// read the specified APIService + /// create an APIService /// - /// - /// name of the APIService - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. + /// /// /// /// If 'true', then the output is pretty printed. @@ -47717,11 +48906,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadAPIService1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateAPIService1WithHttpMessagesAsync(V1beta1APIService body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) + if (body == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -47730,26 +48923,15 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); + tracingParameters.Add("body", body); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadAPIService1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateAPIService1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1beta1/apiservices/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1beta1/apiservices").ToString(); List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -47761,7 +48943,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -47780,6 +48962,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -47800,7 +48988,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -47844,6 +49032,42 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -47852,12 +49076,78 @@ private void Initialize() } /// - /// replace the specified APIService + /// delete collection of APIService /// - /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// name of the APIService + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// If 'true', then the output is pretty printed. @@ -47874,29 +49164,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceAPIService1WithHttpMessagesAsync(V1beta1APIService body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionAPIService1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -47904,17 +49176,54 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceAPIService1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionAPIService1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1beta1/apiservices/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1beta1/apiservices").ToString(); List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -47926,7 +49235,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -47945,12 +49254,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -47971,7 +49274,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -47994,7 +49297,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -48003,25 +49306,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -48041,34 +49326,18 @@ private void Initialize() } /// - /// delete an APIService + /// read the specified APIService /// - /// - /// /// /// name of the APIService /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. /// /// /// If 'true', then the output is pretty printed. @@ -48094,12 +49363,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteAPIService1WithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadAPIService1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -48111,31 +49376,25 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteAPIService1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadAPIService1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1beta1/apiservices/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) + if (exact != null) { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); } - if (propagationPolicy != null) + if (export != null) { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -48148,7 +49407,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -48167,12 +49426,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -48216,7 +49469,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -48225,7 +49478,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -48245,7 +49498,7 @@ private void Initialize() } /// - /// partially update the specified APIService + /// replace the specified APIService /// /// /// @@ -48276,12 +49529,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchAPIService1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceAPIService1WithHttpMessagesAsync(V1beta1APIService body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } + if (body != null) + { + body.Validate(); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -48297,7 +49554,7 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchAPIService1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceAPIService1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -48315,7 +49572,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -48338,7 +49595,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -48360,7 +49617,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -48404,6 +49661,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -48412,13 +49687,41 @@ private void Initialize() } /// - /// replace status of the specified APIService + /// delete an APIService /// /// /// /// /// name of the APIService /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// /// /// If 'true', then the output is pretty printed. /// @@ -48443,16 +49746,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceAPIServiceStatus1WithHttpMessagesAsync(V1beta1APIService body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteAPIService1WithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -48465,16 +49764,36 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceAPIServiceStatus1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteAPIService1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1beta1/apiservices/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -48486,7 +49805,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -48531,7 +49850,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -48554,7 +49873,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -48563,7 +49882,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -48576,12 +49895,12 @@ private void Initialize() } } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 202) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -48601,8 +49920,16 @@ private void Initialize() } /// - /// get information of a group + /// partially update the specified APIService /// + /// + /// + /// + /// name of the APIService + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -48615,11 +49942,25 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIGroup3WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchAPIService1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -48627,16 +49968,29 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchAPIService1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1beta1/apiservices/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -48655,6 +50009,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -48698,7 +50058,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -48707,7 +50067,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -48727,8 +50087,14 @@ private void Initialize() } /// - /// get available resources + /// read status of the specified APIService /// + /// + /// name of the APIService + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -48741,11 +50107,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources6WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadAPIServiceStatus1WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -48753,12 +50129,632 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources6", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadAPIServiceStatus1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// replace status of the specified APIService + /// + /// + /// + /// + /// name of the APIService + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReplaceAPIServiceStatus1WithHttpMessagesAsync(V1beta1APIService body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceAPIServiceStatus1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// partially update status of the specified APIService + /// + /// + /// + /// + /// name of the APIService + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchAPIServiceStatus1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PatchAPIServiceStatus1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// get information of a group + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIGroup3WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup3", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// get available resources + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIResources6WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources6", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -48862,11 +50858,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -49104,11 +51108,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -49346,11 +51358,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -49591,11 +51611,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -50055,11 +52083,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -50689,6 +52725,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -50735,7 +52777,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedControllerRevisionWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedControllerRevisionWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -50757,6 +52799,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -50772,6 +52815,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -50840,7 +52887,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -50884,6 +52931,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -51080,11 +53145,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -51544,11 +53617,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -52178,6 +54259,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -52224,7 +54311,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedDaemonSetWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedDaemonSetWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -52246,6 +54333,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -52261,6 +54349,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -52329,7 +54421,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -52373,6 +54465,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -53106,11 +55216,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -53570,11 +55688,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -54204,6 +56330,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -54250,7 +56382,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedDeploymentWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedDeploymentWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -54272,6 +56404,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -54287,6 +56420,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -54355,7 +56492,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -54399,6 +56536,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -55669,11 +57824,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -56133,11 +58296,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -56767,6 +58938,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -56813,7 +58990,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedReplicaSetWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedReplicaSetWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -56835,6 +59012,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -56850,6 +59028,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -56918,7 +59100,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -56962,6 +59144,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -58232,11 +60432,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -58696,11 +60904,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -59330,6 +61546,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -59376,7 +61598,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedStatefulSetWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedStatefulSetWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -59398,6 +61620,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -59413,6 +61636,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -59481,7 +61708,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -59525,171 +61752,13 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update the specified StatefulSet - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedStatefulSetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedStatefulSet", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1/namespaces/{namespace}/statefulsets/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 202) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -59709,10 +61778,186 @@ private void Initialize() } /// - /// read scale of the specified StatefulSet + /// partially update the specified StatefulSet /// + /// + /// /// - /// name of the Scale + /// name of the StatefulSet + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchNamespacedStatefulSetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedStatefulSet", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1/namespaces/{namespace}/statefulsets/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// read scale of the specified StatefulSet + /// + /// + /// name of the Scale /// /// /// object name and auth scope, such as for teams and projects @@ -60792,11 +63037,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -61034,11 +63287,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -61402,11 +63663,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -61644,11 +63913,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -61889,11 +64166,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -62353,11 +64638,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -62987,6 +65280,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -63033,7 +65332,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedControllerRevision1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedControllerRevision1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -63055,6 +65354,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -63070,6 +65370,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -63138,7 +65442,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -63182,6 +65486,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -63378,11 +65700,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -63842,11 +66172,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -64476,6 +66814,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -64522,7 +66866,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedDeployment1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedDeployment1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -64544,6 +66888,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -64559,6 +66904,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -64627,7 +66976,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -64671,6 +67020,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -64889,7 +67256,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedDeploymentRollbackWithHttpMessagesAsync(Appsv1beta1DeploymentRollback body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedDeploymentRollbackWithHttpMessagesAsync(Appsv1beta1DeploymentRollback body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -65006,7 +67373,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -65015,7 +67382,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -65033,7 +67400,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -65051,7 +67418,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -66157,11 +68524,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -66621,11 +68996,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -67255,6 +69638,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -67301,7 +69690,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedStatefulSet1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedStatefulSet1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -67323,6 +69712,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -67338,6 +69728,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -67406,7 +69800,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -67450,6 +69844,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -68717,11 +71129,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -69085,11 +71505,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -69327,11 +71755,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -69569,11 +72005,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -69814,11 +72258,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -70278,11 +72730,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -70912,6 +73372,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -70958,7 +73424,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedControllerRevision2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedControllerRevision2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -70980,6 +73446,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -70995,6 +73462,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -71063,7 +73534,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -71107,6 +73578,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -71303,11 +73792,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -71767,11 +74264,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -72401,6 +74906,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -72447,7 +74958,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedDaemonSet1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedDaemonSet1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -72469,6 +74980,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -72484,6 +74996,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -72552,7 +75068,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -72596,6 +75112,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -73329,11 +75863,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -73793,11 +76335,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -74427,6 +76977,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -74473,7 +77029,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedDeployment2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedDeployment2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -74495,6 +77051,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -74510,6 +77067,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -74578,7 +77139,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -74622,6 +77183,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -75892,11 +78471,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -76356,11 +78943,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -76990,6 +79585,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -77036,7 +79637,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedReplicaSet1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedReplicaSet1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -77058,6 +79659,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -77073,6 +79675,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -77141,7 +79747,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -77185,6 +79791,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -78455,11 +81079,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -78919,11 +81551,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -79553,6 +82193,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -79599,7 +82245,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedStatefulSet2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedStatefulSet2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -79621,6 +82267,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -79636,6 +82283,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -79704,7 +82355,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -79748,171 +82399,13 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update the specified StatefulSet - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedStatefulSet2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedStatefulSet2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 202) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -79932,10 +82425,12 @@ private void Initialize() } /// - /// read scale of the specified StatefulSet + /// partially update the specified StatefulSet /// + /// + /// /// - /// name of the Scale + /// name of the StatefulSet /// /// /// object name and auth scope, such as for teams and projects @@ -79964,8 +82459,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedStatefulSetScale2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedStatefulSet2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -79981,15 +82480,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedStatefulSetScale2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedStatefulSet2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -80004,7 +82504,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -80023,6 +82523,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -80066,7 +82572,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -80075,7 +82581,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -80095,10 +82601,8 @@ private void Initialize() } /// - /// replace scale of the specified StatefulSet + /// read scale of the specified StatefulSet /// - /// - /// /// /// name of the Scale /// @@ -80129,16 +82633,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedStatefulSetScale2WithHttpMessagesAsync(V1beta2Scale body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedStatefulSetScale2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -80154,12 +82650,11 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedStatefulSetScale2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedStatefulSetScale2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -80178,7 +82673,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -80197,12 +82692,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -80223,7 +82712,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -80267,24 +82756,6 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -80293,7 +82764,7 @@ private void Initialize() } /// - /// partially update scale of the specified StatefulSet + /// replace scale of the specified StatefulSet /// /// /// @@ -80327,12 +82798,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedStatefulSetScale2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedStatefulSetScale2WithHttpMessagesAsync(V1beta2Scale body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } + if (body != null) + { + body.Validate(); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -80353,7 +82828,7 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedStatefulSetScale2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedStatefulSetScale2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -80372,7 +82847,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -80395,7 +82870,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -80417,7 +82892,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -80461,158 +82936,13 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read status of the specified StatefulSet - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedStatefulSetStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedStatefulSetStatus2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -80632,12 +82962,12 @@ private void Initialize() } /// - /// replace status of the specified StatefulSet + /// partially update scale of the specified StatefulSet /// /// /// /// - /// name of the StatefulSet + /// name of the Scale /// /// /// object name and auth scope, such as for teams and projects @@ -80666,16 +82996,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedStatefulSetStatus2WithHttpMessagesAsync(V1beta2StatefulSet body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedStatefulSetScale2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -80696,11 +83022,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedStatefulSetStatus2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedStatefulSetScale2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -80715,7 +83041,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -80738,7 +83064,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -80760,7 +83086,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -80783,7 +83109,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -80792,25 +83118,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -80830,10 +83138,371 @@ private void Initialize() } /// - /// partially update status of the specified StatefulSet + /// read status of the specified StatefulSet /// - /// - /// + /// + /// name of the StatefulSet + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReadNamespacedStatefulSetStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedStatefulSetStatus2", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// replace status of the specified StatefulSet + /// + /// + /// + /// + /// name of the StatefulSet + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReplaceNamespacedStatefulSetStatus2WithHttpMessagesAsync(V1beta2StatefulSet body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedStatefulSetStatus2", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// partially update status of the specified StatefulSet + /// + /// + /// /// /// name of the StatefulSet /// @@ -81015,11 +83684,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -81257,11 +83934,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -84505,11 +87190,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -84750,11 +87443,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -85214,11 +87915,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -85848,6 +88557,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -85894,7 +88609,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -85916,6 +88631,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -85931,6 +88647,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -85999,7 +88719,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -86043,6 +88763,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -86899,11 +89637,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -87144,11 +89890,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -87608,11 +90362,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -88242,6 +91004,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -88288,7 +91056,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -88310,6 +91078,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -88325,6 +91094,10 @@ private void Initialize() _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -88393,7 +91166,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -88437,6 +91210,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -89157,132 +91948,6 @@ private void Initialize() return _result; } - /// - /// get information of a group - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIGroup7WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup7", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - /// /// get available resources /// @@ -89315,7 +91980,7 @@ private void Initialize() } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -89410,7 +92075,7 @@ private void Initialize() } /// - /// list or watch objects of kind Job + /// list or watch objects of kind HorizontalPodAutoscaler /// /// /// The continue option should be set when retrieving more results from the @@ -89419,11 +92084,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -89493,7 +92166,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListJobForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListHorizontalPodAutoscalerForAllNamespaces2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -89512,11 +92185,11 @@ private void Initialize() tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListJobForAllNamespaces", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListHorizontalPodAutoscalerForAllNamespaces2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/jobs").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/horizontalpodautoscalers").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -89623,7 +92296,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -89632,7 +92305,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -89652,7 +92325,7 @@ private void Initialize() } /// - /// list or watch objects of kind Job + /// list or watch objects of kind HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -89664,11 +92337,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -89744,7 +92425,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedJobWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -89768,11 +92449,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedJob", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedHorizontalPodAutoscaler2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) @@ -89880,7 +92561,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -89889,7 +92570,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -89909,7 +92590,7 @@ private void Initialize() } /// - /// create a Job + /// create a HorizontalPodAutoscaler /// /// /// @@ -89940,7 +92621,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedJobWithHttpMessagesAsync(V1Job body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(V2beta2HorizontalPodAutoscaler body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -89965,11 +92646,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedJob", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedHorizontalPodAutoscaler2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) @@ -90051,7 +92732,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -90060,7 +92741,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -90078,7 +92759,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -90096,7 +92777,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -90116,7 +92797,7 @@ private void Initialize() } /// - /// delete collection of Job + /// delete collection of HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -90128,11 +92809,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -90208,7 +92897,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedJobWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -90232,11 +92921,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedJob", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedHorizontalPodAutoscaler2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) @@ -90373,10 +93062,10 @@ private void Initialize() } /// - /// read the specified Job + /// read the specified HorizontalPodAutoscaler /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -90413,7 +93102,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedJobWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -90436,11 +93125,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedJob", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedHorizontalPodAutoscaler2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -90525,7 +93214,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -90534,7 +93223,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -90554,12 +93243,12 @@ private void Initialize() } /// - /// replace the specified Job + /// replace the specified HorizontalPodAutoscaler /// /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -90588,7 +93277,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedJobWithHttpMessagesAsync(V1Job body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -90618,11 +93307,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedJob", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedHorizontalPodAutoscaler2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -90705,7 +93394,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -90714,7 +93403,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -90732,7 +93421,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -90752,16 +93441,22 @@ private void Initialize() } /// - /// delete a Job + /// delete a HorizontalPodAutoscaler /// /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -90808,7 +93503,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedJobWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -90830,6 +93525,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -90837,14 +93533,18 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedJob", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedHorizontalPodAutoscaler2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -90913,7 +93613,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -90957,6 +93657,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -90965,12 +93683,12 @@ private void Initialize() } /// - /// partially update the specified Job + /// partially update the specified HorizontalPodAutoscaler /// /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -90999,7 +93717,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedJobWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -91025,11 +93743,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedJob", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedHorizontalPodAutoscaler2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -91112,7 +93830,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -91121,7 +93839,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -91141,10 +93859,10 @@ private void Initialize() } /// - /// read status of the specified Job + /// read status of the specified HorizontalPodAutoscaler /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -91173,7 +93891,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedJobStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -91194,11 +93912,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedJobStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedHorizontalPodAutoscalerStatus2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -91275,7 +93993,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -91284,7 +94002,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -91304,12 +94022,12 @@ private void Initialize() } /// - /// replace status of the specified Job + /// replace status of the specified HorizontalPodAutoscaler /// /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -91338,7 +94056,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedJobStatusWithHttpMessagesAsync(V1Job body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -91368,11 +94086,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedJobStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedHorizontalPodAutoscalerStatus2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -91455,7 +94173,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -91464,7 +94182,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -91482,7 +94200,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -91502,12 +94220,12 @@ private void Initialize() } /// - /// partially update status of the specified Job + /// partially update status of the specified HorizontalPodAutoscaler /// /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -91536,7 +94254,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedJobStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -91562,11 +94280,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedJobStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedHorizontalPodAutoscalerStatus2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -91649,7 +94367,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -91658,7 +94376,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -91678,7 +94396,7 @@ private void Initialize() } /// - /// get available resources + /// get information of a group /// /// /// Headers that will be added to request. @@ -91695,7 +94413,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources16WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup7WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -91705,11 +94423,11 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources16", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup7", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -91775,7 +94493,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -91784,7 +94502,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -91804,74 +94522,8 @@ private void Initialize() } /// - /// list or watch objects of kind CronJob + /// get available resources /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// /// /// Headers that will be added to request. /// @@ -91887,7 +94539,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListCronJobForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources16WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -91896,62 +94548,12 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListCronJobForAllNamespaces", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources16", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/cronjobs").ToString(); - List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) - { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -92017,7 +94619,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -92026,7 +94628,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -92046,11 +94648,8 @@ private void Initialize() } /// - /// list or watch objects of kind CronJob + /// list or watch objects of kind Job /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -92058,11 +94657,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -92098,6 +94705,9 @@ private void Initialize() /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -92114,9 +94724,6 @@ private void Initialize() /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -92129,21 +94736,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedCronJobWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListJobForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -92156,18 +94753,16 @@ private void Initialize() tracingParameters.Add("includeUninitialized", includeUninitialized); tracingParameters.Add("labelSelector", labelSelector); tracingParameters.Add("limit", limit); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedCronJob", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListJobForAllNamespaces", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/jobs").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -92189,6 +94784,10 @@ private void Initialize() { _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } if (resourceVersion != null) { _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); @@ -92201,10 +94800,6 @@ private void Initialize() { _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -92274,7 +94869,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -92283,7 +94878,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -92303,13 +94898,82 @@ private void Initialize() } /// - /// create a CronJob + /// list or watch objects of kind Job /// - /// - /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// If 'true', then the output is pretty printed. /// @@ -92334,7 +94998,203 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedCronJobWithHttpMessagesAsync(V1beta1CronJob body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedJobWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedJob", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// create a Job + /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateNamespacedJobWithHttpMessagesAsync(V1Job body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -92359,11 +95219,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedCronJob", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) @@ -92445,7 +95305,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -92454,7 +95314,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -92472,7 +95332,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -92490,7 +95350,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -92510,7 +95370,7 @@ private void Initialize() } /// - /// delete collection of CronJob + /// delete collection of Job /// /// /// object name and auth scope, such as for teams and projects @@ -92522,11 +95382,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -92602,7 +95470,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedCronJobWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedJobWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -92626,11 +95494,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedCronJob", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) @@ -92767,10 +95635,10 @@ private void Initialize() } /// - /// read the specified CronJob + /// read the specified Job /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -92807,7 +95675,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedCronJobWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedJobWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -92830,11 +95698,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedCronJob", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -92919,7 +95787,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -92928,7 +95796,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -92948,12 +95816,12 @@ private void Initialize() } /// - /// replace the specified CronJob + /// replace the specified Job /// /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -92982,7 +95850,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedCronJobWithHttpMessagesAsync(V1beta1CronJob body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedJobWithHttpMessagesAsync(V1Job body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -93012,11 +95880,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedCronJob", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -93099,7 +95967,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -93108,7 +95976,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -93126,7 +95994,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -93146,16 +96014,22 @@ private void Initialize() } /// - /// delete a CronJob + /// delete a Job /// /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -93202,7 +96076,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedCronJobWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedJobWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -93224,6 +96098,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -93231,14 +96106,18 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedCronJob", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -93307,7 +96186,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -93351,6 +96230,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -93359,12 +96256,12 @@ private void Initialize() } /// - /// partially update the specified CronJob + /// partially update the specified Job /// /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -93393,7 +96290,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedCronJobWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedJobWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -93419,11 +96316,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedCronJob", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -93506,7 +96403,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -93515,7 +96412,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -93535,10 +96432,10 @@ private void Initialize() } /// - /// read status of the specified CronJob + /// read status of the specified Job /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -93567,7 +96464,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedCronJobStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedJobStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -93588,11 +96485,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedCronJobStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedJobStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -93669,7 +96566,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -93678,7 +96575,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -93698,12 +96595,12 @@ private void Initialize() } /// - /// replace status of the specified CronJob + /// replace status of the specified Job /// /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -93732,7 +96629,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedCronJobStatusWithHttpMessagesAsync(V1beta1CronJob body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedJobStatusWithHttpMessagesAsync(V1Job body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -93762,11 +96659,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedCronJobStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedJobStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -93849,7 +96746,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -93858,7 +96755,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -93876,7 +96773,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -93896,12 +96793,12 @@ private void Initialize() } /// - /// partially update status of the specified CronJob + /// partially update status of the specified Job /// /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -93930,7 +96827,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedCronJobStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedJobStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -93956,11 +96853,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedCronJobStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedJobStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -94043,7 +96940,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -94052,7 +96949,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -94103,7 +97000,7 @@ private void Initialize() } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -94207,11 +97104,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -94281,7 +97186,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListCronJobForAllNamespaces1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListCronJobForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -94300,11 +97205,11 @@ private void Initialize() tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListCronJobForAllNamespaces1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListCronJobForAllNamespaces", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/cronjobs").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/cronjobs").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -94411,7 +97316,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -94420,7 +97325,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -94452,11 +97357,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -94532,7 +97445,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedCronJob1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedCronJobWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -94556,11 +97469,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedCronJob1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedCronJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) @@ -94668,7 +97581,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -94677,7 +97590,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -94728,7 +97641,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedCronJob1WithHttpMessagesAsync(V2alpha1CronJob body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedCronJobWithHttpMessagesAsync(V1beta1CronJob body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -94753,11 +97666,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedCronJob1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedCronJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) @@ -94839,7 +97752,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -94848,7 +97761,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -94866,7 +97779,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -94884,7 +97797,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -94916,11 +97829,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -94996,7 +97917,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedCronJob1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedCronJobWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -95020,11 +97941,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedCronJob1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedCronJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) @@ -95201,7 +98122,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedCronJob1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedCronJobWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -95224,11 +98145,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedCronJob1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedCronJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -95313,7 +98234,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -95322,7 +98243,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -95376,7 +98297,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedCronJob1WithHttpMessagesAsync(V2alpha1CronJob body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedCronJobWithHttpMessagesAsync(V1beta1CronJob body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -95406,11 +98327,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedCronJob1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedCronJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -95493,7 +98414,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -95502,7 +98423,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -95520,7 +98441,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -95550,6 +98471,12 @@ private void Initialize() /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -95596,7 +98523,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedCronJob1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedCronJobWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -95618,6 +98545,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -95625,14 +98553,18 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedCronJob1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedCronJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -95701,7 +98633,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -95745,171 +98677,13 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update the specified CronJob - /// - /// - /// - /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedCronJob1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedCronJob1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 202) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -95929,8 +98703,10 @@ private void Initialize() } /// - /// read status of the specified CronJob + /// partially update the specified CronJob /// + /// + /// /// /// name of the CronJob /// @@ -95961,8 +98737,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedCronJobStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedCronJobWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -95978,15 +98758,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedCronJobStatus1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedCronJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -96001,7 +98782,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -96020,6 +98801,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -96063,7 +98850,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -96072,7 +98859,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -96092,10 +98879,8 @@ private void Initialize() } /// - /// replace status of the specified CronJob + /// read status of the specified CronJob /// - /// - /// /// /// name of the CronJob /// @@ -96126,16 +98911,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedCronJobStatus1WithHttpMessagesAsync(V2alpha1CronJob body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedCronJobStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -96151,16 +98928,15 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedCronJobStatus1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedCronJobStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -96175,7 +98951,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -96194,12 +98970,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -96220,7 +98990,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -96243,7 +99013,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -96252,25 +99022,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -96290,7 +99042,7 @@ private void Initialize() } /// - /// partially update status of the specified CronJob + /// replace status of the specified CronJob /// /// /// @@ -96324,12 +99076,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedCronJobStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedCronJobStatusWithHttpMessagesAsync(V1beta1CronJob body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } + if (body != null) + { + body.Validate(); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -96350,11 +99106,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedCronJobStatus1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedCronJobStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -96369,7 +99125,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -96392,7 +99148,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -96414,7 +99170,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -96437,7 +99193,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -96446,7 +99202,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -96458,121 +99214,13 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get information of a group - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIGroup8WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup8", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -96592,8 +99240,19 @@ private void Initialize() } /// - /// get available resources + /// partially update status of the specified CronJob /// + /// + /// + /// + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -96606,11 +99265,29 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources18WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedCronJobStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -96618,16 +99295,31 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources18", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedCronJobStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -96646,6 +99338,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -96689,7 +99387,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -96698,7 +99396,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -96718,74 +99416,8 @@ private void Initialize() } /// - /// list or watch objects of kind CertificateSigningRequest + /// get available resources /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -96801,7 +99433,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListCertificateSigningRequestWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources18WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -96810,62 +99442,12 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListCertificateSigningRequest", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources18", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests").ToString(); - List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) - { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -96931,7 +99513,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -96940,7 +99522,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -96960,13 +99542,82 @@ private void Initialize() } /// - /// create a CertificateSigningRequest + /// list or watch objects of kind CronJob /// - /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -96979,25 +99630,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> CreateCertificateSigningRequestWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListCronJobForAllNamespaces1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -97005,19 +99642,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateCertificateSigningRequest", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListCronJobForAllNamespaces1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/cronjobs").ToString(); List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -97025,7 +99701,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -97044,12 +99720,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -97070,7 +99740,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -97093,7 +99763,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -97102,43 +99772,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -97158,8 +99792,11 @@ private void Initialize() } /// - /// delete collection of CertificateSigningRequest + /// list or watch objects of kind CronJob /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -97167,11 +99804,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -97238,11 +99883,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionCertificateSigningRequestWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedCronJob1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -97258,13 +99913,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionCertificateSigningRequest", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedCronJob1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) { @@ -97309,7 +99966,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -97371,7 +100028,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -97380,7 +100037,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -97400,18 +100057,12 @@ private void Initialize() } /// - /// read the specified CertificateSigningRequest + /// create a CronJob /// - /// - /// name of the CertificateSigningRequest - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. + /// /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -97437,11 +100088,19 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadCertificateSigningRequestWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedCronJob1WithHttpMessagesAsync(V2alpha1CronJob body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) + if (body == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -97450,26 +100109,17 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); + tracingParameters.Add("body", body); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadCertificateSigningRequest", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedCronJob1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -97481,7 +100131,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -97500,6 +100150,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -97520,7 +100176,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -97543,7 +100199,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -97552,7 +100208,43 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -97572,12 +100264,81 @@ private void Initialize() } /// - /// replace the specified CertificateSigningRequest + /// delete collection of CronJob /// - /// + /// + /// object name and auth scope, such as for teams and projects /// - /// - /// name of the CertificateSigningRequest + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// If 'true', then the output is pretty printed. @@ -97603,19 +100364,11 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceCertificateSigningRequestWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedCronJob1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) + if (namespaceParameter == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -97624,17 +100377,56 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceCertificateSigningRequest", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedCronJob1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -97646,7 +100438,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -97665,12 +100457,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -97691,7 +100477,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -97714,7 +100500,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -97723,25 +100509,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -97761,34 +100529,21 @@ private void Initialize() } /// - /// delete a CertificateSigningRequest + /// read the specified CronJob /// - /// - /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. + /// + /// object name and auth scope, such as for teams and projects /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. /// /// /// If 'true', then the output is pretty printed. @@ -97814,16 +100569,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCertificateSigningRequestWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedCronJob1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -97831,31 +100586,27 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCertificateSigningRequest", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedCronJob1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) + if (exact != null) { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); } - if (propagationPolicy != null) + if (export != null) { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -97868,7 +100619,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -97887,12 +100638,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -97936,7 +100681,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -97945,7 +100690,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -97965,12 +100710,15 @@ private void Initialize() } /// - /// partially update the specified CertificateSigningRequest + /// replace the specified CronJob /// /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -97996,16 +100744,24 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchCertificateSigningRequestWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedCronJob1WithHttpMessagesAsync(V2alpha1CronJob body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } + if (body != null) + { + body.Validate(); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -98015,14 +100771,16 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchCertificateSigningRequest", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedCronJob1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -98035,7 +100793,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -98058,7 +100816,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -98080,7 +100838,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -98103,7 +100861,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -98112,7 +100870,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -98132,12 +100908,43 @@ private void Initialize() } /// - /// replace approval of the specified CertificateSigningRequest + /// delete a CronJob /// /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// If 'true', then the output is pretty printed. @@ -98163,20 +100970,20 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceCertificateSigningRequestApprovalWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedCronJob1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -98185,16 +100992,38 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceCertificateSigningRequestApproval", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedCronJob1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -98206,7 +101035,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -98251,7 +101080,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -98274,7 +101103,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -98283,7 +101112,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -98296,12 +101125,12 @@ private void Initialize() } } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 202) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -98321,12 +101150,15 @@ private void Initialize() } /// - /// replace status of the specified CertificateSigningRequest + /// partially update the specified CronJob /// /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -98352,20 +101184,20 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceCertificateSigningRequestStatusWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedCronJob1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -98375,14 +101207,16 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceCertificateSigningRequestStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedCronJob1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -98395,7 +101229,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -98418,7 +101252,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -98440,7 +101274,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -98463,7 +101297,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -98472,7 +101306,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -98484,13 +101318,158 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// read status of the specified CronJob + /// + /// + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReadNamespacedCronJobStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedCronJobStatus1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -98510,8 +101489,19 @@ private void Initialize() } /// - /// get information of a group + /// replace status of the specified CronJob /// + /// + /// + /// + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -98524,11 +101514,33 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIGroup9WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedCronJobStatus1WithHttpMessagesAsync(V2alpha1CronJob body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -98536,16 +101548,31 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup9", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedCronJobStatus1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -98564,6 +101591,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -98584,7 +101617,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -98607,7 +101640,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -98616,7 +101649,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -98636,8 +101687,19 @@ private void Initialize() } /// - /// get available resources + /// partially update status of the specified CronJob /// + /// + /// + /// + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -98650,11 +101712,29 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources19WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedCronJobStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -98662,16 +101742,31 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources19", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedCronJobStatus1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -98690,6 +101785,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -98733,7 +101834,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -98742,7 +101843,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -98762,74 +101863,8 @@ private void Initialize() } /// - /// list or watch objects of kind Event + /// get information of a group /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// /// /// Headers that will be added to request. /// @@ -98845,7 +101880,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListEventForAllNamespaces1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup8WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -98854,62 +101889,138 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListEventForAllNamespaces1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup8", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/events").ToString(); - List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } } - if (labelSelector != null) + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); } - if (limit != null) + // Send Request + if (_shouldTrace) { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); } - if (pretty != null) + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); } - if (resourceVersion != null) + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; } - if (timeoutSeconds != null) + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } } - if (watch != null) + if (_shouldTrace) { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + ServiceClientTracing.Exit(_invocationId, _result); } - if (_queryParameters.Count > 0) + return _result; + } + + /// + /// get available resources + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIResources19WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) { - _url += "?" + string.Join("&", _queryParameters); + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources19", tracingParameters); } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -98975,7 +102086,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -98984,7 +102095,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -99004,11 +102115,8 @@ private void Initialize() } /// - /// list or watch objects of kind Event + /// list or watch objects of kind CertificateSigningRequest /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -99016,11 +102124,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -99087,21 +102203,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedEvent1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListCertificateSigningRequestWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -99117,15 +102223,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedEvent1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListCertificateSigningRequest", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -99232,7 +102336,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -99241,7 +102345,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -99261,13 +102365,10 @@ private void Initialize() } /// - /// create an Event + /// create a CertificateSigningRequest /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// @@ -99292,7 +102393,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedEvent1WithHttpMessagesAsync(V1beta1Event body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateCertificateSigningRequestWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -99302,10 +102403,6 @@ private void Initialize() { body.Validate(); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -99314,15 +102411,13 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedEvent1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateCertificateSigningRequest", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests").ToString(); List _queryParameters = new List(); if (pretty != null) { @@ -99403,7 +102498,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -99412,7 +102507,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -99430,7 +102525,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -99448,7 +102543,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -99468,11 +102563,8 @@ private void Initialize() } /// - /// delete collection of Event + /// delete collection of CertificateSigningRequest /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -99480,11 +102572,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -99551,21 +102651,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedEvent1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionCertificateSigningRequestWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -99581,15 +102671,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedEvent1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionCertificateSigningRequest", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -99725,13 +102813,10 @@ private void Initialize() } /// - /// read the specified Event + /// read the specified CertificateSigningRequest /// /// - /// name of the Event - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -99765,16 +102850,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedEvent1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadCertificateSigningRequestWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -99785,16 +102866,14 @@ private void Initialize() tracingParameters.Add("exact", exact); tracingParameters.Add("export", export); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedEvent1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadCertificateSigningRequest", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (exact != null) { @@ -99877,7 +102956,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -99886,7 +102965,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -99906,15 +102985,12 @@ private void Initialize() } /// - /// replace the specified Event + /// replace the specified CertificateSigningRequest /// /// /// /// - /// name of the Event - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// If 'true', then the output is pretty printed. @@ -99940,7 +103016,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedEvent1WithHttpMessagesAsync(V1beta1Event body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceCertificateSigningRequestWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -99954,10 +103030,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -99967,16 +103039,14 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedEvent1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceCertificateSigningRequest", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -100057,7 +103127,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -100066,7 +103136,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -100084,7 +103154,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -100104,15 +103174,18 @@ private void Initialize() } /// - /// delete an Event + /// delete a CertificateSigningRequest /// /// /// /// - /// name of the Event + /// name of the CertificateSigningRequest /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -100160,7 +103233,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedEvent1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCertificateSigningRequestWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -100170,10 +103243,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -100182,21 +103251,24 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedEvent1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCertificateSigningRequest", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -100265,7 +103337,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -100309,6 +103381,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -100317,15 +103407,179 @@ private void Initialize() } /// - /// partially update the specified Event + /// partially update the specified CertificateSigningRequest /// /// /// /// - /// name of the Event + /// name of the CertificateSigningRequest /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchCertificateSigningRequestWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PatchCertificateSigningRequest", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// replace approval of the specified CertificateSigningRequest + /// + /// + /// + /// + /// name of the CertificateSigningRequest /// /// /// If 'true', then the output is pretty printed. @@ -100351,19 +103605,19 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedEvent1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceCertificateSigningRequestApprovalWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (name == null) + if (body != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); + body.Validate(); } - if (namespaceParameter == null) + if (name == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -100374,16 +103628,14 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedEvent1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceCertificateSigningRequestApproval", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -100396,7 +103648,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -100419,7 +103671,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -100441,7 +103693,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -100464,7 +103716,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -100473,7 +103725,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -100493,8 +103763,14 @@ private void Initialize() } /// - /// get information of a group + /// read status of the specified CertificateSigningRequest /// + /// + /// name of the CertificateSigningRequest + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -100507,11 +103783,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIGroup10WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadCertificateSigningRequestStatusWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -100519,12 +103805,24 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup10", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadCertificateSigningRequestStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -100590,7 +103888,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -100599,7 +103897,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -100619,8 +103917,16 @@ private void Initialize() } /// - /// get available resources + /// replace status of the specified CertificateSigningRequest /// + /// + /// + /// + /// name of the CertificateSigningRequest + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -100633,11 +103939,29 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources20WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceCertificateSigningRequestStatusWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -100645,16 +103969,29 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources20", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceCertificateSigningRequestStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -100673,6 +104010,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -100693,7 +104036,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -100716,7 +104059,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -100725,7 +104068,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -100745,74 +104106,16 @@ private void Initialize() } /// - /// list or watch objects of kind DaemonSet + /// partially update status of the specified CertificateSigningRequest /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// name of the CertificateSigningRequest /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// /// /// Headers that will be added to request. /// @@ -100825,11 +104128,25 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListDaemonSetForAllNamespaces2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchCertificateSigningRequestStatusWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -100837,58 +104154,21 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListDaemonSetForAllNamespaces2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchCertificateSigningRequestStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/daemonsets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) - { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -100896,7 +104176,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -100915,6 +104195,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -100958,7 +104244,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -100967,7 +104253,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -100987,74 +104273,8 @@ private void Initialize() } /// - /// list or watch objects of kind Deployment + /// get information of a group /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// /// /// Headers that will be added to request. /// @@ -101070,7 +104290,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListDeploymentForAllNamespaces3WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup9WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -101079,62 +104299,138 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListDeploymentForAllNamespaces3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup9", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/deployments").ToString(); - List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } } - if (labelSelector != null) + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); } - if (limit != null) + // Send Request + if (_shouldTrace) { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); } - if (pretty != null) + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); } - if (resourceVersion != null) + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; } - if (timeoutSeconds != null) + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } } - if (watch != null) + if (_shouldTrace) { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + ServiceClientTracing.Exit(_invocationId, _result); } - if (_queryParameters.Count > 0) + return _result; + } + + /// + /// get available resources + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIResources20WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) { - _url += "?" + string.Join("&", _queryParameters); + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources20", tracingParameters); } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -101200,7 +104496,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -101209,7 +104505,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -101229,7 +104525,7 @@ private void Initialize() } /// - /// list or watch objects of kind Ingress + /// list or watch objects of kind Lease /// /// /// The continue option should be set when retrieving more results from the @@ -101238,11 +104534,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -101312,7 +104616,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListIngressForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListLeaseForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -101331,11 +104635,11 @@ private void Initialize() tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListIngressForAllNamespaces", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListLeaseForAllNamespaces", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/ingresses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/leases").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -101442,7 +104746,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -101451,7 +104755,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -101471,7 +104775,7 @@ private void Initialize() } /// - /// list or watch objects of kind DaemonSet + /// list or watch objects of kind Lease /// /// /// object name and auth scope, such as for teams and projects @@ -101483,11 +104787,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -101563,7 +104875,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedDaemonSet2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedLeaseWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -101587,11 +104899,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedDaemonSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedLease", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) @@ -101699,7 +105011,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -101708,7 +105020,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -101728,7 +105040,7 @@ private void Initialize() } /// - /// create a DaemonSet + /// create a Lease /// /// /// @@ -101759,7 +105071,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedDaemonSet2WithHttpMessagesAsync(V1beta1DaemonSet body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedLeaseWithHttpMessagesAsync(V1beta1Lease body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -101784,11 +105096,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedDaemonSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedLease", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) @@ -101870,7 +105182,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -101879,7 +105191,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -101897,7 +105209,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -101915,7 +105227,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -101935,7 +105247,7 @@ private void Initialize() } /// - /// delete collection of DaemonSet + /// delete collection of Lease /// /// /// object name and auth scope, such as for teams and projects @@ -101947,11 +105259,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -102027,7 +105347,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedDaemonSet2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedLeaseWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -102051,11 +105371,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedDaemonSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedLease", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) @@ -102192,10 +105512,10 @@ private void Initialize() } /// - /// read the specified DaemonSet + /// read the specified Lease /// /// - /// name of the DaemonSet + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -102232,7 +105552,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedDaemonSet2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedLeaseWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -102255,11 +105575,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDaemonSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedLease", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -102344,7 +105664,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -102353,7 +105673,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -102373,12 +105693,12 @@ private void Initialize() } /// - /// replace the specified DaemonSet + /// replace the specified Lease /// /// /// /// - /// name of the DaemonSet + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -102407,7 +105727,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedDaemonSet2WithHttpMessagesAsync(V1beta1DaemonSet body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedLeaseWithHttpMessagesAsync(V1beta1Lease body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -102437,11 +105757,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDaemonSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedLease", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -102524,7 +105844,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -102533,7 +105853,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -102551,7 +105871,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -102571,16 +105891,22 @@ private void Initialize() } /// - /// delete a DaemonSet + /// delete a Lease /// /// /// /// - /// name of the DaemonSet + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -102627,7 +105953,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedDaemonSet2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedLeaseWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -102649,6 +105975,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -102656,14 +105983,18 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedDaemonSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedLease", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -102732,7 +106063,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -102776,6 +106107,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -102784,12 +106133,12 @@ private void Initialize() } /// - /// partially update the specified DaemonSet + /// partially update the specified Lease /// /// /// /// - /// name of the DaemonSet + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -102818,7 +106167,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedDaemonSet2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedLeaseWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -102844,11 +106193,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDaemonSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedLease", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -102931,7 +106280,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -102940,7 +106289,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -102960,17 +106309,8 @@ private void Initialize() } /// - /// read status of the specified DaemonSet + /// get information of a group /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -102983,25 +106323,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedDaemonSetStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup10WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -103009,26 +106335,12 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDaemonSetStatus2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup10", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -103094,7 +106406,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -103103,7 +106415,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -103123,19 +106435,8 @@ private void Initialize() } /// - /// replace status of the specified DaemonSet + /// get available resources /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -103148,33 +106449,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedDaemonSetStatus2WithHttpMessagesAsync(V1beta1DaemonSet body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources21WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -103182,31 +106461,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDaemonSetStatus2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources21", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -103225,12 +106489,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -103251,7 +106509,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -103274,7 +106532,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -103283,25 +106541,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -103321,19 +106561,82 @@ private void Initialize() } /// - /// partially update status of the specified DaemonSet + /// list or watch objects of kind Event /// - /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// name of the DaemonSet + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -103346,29 +106649,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedDaemonSetStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListEventForAllNamespaces1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -103376,23 +106661,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDaemonSetStatus2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListEventForAllNamespaces1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/events").ToString(); List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -103400,7 +106720,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -103419,12 +106739,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -103468,7 +106782,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -103477,7 +106791,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -103497,7 +106811,7 @@ private void Initialize() } /// - /// list or watch objects of kind Deployment + /// list or watch objects of kind Event /// /// /// object name and auth scope, such as for teams and projects @@ -103509,11 +106823,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -103589,7 +106911,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedDeployment3WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedEvent1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -103613,11 +106935,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedDeployment3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedEvent1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) @@ -103725,7 +107047,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -103734,7 +107056,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -103754,7 +107076,7 @@ private void Initialize() } /// - /// create a Deployment + /// create an Event /// /// /// @@ -103785,7 +107107,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedDeployment3WithHttpMessagesAsync(Extensionsv1beta1Deployment body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedEvent1WithHttpMessagesAsync(V1beta1Event body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -103810,11 +107132,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedDeployment3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedEvent1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) @@ -103896,7 +107218,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -103905,7 +107227,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -103923,7 +107245,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -103941,7 +107263,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -103961,7 +107283,7 @@ private void Initialize() } /// - /// delete collection of Deployment + /// delete collection of Event /// /// /// object name and auth scope, such as for teams and projects @@ -103973,11 +107295,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -104053,7 +107383,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedDeployment3WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedEvent1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -104077,11 +107407,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedDeployment3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedEvent1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) @@ -104218,10 +107548,10 @@ private void Initialize() } /// - /// read the specified Deployment + /// read the specified Event /// /// - /// name of the Deployment + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -104258,7 +107588,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedDeployment3WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedEvent1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -104281,11 +107611,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDeployment3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedEvent1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -104370,7 +107700,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -104379,7 +107709,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -104399,12 +107729,12 @@ private void Initialize() } /// - /// replace the specified Deployment + /// replace the specified Event /// /// /// /// - /// name of the Deployment + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -104433,7 +107763,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedDeployment3WithHttpMessagesAsync(Extensionsv1beta1Deployment body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedEvent1WithHttpMessagesAsync(V1beta1Event body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -104463,11 +107793,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDeployment3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedEvent1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -104550,7 +107880,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -104559,7 +107889,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -104577,7 +107907,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -104597,16 +107927,22 @@ private void Initialize() } /// - /// delete a Deployment + /// delete an Event /// /// /// /// - /// name of the Deployment + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -104653,7 +107989,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedDeployment3WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedEvent1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -104675,6 +108011,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -104682,14 +108019,18 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedDeployment3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedEvent1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -104758,7 +108099,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -104802,171 +108143,13 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update the specified Deployment - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedDeployment3WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDeployment3", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 202) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -104986,12 +108169,12 @@ private void Initialize() } /// - /// create rollback of a Deployment + /// partially update the specified Event /// /// /// /// - /// name of the DeploymentRollback + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -105020,16 +108203,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedDeploymentRollback1WithHttpMessagesAsync(Extensionsv1beta1DeploymentRollback body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedEvent1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -105050,11 +108229,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedDeploymentRollback1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedEvent1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -105069,7 +108248,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -105092,7 +108271,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -105114,7 +108293,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -105137,7 +108316,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -105146,43 +108325,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -105202,17 +108345,8 @@ private void Initialize() } /// - /// read scale of the specified Deployment + /// get information of a group /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -105225,25 +108359,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedDeploymentScale3WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup11WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -105251,26 +108371,12 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDeploymentScale3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup11", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -105336,7 +108442,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -105345,7 +108451,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -105365,19 +108471,8 @@ private void Initialize() } /// - /// replace scale of the specified Deployment + /// get available resources /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -105390,33 +108485,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedDeploymentScale3WithHttpMessagesAsync(Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources22WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -105424,31 +108497,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDeploymentScale3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources22", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -105467,12 +108525,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -105493,7 +108545,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -105516,7 +108568,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -105525,25 +108577,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -105563,19 +108597,82 @@ private void Initialize() } /// - /// partially update scale of the specified Deployment + /// list or watch objects of kind DaemonSet /// - /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// name of the Scale + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -105588,29 +108685,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedDeploymentScale3WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListDaemonSetForAllNamespaces2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -105618,191 +108697,57 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDeploymentScale3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListDaemonSetForAllNamespaces2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/daemonsets").ToString(); List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) + if (continueParameter != null) { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) + if (fieldSelector != null) { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if (includeUninitialized != null) { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) + if (labelSelector != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); } - if (_shouldTrace) + if (limit != null) { - ServiceClientTracing.Exit(_invocationId, _result); + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } - return _result; - } - - /// - /// read status of the specified Deployment - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedDeploymentStatus3WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) + if (pretty != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } - if (namespaceParameter == null) + if (resourceVersion != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) + if (timeoutSeconds != null) { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDeploymentStatus3", tracingParameters); + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) + if (watch != null) { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } if (_queryParameters.Count > 0) { @@ -105873,7 +108818,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -105882,7 +108827,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -105902,19 +108847,82 @@ private void Initialize() } /// - /// replace status of the specified Deployment + /// list or watch objects of kind Deployment /// - /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// name of the Deployment + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -105927,33 +108935,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedDeploymentStatus3WithHttpMessagesAsync(Extensionsv1beta1Deployment body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListDeploymentForAllNamespaces3WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -105961,23 +108947,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDeploymentStatus3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListDeploymentForAllNamespaces3", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/deployments").ToString(); List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -105985,7 +109006,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -106004,12 +109025,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -106030,7 +109045,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -106053,7 +109068,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -106062,25 +109077,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -106100,19 +109097,82 @@ private void Initialize() } /// - /// partially update status of the specified Deployment + /// list or watch objects of kind Ingress /// - /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// name of the Deployment + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -106125,29 +109185,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedDeploymentStatus3WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListIngressForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -106155,23 +109197,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDeploymentStatus3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListIngressForAllNamespaces", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/ingresses").ToString(); List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -106179,7 +109256,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -106198,12 +109275,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -106247,7 +109318,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -106256,7 +109327,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -106276,7 +109347,7 @@ private void Initialize() } /// - /// list or watch objects of kind Ingress + /// list or watch objects of kind DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -106288,11 +109359,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -106368,7 +109447,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedIngressWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedDaemonSet2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -106392,11 +109471,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedIngress", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedDaemonSet2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/ingresses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) @@ -106504,7 +109583,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -106513,7 +109592,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -106533,7 +109612,7 @@ private void Initialize() } /// - /// create an Ingress + /// create a DaemonSet /// /// /// @@ -106564,7 +109643,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedIngressWithHttpMessagesAsync(V1beta1Ingress body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedDaemonSet2WithHttpMessagesAsync(V1beta1DaemonSet body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -106589,11 +109668,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedIngress", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedDaemonSet2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/ingresses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) @@ -106675,7 +109754,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -106684,7 +109763,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -106702,7 +109781,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -106720,7 +109799,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -106740,7 +109819,7 @@ private void Initialize() } /// - /// delete collection of Ingress + /// delete collection of DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -106752,11 +109831,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -106832,7 +109919,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedIngressWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedDaemonSet2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -106856,11 +109943,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedIngress", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedDaemonSet2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/ingresses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) @@ -106997,10 +110084,10 @@ private void Initialize() } /// - /// read the specified Ingress + /// read the specified DaemonSet /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -107037,7 +110124,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedIngressWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedDaemonSet2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -107060,11 +110147,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedIngress", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDaemonSet2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -107149,7 +110236,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -107158,7 +110245,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -107178,12 +110265,12 @@ private void Initialize() } /// - /// replace the specified Ingress + /// replace the specified DaemonSet /// /// /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -107212,7 +110299,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedIngressWithHttpMessagesAsync(V1beta1Ingress body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedDaemonSet2WithHttpMessagesAsync(V1beta1DaemonSet body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -107242,11 +110329,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedIngress", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDaemonSet2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -107329,7 +110416,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -107338,7 +110425,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -107356,7 +110443,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -107376,16 +110463,22 @@ private void Initialize() } /// - /// delete an Ingress + /// delete a DaemonSet /// /// /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -107432,7 +110525,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedIngressWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedDaemonSet2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -107454,6 +110547,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -107461,14 +110555,18 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedIngress", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedDaemonSet2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -107537,7 +110635,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -107581,6 +110679,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -107589,12 +110705,12 @@ private void Initialize() } /// - /// partially update the specified Ingress + /// partially update the specified DaemonSet /// /// /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -107623,7 +110739,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedIngressWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedDaemonSet2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -107649,11 +110765,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedIngress", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDaemonSet2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -107736,7 +110852,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -107745,7 +110861,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -107765,10 +110881,10 @@ private void Initialize() } /// - /// read status of the specified Ingress + /// read status of the specified DaemonSet /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -107797,7 +110913,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedIngressStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedDaemonSetStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -107818,11 +110934,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedIngressStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDaemonSetStatus2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -107899,7 +111015,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -107908,7 +111024,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -107928,12 +111044,12 @@ private void Initialize() } /// - /// replace status of the specified Ingress + /// replace status of the specified DaemonSet /// /// /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -107962,7 +111078,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedIngressStatusWithHttpMessagesAsync(V1beta1Ingress body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedDaemonSetStatus2WithHttpMessagesAsync(V1beta1DaemonSet body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -107992,11 +111108,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedIngressStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDaemonSetStatus2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -108079,7 +111195,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -108088,7 +111204,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -108106,7 +111222,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -108126,12 +111242,12 @@ private void Initialize() } /// - /// partially update status of the specified Ingress + /// partially update status of the specified DaemonSet /// /// /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -108160,7 +111276,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedIngressStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedDaemonSetStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -108186,11 +111302,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedIngressStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDaemonSetStatus2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -108273,7 +111389,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -108282,7 +111398,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -108302,7 +111418,7 @@ private void Initialize() } /// - /// list or watch objects of kind NetworkPolicy + /// list or watch objects of kind Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -108314,11 +111430,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -108394,7 +111518,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedNetworkPolicyWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedDeployment3WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -108418,11 +111542,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedNetworkPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedDeployment3", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) @@ -108530,7 +111654,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -108539,7 +111663,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -108559,7 +111683,7 @@ private void Initialize() } /// - /// create a NetworkPolicy + /// create a Deployment /// /// /// @@ -108590,7 +111714,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedNetworkPolicyWithHttpMessagesAsync(V1beta1NetworkPolicy body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedDeployment3WithHttpMessagesAsync(Extensionsv1beta1Deployment body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -108615,11 +111739,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedNetworkPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedDeployment3", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) @@ -108701,7 +111825,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -108710,7 +111834,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -108728,7 +111852,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -108746,7 +111870,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -108766,7 +111890,7 @@ private void Initialize() } /// - /// delete collection of NetworkPolicy + /// delete collection of Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -108778,11 +111902,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -108858,7 +111990,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedNetworkPolicyWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedDeployment3WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -108882,11 +112014,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedNetworkPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedDeployment3", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) @@ -109023,10 +112155,10 @@ private void Initialize() } /// - /// read the specified NetworkPolicy + /// read the specified Deployment /// /// - /// name of the NetworkPolicy + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -109063,7 +112195,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedNetworkPolicyWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedDeployment3WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -109086,11 +112218,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedNetworkPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDeployment3", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -109175,7 +112307,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -109184,7 +112316,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -109204,12 +112336,12 @@ private void Initialize() } /// - /// replace the specified NetworkPolicy + /// replace the specified Deployment /// /// /// /// - /// name of the NetworkPolicy + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -109238,7 +112370,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedNetworkPolicyWithHttpMessagesAsync(V1beta1NetworkPolicy body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedDeployment3WithHttpMessagesAsync(Extensionsv1beta1Deployment body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -109268,11 +112400,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedNetworkPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDeployment3", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -109355,7 +112487,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -109364,7 +112496,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -109382,7 +112514,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -109402,16 +112534,22 @@ private void Initialize() } /// - /// delete a NetworkPolicy + /// delete a Deployment /// /// /// /// - /// name of the NetworkPolicy + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -109458,7 +112596,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedNetworkPolicyWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedDeployment3WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -109480,6 +112618,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -109487,14 +112626,18 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedNetworkPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedDeployment3", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -109563,7 +112706,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -109607,6 +112750,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -109615,12 +112776,12 @@ private void Initialize() } /// - /// partially update the specified NetworkPolicy + /// partially update the specified Deployment /// /// /// /// - /// name of the NetworkPolicy + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -109649,7 +112810,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedNetworkPolicyWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedDeployment3WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -109675,11 +112836,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedNetworkPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDeployment3", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -109762,7 +112923,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -109771,7 +112932,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -109791,73 +112952,15 @@ private void Initialize() } /// - /// list or watch objects of kind ReplicaSet + /// create rollback of a Deployment /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// name of the DeploymentRollback /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -109883,8 +112986,20 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedReplicaSet2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedDeploymentRollback1WithHttpMessagesAsync(Extensionsv1beta1DeploymentRollback body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } if (namespaceParameter == null) { throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); @@ -109896,56 +113011,19 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedReplicaSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedDeploymentRollback1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) - { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -109957,7 +113035,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -109976,6 +113054,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -109996,7 +113080,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -110019,7 +113103,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -110028,7 +113112,43 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -110048,9 +113168,10 @@ private void Initialize() } /// - /// create a ReplicaSet + /// read scale of the specified Deployment /// - /// + /// + /// name of the Scale /// /// /// object name and auth scope, such as for teams and projects @@ -110079,15 +113200,11 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedReplicaSet2WithHttpMessagesAsync(V1beta1ReplicaSet body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedDeploymentScale3WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) + if (name == null) { - body.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } if (namespaceParameter == null) { @@ -110100,15 +113217,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); + tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedReplicaSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDeploymentScale3", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) @@ -110122,7 +113240,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -110141,12 +113259,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -110167,7 +113279,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -110190,7 +113302,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -110199,43 +113311,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -110255,73 +113331,15 @@ private void Initialize() } /// - /// delete collection of ReplicaSet + /// replace scale of the specified Deployment /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// name of the Scale /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -110347,8 +113365,20 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedReplicaSet2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedDeploymentScale3WithHttpMessagesAsync(Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } if (namespaceParameter == null) { throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); @@ -110360,56 +113390,19 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedReplicaSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDeploymentScale3", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) - { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -110421,7 +113414,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -110440,6 +113433,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -110460,7 +113459,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -110483,7 +113482,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -110492,7 +113491,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -110512,22 +113529,16 @@ private void Initialize() } /// - /// read the specified ReplicaSet + /// partially update scale of the specified Deployment /// + /// + /// /// - /// name of the ReplicaSet + /// name of the Scale /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. - /// /// /// If 'true', then the output is pretty printed. /// @@ -110552,8 +113563,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedReplicaSet2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedDeploymentScale3WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -110569,28 +113584,19 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); + tracingParameters.Add("body", body); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedReplicaSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDeploymentScale3", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -110602,7 +113608,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -110621,6 +113627,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -110664,7 +113676,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -110673,7 +113685,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -110693,12 +113705,10 @@ private void Initialize() } /// - /// replace the specified ReplicaSet + /// read status of the specified Deployment /// - /// - /// /// - /// name of the ReplicaSet + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -110727,16 +113737,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedReplicaSet2WithHttpMessagesAsync(V1beta1ReplicaSet body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedDeploymentStatus3WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -110752,16 +113754,15 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedReplicaSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDeploymentStatus3", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -110776,7 +113777,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -110795,12 +113796,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -110821,7 +113816,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -110844,7 +113839,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -110853,25 +113848,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -110891,38 +113868,16 @@ private void Initialize() } /// - /// delete a ReplicaSet + /// replace status of the specified Deployment /// /// /// /// - /// name of the ReplicaSet + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// /// /// If 'true', then the output is pretty printed. /// @@ -110947,12 +113902,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedReplicaSet2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedDeploymentStatus3WithHttpMessagesAsync(Extensionsv1beta1Deployment body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } + if (body != null) + { + body.Validate(); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -110969,33 +113928,18 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedReplicaSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDeploymentStatus3", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -111007,7 +113951,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -111052,7 +113996,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -111075,7 +114019,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -111084,7 +114028,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -111104,12 +114066,12 @@ private void Initialize() } /// - /// partially update the specified ReplicaSet + /// partially update status of the specified Deployment /// /// /// /// - /// name of the ReplicaSet + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -111138,7 +114100,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedReplicaSet2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedDeploymentStatus3WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -111164,11 +114126,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedReplicaSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDeploymentStatus3", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -111251,7 +114213,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -111260,7 +114222,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -111280,14 +114242,82 @@ private void Initialize() } /// - /// read scale of the specified ReplicaSet + /// list or watch objects of kind Ingress /// - /// - /// name of the Scale - /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// If 'true', then the output is pretty printed. /// @@ -111312,12 +114342,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedReplicaSetScale2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedIngressWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } if (namespaceParameter == null) { throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); @@ -111329,18 +114355,56 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedReplicaSetScale2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedIngress", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/ingresses").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -111414,7 +114478,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -111423,7 +114487,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -111443,13 +114507,10 @@ private void Initialize() } /// - /// replace scale of the specified ReplicaSet + /// create an Ingress /// /// /// - /// - /// name of the Scale - /// /// /// object name and auth scope, such as for teams and projects /// @@ -111477,7 +114538,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedReplicaSetScale2WithHttpMessagesAsync(Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedIngressWithHttpMessagesAsync(V1beta1Ingress body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -111487,10 +114548,6 @@ private void Initialize() { body.Validate(); } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } if (namespaceParameter == null) { throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); @@ -111503,16 +114560,14 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); - tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedReplicaSetScale2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedIngress", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/ingresses").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) @@ -111526,7 +114581,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -111571,7 +114626,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -111594,7 +114649,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -111603,7 +114658,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -111621,7 +114676,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -111641,16 +114714,82 @@ private void Initialize() } /// - /// partially update scale of the specified ReplicaSet + /// delete collection of Ingress /// - /// - /// - /// - /// name of the Scale - /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// If 'true', then the output is pretty printed. /// @@ -111675,16 +114814,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedReplicaSetScale2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedIngressWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } if (namespaceParameter == null) { throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); @@ -111696,19 +114827,56 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedReplicaSetScale2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedIngress", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/ingresses").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -111720,7 +114888,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -111739,12 +114907,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -111788,7 +114950,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -111797,7 +114959,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -111817,14 +114979,22 @@ private void Initialize() } /// - /// read status of the specified ReplicaSet + /// read the specified Ingress /// /// - /// name of the ReplicaSet + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. + /// /// /// If 'true', then the output is pretty printed. /// @@ -111849,7 +115019,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedReplicaSetStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedIngressWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -111866,18 +115036,28 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedReplicaSetStatus2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedIngress", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -111951,7 +115131,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -111960,7 +115140,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -111980,12 +115160,12 @@ private void Initialize() } /// - /// replace status of the specified ReplicaSet + /// replace the specified Ingress /// /// /// /// - /// name of the ReplicaSet + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -112014,7 +115194,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedReplicaSetStatus2WithHttpMessagesAsync(V1beta1ReplicaSet body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedIngressWithHttpMessagesAsync(V1beta1Ingress body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -112044,11 +115224,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedReplicaSetStatus2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedIngress", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -112131,7 +115311,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -112140,7 +115320,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -112158,7 +115338,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -112178,16 +115358,44 @@ private void Initialize() } /// - /// partially update status of the specified ReplicaSet + /// delete an Ingress /// /// /// /// - /// name of the ReplicaSet + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// /// /// If 'true', then the output is pretty printed. /// @@ -112212,7 +115420,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedReplicaSetStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedIngressWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -112234,18 +115442,38 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedReplicaSetStatus2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedIngress", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -112257,7 +115485,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -112280,7 +115508,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -112302,7 +115530,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -112325,7 +115553,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -112334,7 +115562,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -112354,10 +115600,12 @@ private void Initialize() } /// - /// read scale of the specified ReplicationControllerDummy + /// partially update the specified Ingress /// + /// + /// /// - /// name of the Scale + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -112386,8 +115634,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedIngressWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -112403,15 +115655,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedReplicationControllerDummyScale", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedIngress", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -112426,7 +115679,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -112445,6 +115698,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -112488,7 +115747,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -112497,7 +115756,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -112517,12 +115776,10 @@ private void Initialize() } /// - /// replace scale of the specified ReplicationControllerDummy + /// read status of the specified Ingress /// - /// - /// /// - /// name of the Scale + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -112551,16 +115808,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedIngressStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -112576,16 +115825,15 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedReplicationControllerDummyScale", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedIngressStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -112600,7 +115848,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -112619,12 +115867,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -112645,7 +115887,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -112668,7 +115910,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -112677,25 +115919,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -112715,12 +115939,12 @@ private void Initialize() } /// - /// partially update scale of the specified ReplicationControllerDummy + /// replace status of the specified Ingress /// /// /// /// - /// name of the Scale + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -112749,12 +115973,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedIngressStatusWithHttpMessagesAsync(V1beta1Ingress body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } + if (body != null) + { + body.Validate(); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -112775,11 +116003,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedReplicationControllerDummyScale", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedIngressStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -112794,7 +116022,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -112817,7 +116045,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -112839,7 +116067,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -112862,7 +116090,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -112871,7 +116099,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -112891,74 +116137,19 @@ private void Initialize() } /// - /// list or watch objects of kind NetworkPolicy + /// partially update status of the specified Ingress /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. + /// /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// + /// name of the Ingress /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// /// /// Headers that will be added to request. /// @@ -112971,11 +116162,29 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListNetworkPolicyForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedIngressStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -112983,58 +116192,23 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNetworkPolicyForAllNamespaces", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedIngressStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/networkpolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) - { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -113042,7 +116216,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -113061,6 +116235,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -113104,7 +116284,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -113113,7 +116293,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -113133,8 +116313,11 @@ private void Initialize() } /// - /// list or watch objects of kind PodSecurityPolicy + /// list or watch objects of kind NetworkPolicy /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -113142,11 +116325,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -113213,11 +116404,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListPodSecurityPolicyWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedNetworkPolicyWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -113233,13 +116434,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListPodSecurityPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedNetworkPolicy", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) { @@ -113346,7 +116549,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -113355,7 +116558,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -113375,10 +116578,13 @@ private void Initialize() } /// - /// create a PodSecurityPolicy + /// create a NetworkPolicy /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// @@ -113403,7 +116609,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreatePodSecurityPolicyWithHttpMessagesAsync(Extensionsv1beta1PodSecurityPolicy body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedNetworkPolicyWithHttpMessagesAsync(V1beta1NetworkPolicy body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -113413,6 +116619,10 @@ private void Initialize() { body.Validate(); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -113421,13 +116631,15 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreatePodSecurityPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedNetworkPolicy", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -113508,7 +116720,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -113517,7 +116729,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -113535,7 +116747,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -113553,7 +116765,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -113573,8 +116785,11 @@ private void Initialize() } /// - /// delete collection of PodSecurityPolicy + /// delete collection of NetworkPolicy /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -113582,11 +116797,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -113653,11 +116876,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionPodSecurityPolicyWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedNetworkPolicyWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -113673,13 +116906,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionPodSecurityPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedNetworkPolicy", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) { @@ -113815,10 +117050,13 @@ private void Initialize() } /// - /// read the specified PodSecurityPolicy + /// read the specified NetworkPolicy /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -113852,12 +117090,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadPodSecurityPolicyWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedNetworkPolicyWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -113868,14 +117110,16 @@ private void Initialize() tracingParameters.Add("exact", exact); tracingParameters.Add("export", export); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadPodSecurityPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedNetworkPolicy", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (exact != null) { @@ -113958,7 +117202,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -113967,7 +117211,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -113987,12 +117231,15 @@ private void Initialize() } /// - /// replace the specified PodSecurityPolicy + /// replace the specified NetworkPolicy /// /// /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -114018,7 +117265,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplacePodSecurityPolicyWithHttpMessagesAsync(Extensionsv1beta1PodSecurityPolicy body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedNetworkPolicyWithHttpMessagesAsync(V1beta1NetworkPolicy body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -114032,6 +117279,10 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -114041,14 +117292,16 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplacePodSecurityPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedNetworkPolicy", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -114129,7 +117382,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -114138,7 +117391,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -114156,7 +117409,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -114176,12 +117429,21 @@ private void Initialize() } /// - /// delete a PodSecurityPolicy + /// delete a NetworkPolicy /// /// /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -114229,7 +117491,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeletePodSecurityPolicyWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedNetworkPolicyWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -114239,6 +117501,10 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -114247,19 +117513,26 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeletePodSecurityPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedNetworkPolicy", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -114328,6 +117601,200 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// partially update the specified NetworkPolicy + /// + /// + /// + /// + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchNamespacedNetworkPolicyWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedNetworkPolicy", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); @@ -114351,174 +117818,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update the specified PodSecurityPolicy - /// - /// - /// - /// - /// name of the PodSecurityPolicy - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchPodSecurityPolicyWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchPodSecurityPolicy", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -114527,7 +117827,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -114549,6 +117849,9 @@ private void Initialize() /// /// list or watch objects of kind ReplicaSet /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -114556,11 +117859,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -114596,9 +117907,6 @@ private void Initialize() /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -114615,6 +117923,9 @@ private void Initialize() /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -114627,11 +117938,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListReplicaSetForAllNamespaces2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedReplicaSet2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -114644,16 +117965,18 @@ private void Initialize() tracingParameters.Add("includeUninitialized", includeUninitialized); tracingParameters.Add("labelSelector", labelSelector); tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListReplicaSetForAllNamespaces2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedReplicaSet2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/replicasets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) { @@ -114675,10 +117998,6 @@ private void Initialize() { _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } if (resourceVersion != null) { _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); @@ -114691,6 +118010,10 @@ private void Initialize() { _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -114789,8 +118112,16 @@ private void Initialize() } /// - /// get information of a group + /// create a ReplicaSet /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -114803,11 +118134,29 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIGroup11WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedReplicaSet2WithHttpMessagesAsync(V1beta1ReplicaSet body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -114815,16 +118164,29 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup11", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedReplicaSet2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -114843,6 +118205,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -114863,7 +118231,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -114886,7 +118254,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -114895,7 +118263,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -114907,121 +118275,31 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get available resources - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIResources21WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources21", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + // Deserialize Response + if ((int)_statusCode == 201) { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try { - ServiceClientTracing.Error(_invocationId, ex); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } - _httpRequest.Dispose(); - if (_httpResponse != null) + catch (JsonException ex) { - _httpResponse.Dispose(); + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } - throw ex; } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 202) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -115041,7 +118319,7 @@ private void Initialize() } /// - /// list or watch objects of kind NetworkPolicy + /// delete collection of ReplicaSet /// /// /// object name and auth scope, such as for teams and projects @@ -115053,11 +118331,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -115133,7 +118419,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedNetworkPolicy1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedReplicaSet2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -115157,11 +118443,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedNetworkPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedReplicaSet2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) @@ -115207,7 +118493,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -115269,7 +118555,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -115278,7 +118564,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -115298,13 +118584,22 @@ private void Initialize() } /// - /// create a NetworkPolicy + /// read the specified ReplicaSet /// - /// + /// + /// name of the ReplicaSet /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. + /// /// /// If 'true', then the output is pretty printed. /// @@ -115329,15 +118624,11 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedNetworkPolicy1WithHttpMessagesAsync(V1NetworkPolicy body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedReplicaSet2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) + if (name == null) { - body.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } if (namespaceParameter == null) { @@ -115350,17 +118641,28 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); + tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedNetworkPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedReplicaSet2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -115372,7 +118674,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -115391,12 +118693,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -115417,7 +118713,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -115440,7 +118736,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -115449,43 +118745,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -115505,73 +118765,15 @@ private void Initialize() } /// - /// delete collection of NetworkPolicy + /// replace the specified ReplicaSet /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// name of the ReplicaSet /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -115597,8 +118799,20 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedNetworkPolicy1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedReplicaSet2WithHttpMessagesAsync(V1beta1ReplicaSet body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } if (namespaceParameter == null) { throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); @@ -115610,56 +118824,19 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedNetworkPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedReplicaSet2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) - { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -115671,7 +118848,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -115690,6 +118867,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -115710,7 +118893,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -115733,7 +118916,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -115742,7 +118925,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -115762,21 +118963,43 @@ private void Initialize() } /// - /// read the specified NetworkPolicy + /// delete a ReplicaSet /// + /// + /// /// - /// name of the NetworkPolicy + /// name of the ReplicaSet /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// If 'true', then the output is pretty printed. @@ -115802,8 +119025,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedNetworkPolicy1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedReplicaSet2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -115819,27 +119046,38 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedNetworkPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedReplicaSet2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (exact != null) + if (dryRun != null) { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (export != null) + if (gracePeriodSeconds != null) { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); } if (pretty != null) { @@ -115852,7 +119090,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -115871,6 +119109,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -115891,7 +119135,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -115914,7 +119158,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -115923,7 +119167,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -115943,12 +119205,12 @@ private void Initialize() } /// - /// replace the specified NetworkPolicy + /// partially update the specified ReplicaSet /// /// /// /// - /// name of the NetworkPolicy + /// name of the ReplicaSet /// /// /// object name and auth scope, such as for teams and projects @@ -115977,16 +119239,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedNetworkPolicy1WithHttpMessagesAsync(V1NetworkPolicy body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedReplicaSet2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -116007,11 +119265,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedNetworkPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedReplicaSet2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -116026,7 +119284,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -116049,7 +119307,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -116071,7 +119329,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -116094,7 +119352,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -116103,25 +119361,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -116141,38 +119381,14 @@ private void Initialize() } /// - /// delete a NetworkPolicy + /// read scale of the specified ReplicaSet /// - /// - /// /// - /// name of the NetworkPolicy + /// name of the Scale /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// /// /// If 'true', then the output is pretty printed. /// @@ -116197,12 +119413,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedNetworkPolicy1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedReplicaSetScale2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -116218,34 +119430,18 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedNetworkPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedReplicaSetScale2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -116257,7 +119453,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -116276,12 +119472,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -116325,7 +119515,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -116334,7 +119524,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -116354,12 +119544,12 @@ private void Initialize() } /// - /// partially update the specified NetworkPolicy + /// replace scale of the specified ReplicaSet /// /// /// /// - /// name of the NetworkPolicy + /// name of the Scale /// /// /// object name and auth scope, such as for teams and projects @@ -116388,12 +119578,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedNetworkPolicy1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedReplicaSetScale2WithHttpMessagesAsync(Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } + if (body != null) + { + body.Validate(); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -116414,11 +119608,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedNetworkPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedReplicaSetScale2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -116433,7 +119627,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -116456,7 +119650,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -116478,7 +119672,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -116501,7 +119695,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -116510,7 +119704,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -116530,74 +119742,19 @@ private void Initialize() } /// - /// list or watch objects of kind NetworkPolicy + /// partially update scale of the specified ReplicaSet /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. + /// /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// + /// name of the Scale /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// /// /// Headers that will be added to request. /// @@ -116610,11 +119767,29 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListNetworkPolicyForAllNamespaces1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedReplicaSetScale2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -116622,58 +119797,23 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNetworkPolicyForAllNamespaces1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedReplicaSetScale2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/networkpolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) - { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -116681,7 +119821,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -116700,6 +119840,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -116743,7 +119889,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -116752,7 +119898,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -116772,8 +119918,17 @@ private void Initialize() } /// - /// get information of a group + /// read status of the specified ReplicaSet /// + /// + /// name of the ReplicaSet + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -116786,11 +119941,25 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIGroup12WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedReplicaSetStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -116798,12 +119967,26 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup12", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedReplicaSetStatus2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -116869,7 +120052,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -116878,7 +120061,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -116898,8 +120081,19 @@ private void Initialize() } /// - /// get available resources + /// replace status of the specified ReplicaSet /// + /// + /// + /// + /// name of the ReplicaSet + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -116912,11 +120106,33 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources22WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedReplicaSetStatus2WithHttpMessagesAsync(V1beta1ReplicaSet body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -116924,16 +120140,31 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources22", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedReplicaSetStatus2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -116952,6 +120183,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -116972,7 +120209,9017 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// partially update status of the specified ReplicaSet + /// + /// + /// + /// + /// name of the ReplicaSet + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchNamespacedReplicaSetStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedReplicaSetStatus2", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// read scale of the specified ReplicationControllerDummy + /// + /// + /// name of the Scale + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReadNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedReplicationControllerDummyScale", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// replace scale of the specified ReplicationControllerDummy + /// + /// + /// + /// + /// name of the Scale + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReplaceNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedReplicationControllerDummyScale", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// partially update scale of the specified ReplicationControllerDummy + /// + /// + /// + /// + /// name of the Scale + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedReplicationControllerDummyScale", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// list or watch objects of kind NetworkPolicy + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ListNetworkPolicyForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListNetworkPolicyForAllNamespaces", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/networkpolicies").ToString(); + List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// list or watch objects of kind PodSecurityPolicy + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ListPodSecurityPolicyWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListPodSecurityPolicy", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies").ToString(); + List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// create a PodSecurityPolicy + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreatePodSecurityPolicyWithHttpMessagesAsync(Extensionsv1beta1PodSecurityPolicy body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreatePodSecurityPolicy", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies").ToString(); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// delete collection of PodSecurityPolicy + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> DeleteCollectionPodSecurityPolicyWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionPodSecurityPolicy", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies").ToString(); + List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// read the specified PodSecurityPolicy + /// + /// + /// name of the PodSecurityPolicy + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReadPodSecurityPolicyWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReadPodSecurityPolicy", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// replace the specified PodSecurityPolicy + /// + /// + /// + /// + /// name of the PodSecurityPolicy + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReplacePodSecurityPolicyWithHttpMessagesAsync(Extensionsv1beta1PodSecurityPolicy body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReplacePodSecurityPolicy", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// delete a PodSecurityPolicy + /// + /// + /// + /// + /// name of the PodSecurityPolicy + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> DeletePodSecurityPolicyWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "DeletePodSecurityPolicy", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// partially update the specified PodSecurityPolicy + /// + /// + /// + /// + /// name of the PodSecurityPolicy + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchPodSecurityPolicyWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PatchPodSecurityPolicy", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// list or watch objects of kind ReplicaSet + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ListReplicaSetForAllNamespaces2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListReplicaSetForAllNamespaces2", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/replicasets").ToString(); + List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// get information of a group + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIGroup12WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup12", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// get available resources + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIResources23WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources23", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// list or watch objects of kind NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ListNamespacedNetworkPolicy1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedNetworkPolicy1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// create a NetworkPolicy + /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateNamespacedNetworkPolicy1WithHttpMessagesAsync(V1NetworkPolicy body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedNetworkPolicy1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// delete collection of NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> DeleteCollectionNamespacedNetworkPolicy1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedNetworkPolicy1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// read the specified NetworkPolicy + /// + /// + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReadNamespacedNetworkPolicy1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedNetworkPolicy1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// replace the specified NetworkPolicy + /// + /// + /// + /// + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReplaceNamespacedNetworkPolicy1WithHttpMessagesAsync(V1NetworkPolicy body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedNetworkPolicy1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// delete a NetworkPolicy + /// + /// + /// + /// + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> DeleteNamespacedNetworkPolicy1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedNetworkPolicy1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// partially update the specified NetworkPolicy + /// + /// + /// + /// + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchNamespacedNetworkPolicy1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedNetworkPolicy1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// list or watch objects of kind NetworkPolicy + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ListNetworkPolicyForAllNamespaces1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListNetworkPolicyForAllNamespaces1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/networkpolicies").ToString(); + List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// get information of a group + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIGroup13WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup13", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// get available resources + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIResources24WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources24", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// list or watch objects of kind PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ListNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedPodDisruptionBudget", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// create a PodDisruptionBudget + /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedPodDisruptionBudget", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// delete collection of PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> DeleteCollectionNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedPodDisruptionBudget", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// read the specified PodDisruptionBudget + /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReadNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedPodDisruptionBudget", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// replace the specified PodDisruptionBudget + /// + /// + /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReplaceNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedPodDisruptionBudget", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// delete a PodDisruptionBudget + /// + /// + /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> DeleteNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedPodDisruptionBudget", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// partially update the specified PodDisruptionBudget + /// + /// + /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedPodDisruptionBudget", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// read status of the specified PodDisruptionBudget + /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReadNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedPodDisruptionBudgetStatus", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// replace status of the specified PodDisruptionBudget + /// + /// + /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReplaceNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedPodDisruptionBudgetStatus", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// partially update status of the specified PodDisruptionBudget + /// + /// + /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedPodDisruptionBudgetStatus", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// list or watch objects of kind PodDisruptionBudget + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ListPodDisruptionBudgetForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListPodDisruptionBudgetForAllNamespaces", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/poddisruptionbudgets").ToString(); + List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// list or watch objects of kind PodSecurityPolicy + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ListPodSecurityPolicy1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListPodSecurityPolicy1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies").ToString(); + List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// create a PodSecurityPolicy + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreatePodSecurityPolicy1WithHttpMessagesAsync(Policyv1beta1PodSecurityPolicy body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreatePodSecurityPolicy1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies").ToString(); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// delete collection of PodSecurityPolicy + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> DeleteCollectionPodSecurityPolicy1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionPodSecurityPolicy1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies").ToString(); + List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// read the specified PodSecurityPolicy + /// + /// + /// name of the PodSecurityPolicy + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReadPodSecurityPolicy1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReadPodSecurityPolicy1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// replace the specified PodSecurityPolicy + /// + /// + /// + /// + /// name of the PodSecurityPolicy + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReplacePodSecurityPolicy1WithHttpMessagesAsync(Policyv1beta1PodSecurityPolicy body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReplacePodSecurityPolicy1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// delete a PodSecurityPolicy + /// + /// + /// + /// + /// name of the PodSecurityPolicy + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> DeletePodSecurityPolicy1WithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "DeletePodSecurityPolicy1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// partially update the specified PodSecurityPolicy + /// + /// + /// + /// + /// name of the PodSecurityPolicy + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchPodSecurityPolicy1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PatchPodSecurityPolicy1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// get information of a group + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIGroup14WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup14", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// get available resources + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIResources25WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources25", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -117024,11 +129271,8 @@ private void Initialize() } /// - /// list or watch objects of kind PodDisruptionBudget + /// list or watch objects of kind ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -117036,11 +129280,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -117107,21 +129359,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListClusterRoleBindingWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -117137,15 +129379,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedPodDisruptionBudget", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListClusterRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -117252,7 +129492,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -117261,7 +129501,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -117281,13 +129521,10 @@ private void Initialize() } /// - /// create a PodDisruptionBudget + /// create a ClusterRoleBinding /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// @@ -117312,7 +129549,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateClusterRoleBindingWithHttpMessagesAsync(V1ClusterRoleBinding body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -117322,10 +129559,6 @@ private void Initialize() { body.Validate(); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -117334,15 +129567,13 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedPodDisruptionBudget", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings").ToString(); List _queryParameters = new List(); if (pretty != null) { @@ -117423,7 +129654,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -117432,7 +129663,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -117450,7 +129681,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -117468,7 +129699,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -117488,11 +129719,8 @@ private void Initialize() } /// - /// delete collection of PodDisruptionBudget + /// delete collection of ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -117500,11 +129728,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -117571,21 +129807,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionClusterRoleBindingWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -117601,15 +129827,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedPodDisruptionBudget", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -117745,21 +129969,10 @@ private void Initialize() } /// - /// read the specified PodDisruptionBudget + /// read the specified ClusterRoleBinding /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -117785,16 +129998,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadClusterRoleBindingWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -117802,28 +130011,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedPodDisruptionBudget", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -117897,7 +130094,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -117906,7 +130103,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -117926,15 +130123,12 @@ private void Initialize() } /// - /// replace the specified PodDisruptionBudget + /// replace the specified ClusterRoleBinding /// /// /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -117960,7 +130154,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceClusterRoleBindingWithHttpMessagesAsync(V1ClusterRoleBinding body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -117974,10 +130168,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -117987,16 +130177,14 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedPodDisruptionBudget", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -118077,7 +130265,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -118086,7 +130274,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -118104,7 +130292,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -118124,15 +130312,18 @@ private void Initialize() } /// - /// delete a PodDisruptionBudget + /// delete a ClusterRoleBinding /// /// /// /// - /// name of the PodDisruptionBudget + /// name of the ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -118180,7 +130371,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteClusterRoleBindingWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -118190,10 +130381,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -118202,21 +130389,24 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedPodDisruptionBudget", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -118259,12 +130449,895 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// partially update the specified ClusterRoleBinding + /// + /// + /// + /// + /// name of the ClusterRoleBinding + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchClusterRoleBindingWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRoleBinding", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// list or watch objects of kind ClusterRole + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ListClusterRoleWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListClusterRole", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles").ToString(); + List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// create a ClusterRole + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateClusterRoleWithHttpMessagesAsync(V1ClusterRole body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRole", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles").ToString(); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// delete collection of ClusterRole + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> DeleteCollectionClusterRoleWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRole", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles").ToString(); + List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; // Set Credentials if (Credentials != null) { @@ -118337,189 +131410,10 @@ private void Initialize() } /// - /// partially update the specified PodDisruptionBudget - /// - /// - /// - /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedPodDisruptionBudget", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read status of the specified PodDisruptionBudget + /// read the specified ClusterRole /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -118545,16 +131439,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadClusterRoleWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -118563,16 +131453,14 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedPodDisruptionBudgetStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -118647,7 +131535,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -118656,7 +131544,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -118676,15 +131564,12 @@ private void Initialize() } /// - /// replace status of the specified PodDisruptionBudget + /// replace the specified ClusterRole /// /// /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -118710,7 +131595,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceClusterRoleWithHttpMessagesAsync(V1ClusterRole body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -118724,10 +131609,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -118737,16 +131618,14 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedPodDisruptionBudgetStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -118827,7 +131706,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -118836,7 +131715,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -118854,7 +131733,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -118874,15 +131753,40 @@ private void Initialize() } /// - /// partially update status of the specified PodDisruptionBudget + /// delete a ClusterRole /// /// /// /// - /// name of the PodDisruptionBudget + /// name of the ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// If 'true', then the output is pretty printed. @@ -118908,7 +131812,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteClusterRoleWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -118918,10 +131822,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -118930,18 +131830,36 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedPodDisruptionBudgetStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -118953,7 +131871,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -118976,7 +131894,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -118998,7 +131916,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -119021,7 +131939,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -119030,7 +131948,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -119050,74 +131986,16 @@ private void Initialize() } /// - /// list or watch objects of kind PodDisruptionBudget + /// partially update the specified ClusterRole /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// /// /// Headers that will be added to request. /// @@ -119130,11 +132008,25 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListPodDisruptionBudgetForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchClusterRoleWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -119142,58 +132034,21 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListPodDisruptionBudgetForAllNamespaces", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/poddisruptionbudgets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) - { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -119201,7 +132056,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -119220,6 +132075,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -119263,7 +132124,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -119272,7 +132133,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -119292,8 +132153,11 @@ private void Initialize() } /// - /// list or watch objects of kind PodSecurityPolicy + /// list or watch objects of kind RoleBinding /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -119301,11 +132165,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -119372,11 +132244,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListPodSecurityPolicy1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedRoleBindingWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -119392,13 +132274,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListPodSecurityPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) { @@ -119505,7 +132389,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -119514,7 +132398,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -119534,10 +132418,13 @@ private void Initialize() } /// - /// create a PodSecurityPolicy + /// create a RoleBinding /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// @@ -119562,7 +132449,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreatePodSecurityPolicy1WithHttpMessagesAsync(Policyv1beta1PodSecurityPolicy body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedRoleBindingWithHttpMessagesAsync(V1RoleBinding body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -119572,6 +132459,10 @@ private void Initialize() { body.Validate(); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -119580,13 +132471,15 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreatePodSecurityPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -119667,7 +132560,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -119676,7 +132569,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -119694,7 +132587,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -119712,7 +132605,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -119732,8 +132625,11 @@ private void Initialize() } /// - /// delete collection of PodSecurityPolicy + /// delete collection of RoleBinding /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -119741,11 +132637,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -119812,11 +132716,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionPodSecurityPolicy1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedRoleBindingWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -119832,13 +132746,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionPodSecurityPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) { @@ -119974,18 +132890,13 @@ private void Initialize() } /// - /// read the specified PodSecurityPolicy + /// read the specified RoleBinding /// /// - /// name of the PodSecurityPolicy - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. + /// name of the RoleBinding /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -120011,12 +132922,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadPodSecurityPolicy1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedRoleBindingWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -120024,26 +132939,18 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadPodSecurityPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -120117,7 +133024,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -120126,7 +133033,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -120146,12 +133053,15 @@ private void Initialize() } /// - /// replace the specified PodSecurityPolicy + /// replace the specified RoleBinding /// /// /// /// - /// name of the PodSecurityPolicy + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -120177,7 +133087,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplacePodSecurityPolicy1WithHttpMessagesAsync(Policyv1beta1PodSecurityPolicy body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedRoleBindingWithHttpMessagesAsync(V1RoleBinding body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -120191,6 +133101,10 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -120200,14 +133114,16 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplacePodSecurityPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -120288,7 +133204,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -120297,7 +133213,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -120315,7 +133231,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -120335,12 +133251,21 @@ private void Initialize() } /// - /// delete a PodSecurityPolicy + /// delete a RoleBinding /// /// /// /// - /// name of the PodSecurityPolicy + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -120388,7 +133313,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeletePodSecurityPolicy1WithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedRoleBindingWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -120398,6 +133323,10 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -120406,19 +133335,26 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeletePodSecurityPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -120487,7 +133423,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -120531,6 +133467,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -120539,12 +133493,15 @@ private void Initialize() } /// - /// partially update the specified PodSecurityPolicy + /// partially update the specified RoleBinding /// /// /// /// - /// name of the PodSecurityPolicy + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -120570,7 +133527,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchPodSecurityPolicy1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedRoleBindingWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -120580,6 +133537,10 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -120589,14 +133550,16 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchPodSecurityPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -120677,7 +133640,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -120686,7 +133649,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -120706,8 +133669,85 @@ private void Initialize() } /// - /// get information of a group + /// list or watch objects of kind Role /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -120720,11 +133760,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIGroup13WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedRoleWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -120732,12 +133782,64 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup13", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -120803,7 +133905,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -120812,7 +133914,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -120832,8 +133934,16 @@ private void Initialize() } /// - /// get available resources + /// create a Role /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -120846,11 +133956,29 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources23WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedRoleWithHttpMessagesAsync(V1Role body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -120858,16 +133986,29 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources23", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -120886,6 +134027,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -120906,7 +134053,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -120929,7 +134076,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -120938,7 +134085,43 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -120958,8 +134141,11 @@ private void Initialize() } /// - /// list or watch objects of kind ClusterRoleBinding + /// delete collection of Role /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -120967,11 +134153,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -121038,11 +134232,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListClusterRoleBindingWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedRoleWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -121058,13 +134262,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListClusterRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) { @@ -121109,7 +134315,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -121171,7 +134377,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -121180,7 +134386,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -121200,9 +134406,13 @@ private void Initialize() } /// - /// create a ClusterRoleBinding + /// read the specified Role /// - /// + /// + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -121228,15 +134438,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateClusterRoleBindingWithHttpMessagesAsync(V1ClusterRoleBinding body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedRoleWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) + if (name == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (body != null) + if (namespaceParameter == null) { - body.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -121245,14 +134455,17 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -121265,7 +134478,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -121284,12 +134497,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -121310,7 +134517,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -121333,7 +134540,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -121342,7 +134549,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -121354,13 +134561,175 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// replace the specified Role + /// + /// + /// + /// + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReplaceNamespacedRoleWithHttpMessagesAsync(V1Role body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRole", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -121373,12 +134742,12 @@ private void Initialize() } } // Deserialize Response - if ((int)_statusCode == 202) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -121398,70 +134767,43 @@ private void Initialize() } /// - /// delete collection of ClusterRoleBinding + /// delete a Role /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. + /// + /// name of the Role /// - /// - /// If true, partially initialized resources are included in the response. + /// + /// object name and auth scope, such as for teams and projects /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// If 'true', then the output is pretty printed. @@ -121478,11 +134820,29 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionClusterRoleBindingWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedRoleWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -121490,53 +134850,38 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) + if (dryRun != null) { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (resourceVersion != null) + if (gracePeriodSeconds != null) { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); } - if (timeoutSeconds != null) + if (orphanDependents != null) { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); } - if (watch != null) + if (propagationPolicy != null) { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); } if (pretty != null) { @@ -121568,6 +134913,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -121588,7 +134939,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -121632,6 +134983,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -121640,10 +135009,15 @@ private void Initialize() } /// - /// read the specified ClusterRoleBinding + /// partially update the specified Role /// + /// + /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -121669,12 +135043,20 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadClusterRoleBindingWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedRoleWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -121682,15 +135064,18 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -121703,7 +135088,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -121722,6 +135107,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -121765,7 +135156,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -121774,7 +135165,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -121794,16 +135185,82 @@ private void Initialize() } /// - /// replace the specified ClusterRoleBinding + /// list or watch objects of kind RoleBinding /// - /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// name of the ClusterRoleBinding + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -121816,29 +135273,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceClusterRoleBindingWithHttpMessagesAsync(V1ClusterRoleBinding body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListRoleBindingForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -121846,21 +135285,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListRoleBindingForAllNamespaces", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/rolebindings").ToString(); List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -121868,7 +135344,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -121887,12 +135363,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -121913,7 +135383,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -121936,7 +135406,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -121945,25 +135415,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -121983,38 +135435,82 @@ private void Initialize() } /// - /// delete a ClusterRoleBinding + /// list or watch objects of kind Role /// - /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// name of the ClusterRoleBinding + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. + /// + /// If true, partially initialized resources are included in the response. /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -122027,25 +135523,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteClusterRoleBindingWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListRoleForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -122053,36 +135535,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListRoleForAllNamespaces", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/roles").ToString(); List _queryParameters = new List(); - if (gracePeriodSeconds != null) + if (continueParameter != null) { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); } - if (orphanDependents != null) + if (fieldSelector != null) { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); } - if (propagationPolicy != null) + if (includeUninitialized != null) { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -122090,7 +135594,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -122109,12 +135613,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -122158,7 +135656,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -122167,7 +135665,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -122187,16 +135685,8 @@ private void Initialize() } /// - /// partially update the specified ClusterRoleBinding + /// get available resources /// - /// - /// - /// - /// name of the ClusterRoleBinding - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -122209,25 +135699,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> PatchClusterRoleBindingWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources26WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -122235,29 +135711,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources26", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -122276,12 +135739,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -122325,7 +135782,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -122334,7 +135791,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -122354,7 +135811,7 @@ private void Initialize() } /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind ClusterRoleBinding /// /// /// The continue option should be set when retrieving more results from the @@ -122363,11 +135820,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -122437,7 +135902,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListClusterRoleWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListClusterRoleBinding1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -122456,11 +135921,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListClusterRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListClusterRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -122567,7 +136032,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -122576,7 +136041,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -122596,7 +136061,7 @@ private void Initialize() } /// - /// create a ClusterRole + /// create a ClusterRoleBinding /// /// /// @@ -122624,7 +136089,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateClusterRoleWithHttpMessagesAsync(V1ClusterRole body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateClusterRoleBinding1WithHttpMessagesAsync(V1alpha1ClusterRoleBinding body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -122644,11 +136109,11 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings").ToString(); List _queryParameters = new List(); if (pretty != null) { @@ -122729,7 +136194,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -122738,7 +136203,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -122756,7 +136221,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -122774,7 +136239,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -122794,7 +136259,7 @@ private void Initialize() } /// - /// delete collection of ClusterRole + /// delete collection of ClusterRoleBinding /// /// /// The continue option should be set when retrieving more results from the @@ -122803,11 +136268,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -122877,7 +136350,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionClusterRoleWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionClusterRoleBinding1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -122896,11 +136369,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -123036,10 +136509,10 @@ private void Initialize() } /// - /// read the specified ClusterRole + /// read the specified ClusterRoleBinding /// /// - /// name of the ClusterRole + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -123065,7 +136538,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadClusterRoleWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadClusterRoleBinding1WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -123081,11 +136554,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (pretty != null) @@ -123161,7 +136634,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -123170,7 +136643,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -123190,12 +136663,12 @@ private void Initialize() } /// - /// replace the specified ClusterRole + /// replace the specified ClusterRoleBinding /// /// /// /// - /// name of the ClusterRole + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -123221,7 +136694,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceClusterRoleWithHttpMessagesAsync(V1ClusterRole body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceClusterRoleBinding1WithHttpMessagesAsync(V1alpha1ClusterRoleBinding body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -123246,11 +136719,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (pretty != null) @@ -123332,7 +136805,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -123341,7 +136814,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -123359,7 +136832,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -123379,12 +136852,18 @@ private void Initialize() } /// - /// delete a ClusterRole + /// delete a ClusterRoleBinding /// /// /// /// - /// name of the ClusterRole + /// name of the ClusterRoleBinding + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -123432,7 +136911,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteClusterRoleWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteClusterRoleBinding1WithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -123450,19 +136929,24 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -123531,7 +137015,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -123575,6 +137059,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -123583,12 +137085,12 @@ private void Initialize() } /// - /// partially update the specified ClusterRole + /// partially update the specified ClusterRoleBinding /// /// /// /// - /// name of the ClusterRole + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -123614,7 +137116,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchClusterRoleWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchClusterRoleBinding1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -123635,11 +137137,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (pretty != null) @@ -123721,7 +137223,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -123730,7 +137232,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -123750,11 +137252,8 @@ private void Initialize() } /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -123762,11 +137261,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -123833,21 +137340,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedRoleBindingWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListClusterRole1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -123863,15 +137360,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListClusterRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -123978,7 +137473,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -123987,7 +137482,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -124007,13 +137502,10 @@ private void Initialize() } /// - /// create a RoleBinding + /// create a ClusterRole /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// @@ -124038,7 +137530,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedRoleBindingWithHttpMessagesAsync(V1RoleBinding body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateClusterRole1WithHttpMessagesAsync(V1alpha1ClusterRole body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -124048,10 +137540,6 @@ private void Initialize() { body.Validate(); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -124060,15 +137548,13 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles").ToString(); List _queryParameters = new List(); if (pretty != null) { @@ -124149,7 +137635,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -124158,7 +137644,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -124176,7 +137662,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -124194,7 +137680,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -124214,11 +137700,8 @@ private void Initialize() } /// - /// delete collection of RoleBinding + /// delete collection of ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -124226,11 +137709,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -124297,21 +137788,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedRoleBindingWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionClusterRole1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -124327,15 +137808,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -124471,13 +137950,10 @@ private void Initialize() } /// - /// read the specified RoleBinding + /// read the specified ClusterRole /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -124503,16 +137979,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedRoleBindingWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadClusterRole1WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -124521,16 +137993,14 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -124605,7 +138075,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -124614,7 +138084,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -124634,15 +138104,12 @@ private void Initialize() } /// - /// replace the specified RoleBinding + /// replace the specified ClusterRole /// /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -124668,7 +138135,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedRoleBindingWithHttpMessagesAsync(V1RoleBinding body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceClusterRole1WithHttpMessagesAsync(V1alpha1ClusterRole body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -124682,10 +138149,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -124695,16 +138158,14 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -124785,7 +138246,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -124794,7 +138255,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -124812,7 +138273,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -124832,15 +138293,18 @@ private void Initialize() } /// - /// delete a RoleBinding + /// delete a ClusterRole /// /// /// /// - /// name of the RoleBinding + /// name of the ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -124888,7 +138352,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedRoleBindingWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteClusterRole1WithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -124898,10 +138362,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -124910,21 +138370,24 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -124993,7 +138456,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -125037,6 +138500,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -125045,15 +138526,12 @@ private void Initialize() } /// - /// partially update the specified RoleBinding + /// partially update the specified ClusterRole /// /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -125079,7 +138557,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedRoleBindingWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchClusterRole1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -125089,10 +138567,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -125102,16 +138576,14 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -125192,7 +138664,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -125201,7 +138673,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -125221,7 +138693,7 @@ private void Initialize() } /// - /// list or watch objects of kind Role + /// list or watch objects of kind RoleBinding /// /// /// object name and auth scope, such as for teams and projects @@ -125233,11 +138705,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -125313,7 +138793,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedRoleWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedRoleBinding1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -125337,11 +138817,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) @@ -125449,7 +138929,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -125458,7 +138938,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -125478,7 +138958,7 @@ private void Initialize() } /// - /// create a Role + /// create a RoleBinding /// /// /// @@ -125509,7 +138989,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedRoleWithHttpMessagesAsync(V1Role body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedRoleBinding1WithHttpMessagesAsync(V1alpha1RoleBinding body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -125534,11 +139014,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) @@ -125620,7 +139100,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -125629,7 +139109,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -125647,7 +139127,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -125665,7 +139145,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -125685,7 +139165,7 @@ private void Initialize() } /// - /// delete collection of Role + /// delete collection of RoleBinding /// /// /// object name and auth scope, such as for teams and projects @@ -125697,11 +139177,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -125777,7 +139265,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedRoleWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedRoleBinding1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -125801,11 +139289,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) @@ -125942,10 +139430,10 @@ private void Initialize() } /// - /// read the specified Role + /// read the specified RoleBinding /// /// - /// name of the Role + /// name of the RoleBinding /// /// /// object name and auth scope, such as for teams and projects @@ -125974,7 +139462,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedRoleWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedRoleBinding1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -125995,11 +139483,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -126076,7 +139564,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -126085,7 +139573,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -126105,12 +139593,12 @@ private void Initialize() } /// - /// replace the specified Role + /// replace the specified RoleBinding /// /// /// /// - /// name of the Role + /// name of the RoleBinding /// /// /// object name and auth scope, such as for teams and projects @@ -126139,7 +139627,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedRoleWithHttpMessagesAsync(V1Role body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedRoleBinding1WithHttpMessagesAsync(V1alpha1RoleBinding body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -126169,11 +139657,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -126256,7 +139744,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -126265,7 +139753,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -126283,7 +139771,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -126303,16 +139791,22 @@ private void Initialize() } /// - /// delete a Role + /// delete a RoleBinding /// /// /// /// - /// name of the Role + /// name of the RoleBinding /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -126359,7 +139853,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedRoleWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedRoleBinding1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -126381,6 +139875,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -126388,14 +139883,18 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -126464,7 +139963,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -126508,6 +140007,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -126516,12 +140033,12 @@ private void Initialize() } /// - /// partially update the specified Role + /// partially update the specified RoleBinding /// /// /// /// - /// name of the Role + /// name of the RoleBinding /// /// /// object name and auth scope, such as for teams and projects @@ -126550,7 +140067,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedRoleWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedRoleBinding1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -126576,11 +140093,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -126663,7 +140180,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -126672,7 +140189,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -126692,8 +140209,11 @@ private void Initialize() } /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind Role /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -126701,11 +140221,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -126741,9 +140269,6 @@ private void Initialize() /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -126760,6 +140285,9 @@ private void Initialize() /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -126772,11 +140300,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListRoleBindingForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedRole1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -126789,16 +140327,18 @@ private void Initialize() tracingParameters.Add("includeUninitialized", includeUninitialized); tracingParameters.Add("labelSelector", labelSelector); tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListRoleBindingForAllNamespaces", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/rolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) { @@ -126820,10 +140360,6 @@ private void Initialize() { _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } if (resourceVersion != null) { _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); @@ -126836,6 +140372,10 @@ private void Initialize() { _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -126905,7 +140445,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -126914,7 +140454,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -126934,74 +140474,16 @@ private void Initialize() } /// - /// list or watch objects of kind Role + /// create a Role /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// /// /// Headers that will be added to request. /// @@ -127014,11 +140496,29 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListRoleForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedRole1WithHttpMessagesAsync(V1alpha1Role body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -127026,58 +140526,21 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); + tracingParameters.Add("body", body); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListRoleForAllNamespaces", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/roles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) - { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -127085,7 +140548,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -127104,6 +140567,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -127124,7 +140593,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -127147,7 +140616,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -127156,7 +140625,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -127168,121 +140637,31 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get available resources - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIResources24WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources24", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + // Deserialize Response + if ((int)_statusCode == 201) { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try { - ServiceClientTracing.Error(_invocationId, ex); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } - _httpRequest.Dispose(); - if (_httpResponse != null) + catch (JsonException ex) { - _httpResponse.Dispose(); + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } - throw ex; } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 202) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -127302,8 +140681,11 @@ private void Initialize() } /// - /// list or watch objects of kind ClusterRoleBinding + /// delete collection of Role /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -127311,11 +140693,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -127382,11 +140772,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListClusterRoleBinding1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedRole1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -127402,13 +140802,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListClusterRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) { @@ -127453,7 +140855,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -127515,7 +140917,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -127524,7 +140926,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -127544,9 +140946,13 @@ private void Initialize() } /// - /// create a ClusterRoleBinding + /// read the specified Role /// - /// + /// + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -127572,15 +140978,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateClusterRoleBinding1WithHttpMessagesAsync(V1alpha1ClusterRoleBinding body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedRole1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) + if (name == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (body != null) + if (namespaceParameter == null) { - body.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -127589,14 +140995,17 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -127609,7 +141018,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -127628,12 +141037,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -127654,7 +141057,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -127677,7 +141080,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -127686,7 +141089,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -127698,13 +141101,175 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// replace the specified Role + /// + /// + /// + /// + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReplaceNamespacedRole1WithHttpMessagesAsync(V1alpha1Role body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRole1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -127717,12 +141282,12 @@ private void Initialize() } } // Deserialize Response - if ((int)_statusCode == 202) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -127742,70 +141307,43 @@ private void Initialize() } /// - /// delete collection of ClusterRoleBinding + /// delete a Role /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. + /// /// - /// - /// If true, partially initialized resources are included in the response. + /// + /// name of the Role /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// + /// object name and auth scope, such as for teams and projects /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// If 'true', then the output is pretty printed. @@ -127822,11 +141360,29 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionClusterRoleBinding1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedRole1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -127834,53 +141390,38 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) - { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) + if (dryRun != null) { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (resourceVersion != null) + if (gracePeriodSeconds != null) { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); } - if (timeoutSeconds != null) + if (orphanDependents != null) { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); } - if (watch != null) + if (propagationPolicy != null) { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); } if (pretty != null) { @@ -127912,6 +141453,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -127932,7 +141479,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -127976,6 +141523,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -127984,10 +141549,15 @@ private void Initialize() } /// - /// read the specified ClusterRoleBinding + /// partially update the specified Role /// + /// + /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -128013,12 +141583,20 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadClusterRoleBinding1WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedRole1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -128026,15 +141604,18 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -128047,7 +141628,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -128066,6 +141647,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -128109,7 +141696,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -128118,7 +141705,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -128138,16 +141725,82 @@ private void Initialize() } /// - /// replace the specified ClusterRoleBinding + /// list or watch objects of kind RoleBinding /// - /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// name of the ClusterRoleBinding + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -128160,29 +141813,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceClusterRoleBinding1WithHttpMessagesAsync(V1alpha1ClusterRoleBinding body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListRoleBindingForAllNamespaces1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -128190,21 +141825,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListRoleBindingForAllNamespaces1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/rolebindings").ToString(); List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -128212,7 +141884,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -128231,12 +141903,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -128257,7 +141923,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -128280,7 +141946,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -128289,25 +141955,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -128327,38 +141975,82 @@ private void Initialize() } /// - /// delete a ClusterRoleBinding + /// list or watch objects of kind Role /// - /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// name of the ClusterRoleBinding + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. + /// + /// If true, partially initialized resources are included in the response. /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -128371,25 +142063,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteClusterRoleBinding1WithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListRoleForAllNamespaces1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -128397,36 +142075,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListRoleForAllNamespaces1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/roles").ToString(); List _queryParameters = new List(); - if (gracePeriodSeconds != null) + if (continueParameter != null) { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); } - if (orphanDependents != null) + if (fieldSelector != null) { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); } - if (propagationPolicy != null) + if (includeUninitialized != null) { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -128434,7 +142134,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -128453,12 +142153,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -128502,7 +142196,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -128511,7 +142205,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -128531,16 +142225,8 @@ private void Initialize() } /// - /// partially update the specified ClusterRoleBinding + /// get available resources /// - /// - /// - /// - /// name of the ClusterRoleBinding - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -128553,25 +142239,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> PatchClusterRoleBinding1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources27WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -128579,29 +142251,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources27", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -128620,12 +142279,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -128669,7 +142322,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -128678,7 +142331,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -128698,7 +142351,7 @@ private void Initialize() } /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind ClusterRoleBinding /// /// /// The continue option should be set when retrieving more results from the @@ -128707,11 +142360,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -128781,7 +142442,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListClusterRole1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListClusterRoleBinding2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -128800,11 +142461,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListClusterRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListClusterRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -128911,7 +142572,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -128920,7 +142581,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -128940,7 +142601,7 @@ private void Initialize() } /// - /// create a ClusterRole + /// create a ClusterRoleBinding /// /// /// @@ -128968,7 +142629,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateClusterRole1WithHttpMessagesAsync(V1alpha1ClusterRole body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateClusterRoleBinding2WithHttpMessagesAsync(V1beta1ClusterRoleBinding body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -128988,11 +142649,11 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings").ToString(); List _queryParameters = new List(); if (pretty != null) { @@ -129073,7 +142734,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -129082,7 +142743,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -129100,7 +142761,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -129118,7 +142779,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -129138,7 +142799,7 @@ private void Initialize() } /// - /// delete collection of ClusterRole + /// delete collection of ClusterRoleBinding /// /// /// The continue option should be set when retrieving more results from the @@ -129147,11 +142808,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -129221,7 +142890,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionClusterRole1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionClusterRoleBinding2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -129240,11 +142909,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -129380,10 +143049,10 @@ private void Initialize() } /// - /// read the specified ClusterRole + /// read the specified ClusterRoleBinding /// /// - /// name of the ClusterRole + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -129409,7 +143078,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadClusterRole1WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadClusterRoleBinding2WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -129425,11 +143094,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (pretty != null) @@ -129505,7 +143174,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -129514,7 +143183,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -129534,12 +143203,12 @@ private void Initialize() } /// - /// replace the specified ClusterRole + /// replace the specified ClusterRoleBinding /// /// /// /// - /// name of the ClusterRole + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -129565,7 +143234,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceClusterRole1WithHttpMessagesAsync(V1alpha1ClusterRole body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceClusterRoleBinding2WithHttpMessagesAsync(V1beta1ClusterRoleBinding body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -129590,11 +143259,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (pretty != null) @@ -129676,7 +143345,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -129685,7 +143354,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -129703,7 +143372,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -129723,12 +143392,18 @@ private void Initialize() } /// - /// delete a ClusterRole + /// delete a ClusterRoleBinding /// /// /// /// - /// name of the ClusterRole + /// name of the ClusterRoleBinding + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -129776,7 +143451,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteClusterRole1WithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteClusterRoleBinding2WithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -129794,19 +143469,24 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -129875,7 +143555,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -129919,6 +143599,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -129927,12 +143625,12 @@ private void Initialize() } /// - /// partially update the specified ClusterRole + /// partially update the specified ClusterRoleBinding /// /// /// /// - /// name of the ClusterRole + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -129958,7 +143656,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchClusterRole1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchClusterRoleBinding2WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -129979,11 +143677,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (pretty != null) @@ -130065,7 +143763,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -130074,7 +143772,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -130094,11 +143792,8 @@ private void Initialize() } /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -130106,11 +143801,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -130177,21 +143880,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedRoleBinding1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListClusterRole2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -130207,15 +143900,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListClusterRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -130322,7 +144013,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -130331,7 +144022,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -130351,13 +144042,10 @@ private void Initialize() } /// - /// create a RoleBinding + /// create a ClusterRole /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// @@ -130382,7 +144070,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedRoleBinding1WithHttpMessagesAsync(V1alpha1RoleBinding body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateClusterRole2WithHttpMessagesAsync(V1beta1ClusterRole body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -130392,10 +144080,6 @@ private void Initialize() { body.Validate(); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -130404,15 +144088,13 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles").ToString(); List _queryParameters = new List(); if (pretty != null) { @@ -130493,7 +144175,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -130502,7 +144184,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -130520,7 +144202,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -130538,7 +144220,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -130558,11 +144240,8 @@ private void Initialize() } /// - /// delete collection of RoleBinding + /// delete collection of ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -130570,11 +144249,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -130641,21 +144328,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedRoleBinding1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionClusterRole2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -130671,15 +144348,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -130815,13 +144490,10 @@ private void Initialize() } /// - /// read the specified RoleBinding + /// read the specified ClusterRole /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -130847,16 +144519,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedRoleBinding1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadClusterRole2WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -130865,16 +144533,14 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -130949,7 +144615,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -130958,7 +144624,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -130978,15 +144644,12 @@ private void Initialize() } /// - /// replace the specified RoleBinding + /// replace the specified ClusterRole /// /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -131012,7 +144675,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedRoleBinding1WithHttpMessagesAsync(V1alpha1RoleBinding body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceClusterRole2WithHttpMessagesAsync(V1beta1ClusterRole body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -131026,10 +144689,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -131039,16 +144698,14 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -131129,7 +144786,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -131138,7 +144795,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -131156,7 +144813,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -131176,15 +144833,18 @@ private void Initialize() } /// - /// delete a RoleBinding + /// delete a ClusterRole /// /// /// /// - /// name of the RoleBinding + /// name of the ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -131232,7 +144892,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedRoleBinding1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteClusterRole2WithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -131242,10 +144902,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -131254,21 +144910,24 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -131337,7 +144996,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -131381,6 +145040,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -131389,15 +145066,12 @@ private void Initialize() } /// - /// partially update the specified RoleBinding + /// partially update the specified ClusterRole /// /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -131423,7 +145097,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedRoleBinding1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchClusterRole2WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -131433,10 +145107,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -131446,16 +145116,14 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -131536,7 +145204,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -131545,7 +145213,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -131565,7 +145233,7 @@ private void Initialize() } /// - /// list or watch objects of kind Role + /// list or watch objects of kind RoleBinding /// /// /// object name and auth scope, such as for teams and projects @@ -131577,11 +145245,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -131657,7 +145333,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedRole1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedRoleBinding2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -131681,11 +145357,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) @@ -131793,7 +145469,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -131802,7 +145478,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -131822,7 +145498,7 @@ private void Initialize() } /// - /// create a Role + /// create a RoleBinding /// /// /// @@ -131853,7 +145529,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedRole1WithHttpMessagesAsync(V1alpha1Role body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedRoleBinding2WithHttpMessagesAsync(V1beta1RoleBinding body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -131878,11 +145554,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) @@ -131964,7 +145640,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -131973,7 +145649,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -131991,7 +145667,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -132009,7 +145685,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -132029,7 +145705,7 @@ private void Initialize() } /// - /// delete collection of Role + /// delete collection of RoleBinding /// /// /// object name and auth scope, such as for teams and projects @@ -132041,11 +145717,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -132121,7 +145805,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedRole1WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedRoleBinding2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -132145,11 +145829,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) @@ -132286,10 +145970,10 @@ private void Initialize() } /// - /// read the specified Role + /// read the specified RoleBinding /// /// - /// name of the Role + /// name of the RoleBinding /// /// /// object name and auth scope, such as for teams and projects @@ -132318,7 +146002,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedRole1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedRoleBinding2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -132339,11 +146023,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -132420,7 +146104,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -132429,7 +146113,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -132449,12 +146133,12 @@ private void Initialize() } /// - /// replace the specified Role + /// replace the specified RoleBinding /// /// /// /// - /// name of the Role + /// name of the RoleBinding /// /// /// object name and auth scope, such as for teams and projects @@ -132483,7 +146167,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedRole1WithHttpMessagesAsync(V1alpha1Role body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedRoleBinding2WithHttpMessagesAsync(V1beta1RoleBinding body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -132513,11 +146197,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -132600,7 +146284,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -132609,7 +146293,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -132627,7 +146311,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -132647,16 +146331,22 @@ private void Initialize() } /// - /// delete a Role + /// delete a RoleBinding /// /// /// /// - /// name of the Role + /// name of the RoleBinding /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -132703,7 +146393,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedRole1WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedRoleBinding2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -132725,6 +146415,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -132732,14 +146423,18 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -132808,7 +146503,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -132852,6 +146547,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -132860,12 +146573,12 @@ private void Initialize() } /// - /// partially update the specified Role + /// partially update the specified RoleBinding /// /// /// /// - /// name of the Role + /// name of the RoleBinding /// /// /// object name and auth scope, such as for teams and projects @@ -132894,7 +146607,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedRole1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedRoleBinding2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -132920,11 +146633,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -133007,7 +146720,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -133016,7 +146729,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -133036,8 +146749,11 @@ private void Initialize() } /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind Role /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -133045,11 +146761,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -133085,9 +146809,6 @@ private void Initialize() /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -133104,6 +146825,9 @@ private void Initialize() /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -133116,11 +146840,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListRoleBindingForAllNamespaces1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedRole2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -133133,16 +146867,18 @@ private void Initialize() tracingParameters.Add("includeUninitialized", includeUninitialized); tracingParameters.Add("labelSelector", labelSelector); tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListRoleBindingForAllNamespaces1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/rolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) { @@ -133164,10 +146900,6 @@ private void Initialize() { _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } if (resourceVersion != null) { _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); @@ -133180,6 +146912,10 @@ private void Initialize() { _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -133249,7 +146985,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -133258,7 +146994,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -133278,8 +147014,218 @@ private void Initialize() } /// - /// list or watch objects of kind Role + /// create a Role /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateNamespacedRole2WithHttpMessagesAsync(V1beta1Role body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRole2", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// delete collection of Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -133287,11 +147233,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -133327,9 +147281,6 @@ private void Initialize() /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -133346,6 +147297,9 @@ private void Initialize() /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -133358,11 +147312,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListRoleForAllNamespaces1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedRole2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -133375,16 +147339,18 @@ private void Initialize() tracingParameters.Add("includeUninitialized", includeUninitialized); tracingParameters.Add("labelSelector", labelSelector); tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListRoleForAllNamespaces1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/roles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) { @@ -133406,10 +147372,6 @@ private void Initialize() { _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } if (resourceVersion != null) { _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); @@ -133422,6 +147384,10 @@ private void Initialize() { _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -133429,7 +147395,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -133491,7 +147457,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -133500,7 +147466,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -133520,8 +147486,17 @@ private void Initialize() } /// - /// get available resources + /// read the specified Role /// + /// + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -133534,11 +147509,25 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources25WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedRole2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -133546,12 +147535,26 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources25", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -133617,7 +147620,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -133626,7 +147629,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -133646,70 +147649,15 @@ private void Initialize() } /// - /// list or watch objects of kind ClusterRoleBinding + /// replace the specified Role /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// name of the Role /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -133726,11 +147674,33 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListClusterRoleBinding2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedRole2WithHttpMessagesAsync(V1beta1Role body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -133738,54 +147708,19 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListClusterRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) - { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -133797,7 +147732,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -133816,6 +147751,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -133836,7 +147777,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -133859,7 +147800,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -133868,7 +147809,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -133888,10 +147847,44 @@ private void Initialize() } /// - /// create a ClusterRoleBinding + /// delete a Role /// /// /// + /// + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// /// /// If 'true', then the output is pretty printed. /// @@ -133916,15 +147909,19 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateClusterRoleBinding2WithHttpMessagesAsync(V1beta1ClusterRoleBinding body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedRole2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) + if (name == null) { - body.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -133934,14 +147931,38 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -133953,7 +147974,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -133998,7 +148019,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -134021,7 +148042,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -134030,25 +148051,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -134066,7 +148069,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -134086,70 +148089,15 @@ private void Initialize() } /// - /// delete collection of ClusterRoleBinding + /// partially update the specified Role /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// name of the Role /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -134166,11 +148114,29 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionClusterRoleBinding2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedRole2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -134178,54 +148144,19 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) - { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -134237,7 +148168,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -134256,6 +148187,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -134299,7 +148236,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -134308,7 +148245,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -134328,14 +148265,82 @@ private void Initialize() } /// - /// read the specified ClusterRoleBinding + /// list or watch objects of kind RoleBinding /// - /// - /// name of the ClusterRoleBinding + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -134348,21 +148353,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReadClusterRoleBinding2WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListRoleBindingForAllNamespaces2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -134370,20 +148365,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListRoleBindingForAllNamespaces2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/rolebindings").ToString(); List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -134453,7 +148486,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -134462,7 +148495,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -134482,16 +148515,82 @@ private void Initialize() } /// - /// replace the specified ClusterRoleBinding + /// list or watch objects of kind Role /// - /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// name of the ClusterRoleBinding + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -134504,29 +148603,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceClusterRoleBinding2WithHttpMessagesAsync(V1beta1ClusterRoleBinding body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListRoleForAllNamespaces2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -134534,21 +148615,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("includeUninitialized", includeUninitialized); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListRoleForAllNamespaces2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/roles").ToString(); List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (includeUninitialized != null) + { + _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -134556,7 +148674,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -134575,12 +148693,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -134601,7 +148713,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -134624,7 +148736,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -134633,25 +148745,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -134671,38 +148765,8 @@ private void Initialize() } /// - /// delete a ClusterRoleBinding + /// get information of a group /// - /// - /// - /// - /// name of the ClusterRoleBinding - /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -134715,25 +148779,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteClusterRoleBinding2WithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup15WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -134741,44 +148791,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup15", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -134797,12 +148819,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -134846,7 +148862,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -134855,7 +148871,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -134875,16 +148891,8 @@ private void Initialize() } /// - /// partially update the specified ClusterRoleBinding + /// get available resources /// - /// - /// - /// - /// name of the ClusterRoleBinding - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -134897,25 +148905,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> PatchClusterRoleBinding2WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources28WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -134923,29 +148917,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources28", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -134964,12 +148945,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -135013,7 +148988,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -135022,7 +148997,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -135042,7 +149017,7 @@ private void Initialize() } /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind PriorityClass /// /// /// The continue option should be set when retrieving more results from the @@ -135051,11 +149026,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -135125,7 +149108,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListClusterRole2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListPriorityClassWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -135144,11 +149127,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListClusterRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListPriorityClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -135255,7 +149238,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -135264,7 +149247,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -135284,7 +149267,7 @@ private void Initialize() } /// - /// create a ClusterRole + /// create a PriorityClass /// /// /// @@ -135312,7 +149295,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateClusterRole2WithHttpMessagesAsync(V1beta1ClusterRole body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreatePriorityClassWithHttpMessagesAsync(V1alpha1PriorityClass body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -135332,11 +149315,11 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreatePriorityClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses").ToString(); List _queryParameters = new List(); if (pretty != null) { @@ -135417,7 +149400,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -135426,7 +149409,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -135444,7 +149427,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -135462,7 +149445,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -135482,7 +149465,7 @@ private void Initialize() } /// - /// delete collection of ClusterRole + /// delete collection of PriorityClass /// /// /// The continue option should be set when retrieving more results from the @@ -135491,11 +149474,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -135565,7 +149556,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionClusterRole2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionPriorityClassWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -135584,11 +149575,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionPriorityClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -135724,10 +149715,18 @@ private void Initialize() } /// - /// read the specified ClusterRole + /// read the specified PriorityClass /// /// - /// name of the ClusterRole + /// name of the PriorityClass + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. /// /// /// If 'true', then the output is pretty printed. @@ -135753,7 +149752,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadClusterRole2WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadPriorityClassWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -135766,16 +149765,26 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadPriorityClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -135849,7 +149858,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -135858,7 +149867,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -135878,12 +149887,12 @@ private void Initialize() } /// - /// replace the specified ClusterRole + /// replace the specified PriorityClass /// /// /// /// - /// name of the ClusterRole + /// name of the PriorityClass /// /// /// If 'true', then the output is pretty printed. @@ -135909,7 +149918,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceClusterRole2WithHttpMessagesAsync(V1beta1ClusterRole body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplacePriorityClassWithHttpMessagesAsync(V1alpha1PriorityClass body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -135934,11 +149943,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplacePriorityClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (pretty != null) @@ -136020,7 +150029,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -136029,7 +150038,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -136047,7 +150056,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -136067,12 +150076,18 @@ private void Initialize() } /// - /// delete a ClusterRole + /// delete a PriorityClass /// /// /// /// - /// name of the ClusterRole + /// name of the PriorityClass + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -136120,7 +150135,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteClusterRole2WithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeletePriorityClassWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -136138,19 +150153,24 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeletePriorityClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -136219,7 +150239,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -136263,6 +150283,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -136271,12 +150309,12 @@ private void Initialize() } /// - /// partially update the specified ClusterRole + /// partially update the specified PriorityClass /// /// /// /// - /// name of the ClusterRole + /// name of the PriorityClass /// /// /// If 'true', then the output is pretty printed. @@ -136302,7 +150340,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchClusterRole2WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchPriorityClassWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -136323,11 +150361,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchPriorityClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (pretty != null) @@ -136409,7 +150447,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -136418,7 +150456,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -136438,11 +150476,134 @@ private void Initialize() } /// - /// list or watch objects of kind RoleBinding + /// get available resources /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// Headers that will be added to request. /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIResources29WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources29", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// list or watch objects of kind PriorityClass + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -136450,11 +150611,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -136521,21 +150690,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedRoleBinding2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListPriorityClass1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -136551,15 +150710,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListPriorityClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -136666,7 +150823,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -136675,7 +150832,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -136695,13 +150852,10 @@ private void Initialize() } /// - /// create a RoleBinding + /// create a PriorityClass /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// @@ -136726,7 +150880,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedRoleBinding2WithHttpMessagesAsync(V1beta1RoleBinding body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreatePriorityClass1WithHttpMessagesAsync(V1beta1PriorityClass body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -136736,10 +150890,6 @@ private void Initialize() { body.Validate(); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -136748,15 +150898,13 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreatePriorityClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses").ToString(); List _queryParameters = new List(); if (pretty != null) { @@ -136837,7 +150985,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -136846,7 +150994,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -136864,7 +151012,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -136882,7 +151030,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -136902,11 +151050,8 @@ private void Initialize() } /// - /// delete collection of RoleBinding + /// delete collection of PriorityClass /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -136914,11 +151059,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -136985,21 +151138,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedRoleBinding2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionPriorityClass1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -137015,15 +151158,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionPriorityClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -137159,13 +151300,18 @@ private void Initialize() } /// - /// read the specified RoleBinding + /// read the specified PriorityClass /// /// - /// name of the RoleBinding + /// name of the PriorityClass /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. /// /// /// If 'true', then the output is pretty printed. @@ -137191,16 +151337,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedRoleBinding2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadPriorityClass1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -137208,18 +151350,26 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadPriorityClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -137293,7 +151443,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -137302,7 +151452,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -137322,15 +151472,12 @@ private void Initialize() } /// - /// replace the specified RoleBinding + /// replace the specified PriorityClass /// /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// If 'true', then the output is pretty printed. @@ -137356,7 +151503,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedRoleBinding2WithHttpMessagesAsync(V1beta1RoleBinding body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplacePriorityClass1WithHttpMessagesAsync(V1beta1PriorityClass body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -137370,10 +151517,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -137383,16 +151526,14 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplacePriorityClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -137473,7 +151614,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -137482,7 +151623,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -137500,7 +151641,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -137520,15 +151661,18 @@ private void Initialize() } /// - /// delete a RoleBinding + /// delete a PriorityClass /// /// /// /// - /// name of the RoleBinding + /// name of the PriorityClass /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -137576,7 +151720,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedRoleBinding2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeletePriorityClass1WithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -137586,10 +151730,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -137598,21 +151738,24 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeletePriorityClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -137681,6 +151824,191 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// partially update the specified PriorityClass + /// + /// + /// + /// + /// name of the PriorityClass + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchPriorityClass1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PatchPriorityClass1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); @@ -137704,7 +152032,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -137713,7 +152041,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -137733,19 +152061,8 @@ private void Initialize() } /// - /// partially update the specified RoleBinding + /// get information of a group /// - /// - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -137758,29 +152075,137 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedRoleBinding2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup16WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup16", tracingParameters); } - if (name == null) + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } } - if (namespaceParameter == null) + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// get available resources + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIResources30WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -137788,31 +152213,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources30", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -137831,12 +152241,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -137880,7 +152284,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -137889,7 +152293,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -137909,7 +152313,7 @@ private void Initialize() } /// - /// list or watch objects of kind Role + /// list or watch objects of kind PodPreset /// /// /// object name and auth scope, such as for teams and projects @@ -137921,11 +152325,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -138001,7 +152413,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedRole2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedPodPresetWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -138025,11 +152437,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedPodPreset", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) @@ -138137,7 +152549,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -138146,7 +152558,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -138166,7 +152578,7 @@ private void Initialize() } /// - /// create a Role + /// create a PodPreset /// /// /// @@ -138197,7 +152609,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedRole2WithHttpMessagesAsync(V1beta1Role body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedPodPresetWithHttpMessagesAsync(V1alpha1PodPreset body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -138222,11 +152634,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedPodPreset", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) @@ -138308,7 +152720,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -138317,7 +152729,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -138335,7 +152747,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -138353,7 +152765,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -138373,7 +152785,7 @@ private void Initialize() } /// - /// delete collection of Role + /// delete collection of PodPreset /// /// /// object name and auth scope, such as for teams and projects @@ -138385,11 +152797,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -138465,7 +152885,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedRole2WithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedPodPresetWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -138489,11 +152909,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedPodPreset", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (continueParameter != null) @@ -138630,14 +153050,22 @@ private void Initialize() } /// - /// read the specified Role + /// read the specified PodPreset /// /// - /// name of the Role + /// name of the PodPreset /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. + /// /// /// If 'true', then the output is pretty printed. /// @@ -138662,7 +153090,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedRole2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedPodPresetWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -138679,18 +153107,28 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedPodPreset", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -138764,7 +153202,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -138773,7 +153211,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -138793,12 +153231,12 @@ private void Initialize() } /// - /// replace the specified Role + /// replace the specified PodPreset /// /// /// /// - /// name of the Role + /// name of the PodPreset /// /// /// object name and auth scope, such as for teams and projects @@ -138827,7 +153265,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedRole2WithHttpMessagesAsync(V1beta1Role body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedPodPresetWithHttpMessagesAsync(V1alpha1PodPreset body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -138857,11 +153295,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedPodPreset", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -138944,7 +153382,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -138953,7 +153391,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -138971,7 +153409,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -138991,16 +153429,22 @@ private void Initialize() } /// - /// delete a Role + /// delete a PodPreset /// /// /// /// - /// name of the Role + /// name of the PodPreset /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -139047,7 +153491,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedRole2WithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedPodPresetWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -139069,6 +153513,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); @@ -139076,14 +153521,18 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedPodPreset", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -139152,7 +153601,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -139196,6 +153645,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -139204,12 +153671,12 @@ private void Initialize() } /// - /// partially update the specified Role + /// partially update the specified PodPreset /// /// /// /// - /// name of the Role + /// name of the PodPreset /// /// /// object name and auth scope, such as for teams and projects @@ -139238,7 +153705,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedRole2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedPodPresetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -139264,11 +153731,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedPodPreset", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -139351,7 +153818,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -139360,7 +153827,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -139380,7 +153847,7 @@ private void Initialize() } /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind PodPreset /// /// /// The continue option should be set when retrieving more results from the @@ -139389,253 +153856,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListRoleBindingForAllNamespaces2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListRoleBindingForAllNamespaces2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/rolebindings").ToString(); - List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) - { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind Role - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -139705,7 +153938,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListRoleForAllNamespaces2WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListPodPresetForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -139724,11 +153957,11 @@ private void Initialize() tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListRoleForAllNamespaces2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListPodPresetForAllNamespaces", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/roles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/podpresets").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -139835,7 +154068,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -139844,7 +154077,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -139881,7 +154114,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIGroup14WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup17WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -139891,11 +154124,11 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup14", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup17", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -140007,7 +154240,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources26WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources31WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -140017,11 +154250,11 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources26", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources31", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -140116,7 +154349,7 @@ private void Initialize() } /// - /// list or watch objects of kind PriorityClass + /// list or watch objects of kind StorageClass /// /// /// The continue option should be set when retrieving more results from the @@ -140125,11 +154358,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -140199,7 +154440,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListPriorityClassWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListStorageClassWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -140218,11 +154459,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListPriorityClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListStorageClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/storageclasses").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -140329,7 +154570,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -140338,7 +154579,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -140358,7 +154599,7 @@ private void Initialize() } /// - /// create a PriorityClass + /// create a StorageClass /// /// /// @@ -140386,7 +154627,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreatePriorityClassWithHttpMessagesAsync(V1alpha1PriorityClass body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateStorageClassWithHttpMessagesAsync(V1StorageClass body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -140406,11 +154647,11 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreatePriorityClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateStorageClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/storageclasses").ToString(); List _queryParameters = new List(); if (pretty != null) { @@ -140491,7 +154732,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -140500,7 +154741,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -140518,7 +154759,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -140536,7 +154777,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -140556,7 +154797,7 @@ private void Initialize() } /// - /// delete collection of PriorityClass + /// delete collection of StorageClass /// /// /// The continue option should be set when retrieving more results from the @@ -140565,11 +154806,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -140639,7 +154888,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionPriorityClassWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionStorageClassWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -140658,11 +154907,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionPriorityClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionStorageClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/storageclasses").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -140798,10 +155047,10 @@ private void Initialize() } /// - /// read the specified PriorityClass + /// read the specified StorageClass /// /// - /// name of the PriorityClass + /// name of the StorageClass /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -140835,7 +155084,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadPriorityClassWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadStorageClassWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -140853,11 +155102,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadPriorityClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadStorageClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/storageclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (exact != null) @@ -140941,7 +155190,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -140950,7 +155199,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -140970,12 +155219,12 @@ private void Initialize() } /// - /// replace the specified PriorityClass + /// replace the specified StorageClass /// /// /// /// - /// name of the PriorityClass + /// name of the StorageClass /// /// /// If 'true', then the output is pretty printed. @@ -141001,7 +155250,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplacePriorityClassWithHttpMessagesAsync(V1alpha1PriorityClass body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceStorageClassWithHttpMessagesAsync(V1StorageClass body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -141026,11 +155275,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplacePriorityClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceStorageClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/storageclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (pretty != null) @@ -141112,7 +155361,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -141121,7 +155370,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -141139,7 +155388,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -141159,12 +155408,18 @@ private void Initialize() } /// - /// delete a PriorityClass + /// delete a StorageClass /// /// /// /// - /// name of the PriorityClass + /// name of the StorageClass + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -141212,7 +155467,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeletePriorityClassWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteStorageClassWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -141230,19 +155485,24 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeletePriorityClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteStorageClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/storageclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -141311,7 +155571,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -141355,6 +155615,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -141363,12 +155641,12 @@ private void Initialize() } /// - /// partially update the specified PriorityClass + /// partially update the specified StorageClass /// /// /// /// - /// name of the PriorityClass + /// name of the StorageClass /// /// /// If 'true', then the output is pretty printed. @@ -141394,7 +155672,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchPriorityClassWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchStorageClassWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -141415,11 +155693,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchPriorityClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchStorageClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/storageclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (pretty != null) @@ -141501,133 +155779,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get information of a group - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIGroup15WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup15", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -141636,7 +155788,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -141673,7 +155825,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources27WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources32WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -141683,11 +155835,11 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources27", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources32", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1alpha1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -141782,11 +155934,8 @@ private void Initialize() } /// - /// list or watch objects of kind PodPreset + /// list or watch objects of kind VolumeAttachment /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -141794,11 +155943,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -141865,21 +156022,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedPodPresetWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListVolumeAttachmentWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -141895,15 +156042,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedPodPreset", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListVolumeAttachment", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1alpha1/volumeattachments").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -142010,7 +156155,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -142019,7 +156164,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -142039,13 +156184,10 @@ private void Initialize() } /// - /// create a PodPreset + /// create a VolumeAttachment /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// @@ -142070,7 +156212,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedPodPresetWithHttpMessagesAsync(V1alpha1PodPreset body, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateVolumeAttachmentWithHttpMessagesAsync(V1alpha1VolumeAttachment body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -142080,10 +156222,6 @@ private void Initialize() { body.Validate(); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -142092,15 +156230,13 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedPodPreset", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateVolumeAttachment", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1alpha1/volumeattachments").ToString(); List _queryParameters = new List(); if (pretty != null) { @@ -142181,7 +156317,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -142190,7 +156326,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -142208,7 +156344,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -142226,7 +156362,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -142246,11 +156382,8 @@ private void Initialize() } /// - /// delete collection of PodPreset + /// delete collection of VolumeAttachment /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -142258,11 +156391,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -142329,21 +156470,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedPodPresetWithHttpMessagesAsync(string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionVolumeAttachmentWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -142359,15 +156490,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedPodPreset", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionVolumeAttachment", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1alpha1/volumeattachments").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -142503,13 +156632,10 @@ private void Initialize() } /// - /// read the specified PodPreset + /// read the specified VolumeAttachment /// /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the VolumeAttachment /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -142543,16 +156669,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedPodPresetWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadVolumeAttachmentWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -142563,16 +156685,14 @@ private void Initialize() tracingParameters.Add("exact", exact); tracingParameters.Add("export", export); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedPodPreset", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadVolumeAttachment", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1alpha1/volumeattachments/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (exact != null) { @@ -142655,7 +156775,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -142664,7 +156784,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -142684,15 +156804,12 @@ private void Initialize() } /// - /// replace the specified PodPreset + /// replace the specified VolumeAttachment /// /// /// /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the VolumeAttachment /// /// /// If 'true', then the output is pretty printed. @@ -142718,7 +156835,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedPodPresetWithHttpMessagesAsync(V1alpha1PodPreset body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceVolumeAttachmentWithHttpMessagesAsync(V1alpha1VolumeAttachment body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -142732,10 +156849,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -142745,16 +156858,14 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedPodPreset", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceVolumeAttachment", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1alpha1/volumeattachments/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -142835,7 +156946,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -142844,7 +156955,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -142862,7 +156973,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -142882,15 +156993,18 @@ private void Initialize() } /// - /// delete a PodPreset + /// delete a VolumeAttachment /// /// /// /// - /// name of the PodPreset + /// name of the VolumeAttachment /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -142938,7 +157052,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedPodPresetWithHttpMessagesAsync(V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteVolumeAttachmentWithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -142948,10 +157062,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -142960,21 +157070,24 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedPodPreset", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteVolumeAttachment", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1alpha1/volumeattachments/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -143043,425 +157156,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update the specified PodPreset - /// - /// - /// - /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedPodPresetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedPodPreset", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind PodPreset - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListPodPresetForAllNamespacesWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListPodPresetForAllNamespaces", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/podpresets").ToString(); - List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) - { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -143484,7 +157179,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -143493,7 +157188,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -143513,8 +157226,16 @@ private void Initialize() } /// - /// get information of a group + /// partially update the specified VolumeAttachment /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -143527,11 +157248,25 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIGroup16WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchVolumeAttachmentWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -143539,16 +157274,29 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup16", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchVolumeAttachment", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1alpha1/volumeattachments/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -143567,6 +157315,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -143610,7 +157364,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -143619,7 +157373,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -143656,7 +157410,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources28WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources33WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -143666,11 +157420,11 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources28", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources33", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -143774,11 +157528,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -143848,7 +157610,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListStorageClassWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListStorageClass1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -143867,11 +157629,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListStorageClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListStorageClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/storageclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/storageclasses").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -143978,7 +157740,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -143987,7 +157749,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -144035,7 +157797,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateStorageClassWithHttpMessagesAsync(V1StorageClass body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateStorageClass1WithHttpMessagesAsync(V1beta1StorageClass body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -144055,11 +157817,11 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateStorageClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateStorageClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/storageclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/storageclasses").ToString(); List _queryParameters = new List(); if (pretty != null) { @@ -144140,7 +157902,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -144149,7 +157911,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -144167,7 +157929,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -144185,7 +157947,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -144214,11 +157976,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -144288,7 +158058,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionStorageClassWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionStorageClass1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -144307,11 +158077,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionStorageClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionStorageClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/storageclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/storageclasses").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -144484,182 +158254,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadStorageClassWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadStorageClass", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/storageclasses/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace the specified StorageClass - /// - /// - /// - /// - /// name of the StorageClass - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceStorageClassWithHttpMessagesAsync(V1StorageClass body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadStorageClass1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -144671,17 +158267,26 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceStorageClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadStorageClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/storageclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/storageclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -144693,7 +158298,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -144712,12 +158317,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -144738,7 +158337,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -144761,7 +158360,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -144770,25 +158369,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -144808,35 +158389,13 @@ private void Initialize() } /// - /// delete a StorageClass + /// replace the specified StorageClass /// /// /// /// /// name of the StorageClass /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// /// /// If 'true', then the output is pretty printed. /// @@ -144861,12 +158420,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteStorageClassWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceStorageClass1WithHttpMessagesAsync(V1beta1StorageClass body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } + if (body != null) + { + body.Validate(); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -144879,31 +158442,16 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteStorageClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceStorageClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/storageclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/storageclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -144915,7 +158463,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -144960,7 +158508,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -144983,7 +158531,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -144992,7 +158540,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -145012,13 +158578,41 @@ private void Initialize() } /// - /// partially update the specified StorageClass + /// delete a StorageClass /// /// /// /// /// name of the StorageClass /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// /// /// If 'true', then the output is pretty printed. /// @@ -145043,7 +158637,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchStorageClassWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteStorageClass1WithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -145061,16 +158655,36 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchStorageClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteStorageClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/storageclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/storageclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -145082,7 +158696,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -145105,7 +158719,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -145127,7 +158741,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -145150,7 +158764,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -145159,7 +158773,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -145179,8 +158811,16 @@ private void Initialize() } /// - /// get available resources + /// partially update the specified StorageClass /// + /// + /// + /// + /// name of the StorageClass + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -145193,11 +158833,25 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources29WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchStorageClass1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -145205,16 +158859,29 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources29", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchStorageClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1alpha1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/storageclasses/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -145233,6 +158900,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -145276,7 +158949,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -145285,7 +158958,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -145314,11 +158987,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -145388,7 +159069,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListVolumeAttachmentWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListVolumeAttachment1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -145407,11 +159088,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListVolumeAttachment", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListVolumeAttachment1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1alpha1/volumeattachments").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/volumeattachments").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -145518,7 +159199,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -145527,7 +159208,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -145575,7 +159256,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateVolumeAttachmentWithHttpMessagesAsync(V1alpha1VolumeAttachment body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateVolumeAttachment1WithHttpMessagesAsync(V1beta1VolumeAttachment body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -145595,11 +159276,11 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateVolumeAttachment", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateVolumeAttachment1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1alpha1/volumeattachments").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/volumeattachments").ToString(); List _queryParameters = new List(); if (pretty != null) { @@ -145680,7 +159361,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -145689,7 +159370,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -145707,7 +159388,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -145725,7 +159406,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -145754,11 +159435,19 @@ private void Initialize() /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -145828,7 +159517,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionVolumeAttachmentWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionVolumeAttachment1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -145847,11 +159536,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionVolumeAttachment", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionVolumeAttachment1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1alpha1/volumeattachments").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/volumeattachments").ToString(); List _queryParameters = new List(); if (continueParameter != null) { @@ -146024,7 +159713,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadVolumeAttachmentWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadVolumeAttachment1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -146042,11 +159731,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadVolumeAttachment", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadVolumeAttachment1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1alpha1/volumeattachments/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/volumeattachments/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (exact != null) @@ -146130,7 +159819,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -146139,7 +159828,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -146190,7 +159879,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceVolumeAttachmentWithHttpMessagesAsync(V1alpha1VolumeAttachment body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceVolumeAttachment1WithHttpMessagesAsync(V1beta1VolumeAttachment body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -146215,11 +159904,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceVolumeAttachment", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceVolumeAttachment1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1alpha1/volumeattachments/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/volumeattachments/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (pretty != null) @@ -146301,7 +159990,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -146310,7 +159999,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -146328,7 +160017,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -146355,6 +160044,12 @@ private void Initialize() /// /// name of the VolumeAttachment /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -146401,7 +160096,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteVolumeAttachmentWithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteVolumeAttachment1WithHttpMessagesAsync(V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -146419,19 +160114,24 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteVolumeAttachment", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteVolumeAttachment1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1alpha1/volumeattachments/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/volumeattachments/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); @@ -146500,7 +160200,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -146544,6 +160244,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -146583,7 +160301,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchVolumeAttachmentWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchVolumeAttachment1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -146604,11 +160322,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchVolumeAttachment", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchVolumeAttachment1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1alpha1/volumeattachments/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/volumeattachments/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (pretty != null) @@ -146690,7 +160408,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -146699,7 +160417,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -146718,9 +160436,6 @@ private void Initialize() return _result; } - /// - /// get available resources - /// /// /// Headers that will be added to request. /// @@ -146730,205 +160445,10 @@ private void Initialize() /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources30WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources30", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind StorageClass - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListStorageClass1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task LogFileListHandlerWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -146937,62 +160457,12 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListStorageClass1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "LogFileListHandler", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/storageclasses").ToString(); - List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) - { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "logs/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -147035,7 +160505,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -147058,27 +160528,9 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -147086,13 +160538,8 @@ private void Initialize() return _result; } - /// - /// create a StorageClass - /// - /// - /// - /// - /// If 'true', then the output is pretty printed. + /// + /// path to the log /// /// /// Headers that will be added to request. @@ -147103,9 +160550,6 @@ private void Initialize() /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// /// /// Thrown when a required parameter is null /// @@ -147115,15 +160559,11 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateStorageClass1WithHttpMessagesAsync(V1beta1StorageClass body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task LogFileHandlerWithHttpMessagesAsync(string logpath, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) + if (logpath == null) { - body.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "logpath"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -147132,27 +160572,18 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("pretty", pretty); + tracingParameters.Add("logpath", logpath); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateStorageClass1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "LogFileHandler", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/storageclasses").ToString(); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "logs/{logpath}").ToString(); + _url = _url.Replace("{logpath}", System.Uri.EscapeDataString(logpath)); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -147171,12 +160602,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -147197,7 +160622,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -147220,63 +160645,9 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -147285,74 +160656,8 @@ private void Initialize() } /// - /// delete collection of StorageClass + /// get the code version /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -147368,7 +160673,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionStorageClass1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetCodeWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -147377,66 +160682,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionStorageClass1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetCode", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/storageclasses").ToString(); - List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) - { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "version/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -147498,7 +160753,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -147507,7 +160762,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -147527,184 +160782,23 @@ private void Initialize() } /// - /// read the specified StorageClass + /// Creates a namespace scoped Custom object /// - /// - /// name of the StorageClass - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. - /// - /// - /// If 'true', then the output is pretty printed. + /// + /// The JSON schema of the Resource to create. /// - /// - /// Headers that will be added to request. + /// + /// The custom resource's group name /// - /// - /// The cancellation token. + /// + /// The custom resource's version /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadStorageClass1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadStorageClass1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/storageclasses/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace the specified StorageClass - /// - /// + /// + /// The custom resource's namespace /// - /// - /// name of the StorageClass + /// + /// The custom resource's plural name. For TPRs this would be lowercase plural + /// kind. /// /// /// If 'true', then the output is pretty printed. @@ -147730,19 +160824,27 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceStorageClass1WithHttpMessagesAsync(V1beta1StorageClass body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedCustomObjectWithHttpMessagesAsync(object body, string group, string version, string namespaceParameter, string plural, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) + if (group == null) { - body.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "group"); } - if (name == null) + if (version == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); + throw new ValidationException(ValidationRules.CannotBeNull, "version"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + if (plural == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "plural"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -147752,15 +160854,21 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); - tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("group", group); + tracingParameters.Add("version", version); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("plural", plural); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceStorageClass1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedCustomObject", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/storageclasses/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/namespaces/{namespace}/{plural}").ToString(); + _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); + _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); List _queryParameters = new List(); if (pretty != null) { @@ -147773,7 +160881,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -147818,7 +160926,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -147841,34 +160949,16 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -147888,34 +160978,36 @@ private void Initialize() } /// - /// delete a StorageClass + /// list or watch namespace scoped custom objects /// - /// + /// + /// The custom resource's group name /// - /// - /// name of the StorageClass + /// + /// The custom resource's version /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. + /// + /// The custom resource's namespace /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// The custom resource's plural name. For TPRs this would be lowercase plural + /// kind. /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. /// /// /// If 'true', then the output is pretty printed. @@ -147941,15 +161033,23 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteStorageClass1WithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedCustomObjectWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) + if (group == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); + throw new ValidationException(ValidationRules.CannotBeNull, "group"); } - if (name == null) + if (version == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); + throw new ValidationException(ValidationRules.CannotBeNull, "version"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + if (plural == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "plural"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -147958,31 +161058,36 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("group", group); + tracingParameters.Add("version", version); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("plural", plural); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteStorageClass1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedCustomObject", tracingParameters); } // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/storageclasses/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/namespaces/{namespace}/{plural}").ToString(); + _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); + _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); List _queryParameters = new List(); - if (gracePeriodSeconds != null) + if (labelSelector != null) { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); } - if (orphanDependents != null) + if (resourceVersion != null) { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); } - if (propagationPolicy != null) + if (watch != null) { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -147995,7 +161100,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -148014,12 +161119,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -148063,7 +161162,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -148072,7 +161171,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -148092,12 +161191,20 @@ private void Initialize() } /// - /// partially update the specified StorageClass + /// Creates a cluster scoped Custom object /// /// + /// The JSON schema of the Resource to create. /// - /// - /// name of the StorageClass + /// + /// The custom resource's group name + /// + /// + /// The custom resource's version + /// + /// + /// The custom resource's plural name. For TPRs this would be lowercase plural + /// kind. /// /// /// If 'true', then the output is pretty printed. @@ -148123,15 +161230,23 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchStorageClass1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateClusterCustomObjectWithHttpMessagesAsync(object body, string group, string version, string plural, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (name == null) + if (group == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); + throw new ValidationException(ValidationRules.CannotBeNull, "group"); + } + if (version == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "version"); + } + if (plural == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "plural"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -148141,15 +161256,19 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); - tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("group", group); + tracingParameters.Add("version", version); + tracingParameters.Add("plural", plural); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchStorageClass1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateClusterCustomObject", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/storageclasses/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/{plural}").ToString(); + _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); + _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); + _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); List _queryParameters = new List(); if (pretty != null) { @@ -148162,7 +161281,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -148185,7 +161304,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -148207,7 +161326,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -148230,16 +161349,16 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -148259,55 +161378,22 @@ private void Initialize() } /// - /// list or watch objects of kind VolumeAttachment + /// list or watch cluster scoped custom objects /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// + /// The custom resource's group name /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. + /// + /// The custom resource's version /// - /// - /// If true, partially initialized resources are included in the response. + /// + /// The custom resource's plural name. For TPRs this would be lowercase plural + /// kind. /// /// /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -148316,13 +161402,9 @@ private void Initialize() /// return what we currently have in cache, no guarantee; - if set to non zero, /// then the result is at least as fresh as given rv. /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// /// /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// add, update, and remove notifications. /// /// /// If 'true', then the output is pretty printed. @@ -148339,11 +161421,29 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListVolumeAttachment1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListClusterCustomObjectWithHttpMessagesAsync(string group, string version, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (group == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "group"); + } + if (version == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "version"); + } + if (plural == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "plural"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -148351,50 +161451,31 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("group", group); + tracingParameters.Add("version", version); + tracingParameters.Add("plural", plural); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListVolumeAttachment1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListClusterCustomObject", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/volumeattachments").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/{plural}").ToString(); + _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); + _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); + _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) - { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } if (labelSelector != null) { _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } if (resourceVersion != null) { _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } if (watch != null) { _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); @@ -148472,7 +161553,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -148481,7 +161562,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -148501,12 +161582,22 @@ private void Initialize() } /// - /// create a VolumeAttachment + /// replace status of the cluster scoped specified custom object /// /// /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name /// /// /// Headers that will be added to request. @@ -148529,15 +161620,27 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateVolumeAttachment1WithHttpMessagesAsync(V1beta1VolumeAttachment body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceClusterCustomObjectStatusWithHttpMessagesAsync(object body, string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) + if (group == null) { - body.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "group"); + } + if (version == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "version"); + } + if (plural == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "plural"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -148547,26 +161650,24 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); - tracingParameters.Add("pretty", pretty); + tracingParameters.Add("group", group); + tracingParameters.Add("version", version); + tracingParameters.Add("plural", plural); + tracingParameters.Add("name", name); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateVolumeAttachment1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterCustomObjectStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/volumeattachments").ToString(); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/{plural}/{name}/status").ToString(); + _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); + _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); + _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -148611,7 +161712,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -148634,7 +161735,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -148643,7 +161744,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -148661,25 +161762,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -148699,73 +161782,22 @@ private void Initialize() } /// - /// delete collection of VolumeAttachment + /// partially update status of the specified cluster scoped custom object /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// + /// the custom resource's group /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// the custom resource's version /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom object's name /// /// /// Headers that will be added to request. @@ -148779,78 +161811,63 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionVolumeAttachment1WithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchClusterCustomObjectStatusWithHttpMessagesAsync(object body, string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("includeUninitialized", includeUninitialized); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionVolumeAttachment1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/volumeattachments").ToString(); - List _queryParameters = new List(); - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (includeUninitialized != null) - { - _queryParameters.Add(string.Format("includeUninitialized={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(includeUninitialized, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) + if (body == null) { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (resourceVersion != null) + if (group == null) { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + throw new ValidationException(ValidationRules.CannotBeNull, "group"); } - if (timeoutSeconds != null) + if (version == null) { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + throw new ValidationException(ValidationRules.CannotBeNull, "version"); } - if (watch != null) + if (plural == null) { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + throw new ValidationException(ValidationRules.CannotBeNull, "plural"); } - if (pretty != null) + if (name == null) { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (_queryParameters.Count > 0) + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) { - _url += "?" + string.Join("&", _queryParameters); + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("group", group); + tracingParameters.Add("version", version); + tracingParameters.Add("plural", plural); + tracingParameters.Add("name", name); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PatchClusterCustomObjectStatus", tracingParameters); } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/{plural}/{name}/status").ToString(); + _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); + _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); + _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -148869,6 +161886,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/merge-patch+json"); + } // Set Credentials if (Credentials != null) { @@ -148912,7 +161935,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -148921,7 +161944,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -148941,21 +161964,20 @@ private void Initialize() } /// - /// read the specified VolumeAttachment + /// read status of the specified cluster scoped custom object /// - /// - /// name of the VolumeAttachment + /// + /// the custom resource's group /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. + /// + /// the custom resource's version /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom object's name /// /// /// Headers that will be added to request. @@ -148978,8 +162000,20 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadVolumeAttachment1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetClusterCustomObjectStatusWithHttpMessagesAsync(string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (group == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "group"); + } + if (version == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "version"); + } + if (plural == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "plural"); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -148991,34 +162025,20 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); + tracingParameters.Add("group", group); + tracingParameters.Add("version", version); + tracingParameters.Add("plural", plural); tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadVolumeAttachment1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetClusterCustomObjectStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/volumeattachments/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/{plural}/{name}/status").ToString(); + _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); + _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); + _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -149084,7 +162104,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -149093,7 +162113,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -149113,15 +162133,26 @@ private void Initialize() } /// - /// replace the specified VolumeAttachment + /// replace the specified namespace scoped custom object /// /// + /// The JSON schema of the Resource to replace. /// - /// - /// name of the VolumeAttachment + /// + /// the custom resource's group /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name /// /// /// Headers that will be added to request. @@ -149144,15 +162175,27 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceVolumeAttachment1WithHttpMessagesAsync(V1beta1VolumeAttachment body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedCustomObjectWithHttpMessagesAsync(object body, string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) + if (group == null) { - body.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "group"); + } + if (version == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "version"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + if (plural == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "plural"); } if (name == null) { @@ -149166,24 +162209,22 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("group", group); + tracingParameters.Add("version", version); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("plural", plural); tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceVolumeAttachment1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedCustomObject", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/volumeattachments/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}").ToString(); + _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); + _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -149232,7 +162273,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -149255,7 +162296,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -149264,25 +162305,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -149302,37 +162325,26 @@ private void Initialize() } /// - /// delete a VolumeAttachment + /// patch the specified namespace scoped custom object /// /// + /// The JSON schema of the Resource to patch. /// - /// - /// name of the VolumeAttachment + /// + /// the custom resource's group /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. + /// + /// the custom resource's version /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// The custom resource's namespace /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom object's name /// /// /// Headers that will be added to request. @@ -149355,12 +162367,28 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteVolumeAttachment1WithHttpMessagesAsync(V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedCustomObjectWithHttpMessagesAsync(object body, string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } + if (group == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "group"); + } + if (version == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "version"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + if (plural == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "plural"); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -149373,43 +162401,26 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("group", group); + tracingParameters.Add("version", version); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("plural", plural); tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteVolumeAttachment1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedCustomObject", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/volumeattachments/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}").ToString(); + _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); + _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -149432,7 +162443,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/merge-patch+json"); } // Set Credentials if (Credentials != null) @@ -149477,7 +162488,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -149486,7 +162497,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -149506,15 +162517,44 @@ private void Initialize() } /// - /// partially update the specified VolumeAttachment + /// Deletes the specified namespace scoped custom object /// /// /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// /// - /// name of the VolumeAttachment + /// the custom object's name /// - /// - /// If 'true', then the output is pretty printed. + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. /// /// /// Headers that will be added to request. @@ -149537,12 +162577,28 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchVolumeAttachment1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedCustomObjectWithHttpMessagesAsync(V1DeleteOptions body, string group, string version, string namespaceParameter, string plural, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } + if (group == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "group"); + } + if (version == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "version"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + if (plural == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "plural"); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -149555,19 +162611,37 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("group", group); + tracingParameters.Add("version", version); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("plural", plural); tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchVolumeAttachment1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedCustomObject", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1beta1/volumeattachments/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}").ToString(); + _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); + _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); - if (pretty != null) + if (gracePeriodSeconds != null) { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); } if (_queryParameters.Count > 0) { @@ -149576,7 +162650,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -149599,7 +162673,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -149644,7 +162718,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -149653,7 +162727,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -149672,6 +162746,25 @@ private void Initialize() return _result; } + /// + /// Returns a namespace scoped custom object + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name + /// /// /// Headers that will be added to request. /// @@ -149681,11 +162774,40 @@ private void Initialize() /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task LogFileListHandlerWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetNamespacedCustomObjectWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (group == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "group"); + } + if (version == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "version"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + if (plural == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "plural"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -149693,12 +162815,22 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("group", group); + tracingParameters.Add("version", version); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("plural", plural); + tracingParameters.Add("name", name); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "LogFileListHandler", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetNamespacedCustomObject", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "logs/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}").ToString(); + _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); + _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -149741,7 +162873,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -149764,9 +162896,27 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -149774,8 +162924,26 @@ private void Initialize() return _result; } - /// - /// path to the log + /// + /// replace scale of the specified namespace scoped custom object + /// + /// + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name /// /// /// Headers that will be added to request. @@ -149786,6 +162954,9 @@ private void Initialize() /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// /// /// Thrown when a required parameter is null /// @@ -149795,122 +162966,32 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task LogFileHandlerWithHttpMessagesAsync(string logpath, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedCustomObjectScaleWithHttpMessagesAsync(object body, string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (logpath == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "logpath"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("logpath", logpath); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "LogFileHandler", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "logs/{logpath}").ToString(); - _url = _url.Replace("{logpath}", System.Uri.EscapeDataString(logpath)); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) + if (body == null) { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } + throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) + if (group == null) { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + throw new ValidationException(ValidationRules.CannotBeNull, "group"); } - // Send Request - if (_shouldTrace) + if (version == null) { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + throw new ValidationException(ValidationRules.CannotBeNull, "version"); } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) + if (namespaceParameter == null) { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 401) + if (plural == null) { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; + throw new ValidationException(ValidationRules.CannotBeNull, "plural"); } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_shouldTrace) + if (name == null) { - ServiceClientTracing.Exit(_invocationId, _result); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - return _result; - } - - /// - /// get the code version - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetCodeWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -149918,16 +162999,27 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("group", group); + tracingParameters.Add("version", version); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("plural", plural); + tracingParameters.Add("name", name); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetCode", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedCustomObjectScale", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "version/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale").ToString(); + _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); + _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -149946,6 +163038,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -149966,7 +163064,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -149989,7 +163087,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -149998,7 +163096,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -150018,23 +163134,25 @@ private void Initialize() } /// - /// Creates a cluster scoped Custom object + /// partially update scale of the specified namespace scoped custom object /// /// - /// The JSON schema of the Resource to create. /// /// - /// The custom resource's group name + /// the custom resource's group /// /// - /// The custom resource's version + /// the custom resource's version + /// + /// + /// The custom resource's namespace /// /// - /// The custom resource's plural name. For TPRs this would be lowercase plural + /// the custom resource's plural name. For TPRs this would be lowercase plural /// kind. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom object's name /// /// /// Headers that will be added to request. @@ -150057,7 +163175,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateClusterCustomObjectWithHttpMessagesAsync(object body, string group, string version, string plural, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedCustomObjectScaleWithHttpMessagesAsync(object body, string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -150071,10 +163189,18 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "version"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } if (plural == null) { throw new ValidationException(ValidationRules.CannotBeNull, "plural"); } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -150083,32 +163209,26 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("group", group); tracingParameters.Add("version", version); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("plural", plural); + tracingParameters.Add("name", name); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateClusterCustomObject", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedCustomObjectScale", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/{plural}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale").ToString(); _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -150131,7 +163251,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/merge-patch+json"); } // Set Credentials if (Credentials != null) @@ -150153,7 +163273,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -150180,7 +163300,7 @@ private void Initialize() _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -150205,36 +163325,23 @@ private void Initialize() } /// - /// list or watch cluster scoped custom objects + /// read scale of the specified namespace scoped custom object /// /// - /// The custom resource's group name + /// the custom resource's group /// /// - /// The custom resource's version + /// the custom resource's version + /// + /// + /// The custom resource's namespace /// /// - /// The custom resource's plural name. For TPRs this would be lowercase plural + /// the custom resource's plural name. For TPRs this would be lowercase plural /// kind. /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. - /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom object's name /// /// /// Headers that will be added to request. @@ -150257,7 +163364,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListClusterCustomObjectWithHttpMessagesAsync(string group, string version, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetNamespacedCustomObjectScaleWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (group == null) { @@ -150267,10 +163374,18 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "version"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } if (plural == null) { throw new ValidationException(ValidationRules.CannotBeNull, "plural"); } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -150278,43 +163393,22 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("watch", watch); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("group", group); tracingParameters.Add("version", version); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("plural", plural); + tracingParameters.Add("name", name); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListClusterCustomObject", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetNamespacedCustomObjectScale", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/{plural}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale").ToString(); _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); - List _queryParameters = new List(); - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -150409,26 +163503,22 @@ private void Initialize() } /// - /// Creates a namespace scoped Custom object + /// replace scale of the specified cluster scoped custom object /// /// - /// The JSON schema of the Resource to create. /// /// - /// The custom resource's group name + /// the custom resource's group /// /// - /// The custom resource's version - /// - /// - /// The custom resource's namespace + /// the custom resource's version /// /// - /// The custom resource's plural name. For TPRs this would be lowercase plural + /// the custom resource's plural name. For TPRs this would be lowercase plural /// kind. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom object's name /// /// /// Headers that will be added to request. @@ -150451,7 +163541,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedCustomObjectWithHttpMessagesAsync(object body, string group, string version, string namespaceParameter, string plural, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceClusterCustomObjectScaleWithHttpMessagesAsync(object body, string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -150465,14 +163555,14 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "version"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } if (plural == null) { throw new ValidationException(ValidationRules.CannotBeNull, "plural"); } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -150481,34 +163571,24 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("group", group); tracingParameters.Add("version", version); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("plural", plural); + tracingParameters.Add("name", name); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedCustomObject", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterCustomObjectScale", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/namespaces/{namespace}/{plural}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/{plural}/{name}/scale").ToString(); _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -150553,7 +163633,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -150580,6 +163660,24 @@ private void Initialize() _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -150605,39 +163703,22 @@ private void Initialize() } /// - /// list or watch namespace scoped custom objects + /// partially update scale of the specified cluster scoped custom object /// + /// + /// /// - /// The custom resource's group name + /// the custom resource's group /// /// - /// The custom resource's version - /// - /// - /// The custom resource's namespace + /// the custom resource's version /// /// - /// The custom resource's plural name. For TPRs this would be lowercase plural + /// the custom resource's plural name. For TPRs this would be lowercase plural /// kind. /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. - /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom object's name /// /// /// Headers that will be added to request. @@ -150660,8 +163741,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedCustomObjectWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchClusterCustomObjectScaleWithHttpMessagesAsync(object body, string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } if (group == null) { throw new ValidationException(ValidationRules.CannotBeNull, "group"); @@ -150670,14 +163755,14 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "version"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } if (plural == null) { throw new ValidationException(ValidationRules.CannotBeNull, "plural"); } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -150685,49 +163770,25 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("watch", watch); - tracingParameters.Add("pretty", pretty); + tracingParameters.Add("body", body); tracingParameters.Add("group", group); tracingParameters.Add("version", version); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("plural", plural); + tracingParameters.Add("name", name); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedCustomObject", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchClusterCustomObjectScale", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/namespaces/{namespace}/{plural}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/{plural}/{name}/scale").ToString(); _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); - List _queryParameters = new List(); - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -150746,6 +163807,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/merge-patch+json"); + } // Set Credentials if (Credentials != null) { @@ -150818,11 +163885,8 @@ private void Initialize() } /// - /// replace the specified cluster scoped custom object + /// read scale of the specified custom object /// - /// - /// The JSON schema of the Resource to replace. - /// /// /// the custom resource's group /// @@ -150830,7 +163894,7 @@ private void Initialize() /// the custom resource's version /// /// - /// the custom object's plural name. For TPRs this would be lowercase plural + /// the custom resource's plural name. For TPRs this would be lowercase plural /// kind. /// /// @@ -150857,12 +163921,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceClusterCustomObjectWithHttpMessagesAsync(object body, string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetClusterCustomObjectScaleWithHttpMessagesAsync(string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } if (group == null) { throw new ValidationException(ValidationRules.CannotBeNull, "group"); @@ -150886,17 +163946,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); tracingParameters.Add("group", group); tracingParameters.Add("version", version); tracingParameters.Add("plural", plural); tracingParameters.Add("name", name); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterCustomObject", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetClusterCustomObjectScale", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/{plural}/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/{plural}/{name}/scale").ToString(); _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); @@ -150904,7 +163963,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -150923,12 +163982,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -151001,10 +164054,10 @@ private void Initialize() } /// - /// patch the specified cluster scoped custom object + /// replace the specified cluster scoped custom object /// /// - /// The JSON schema of the Resource to patch. + /// The JSON schema of the Resource to replace. /// /// /// the custom resource's group @@ -151040,7 +164093,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchClusterCustomObjectWithHttpMessagesAsync(object body, string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceClusterCustomObjectWithHttpMessagesAsync(object body, string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -151075,7 +164128,7 @@ private void Initialize() tracingParameters.Add("plural", plural); tracingParameters.Add("name", name); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchClusterCustomObject", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterCustomObject", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -151087,7 +164140,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -151110,7 +164163,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/merge-patch+json"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -151184,9 +164237,10 @@ private void Initialize() } /// - /// Deletes the specified cluster scoped custom object + /// patch the specified cluster scoped custom object /// /// + /// The JSON schema of the Resource to patch. /// /// /// the custom resource's group @@ -151201,25 +164255,6 @@ private void Initialize() /// /// the custom object's name /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. - /// /// /// Headers that will be added to request. /// @@ -151241,7 +164276,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteClusterCustomObjectWithHttpMessagesAsync(V1DeleteOptions body, string group, string version, string plural, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchClusterCustomObjectWithHttpMessagesAsync(object body, string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -151271,15 +164306,12 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("group", group); tracingParameters.Add("version", version); tracingParameters.Add("plural", plural); tracingParameters.Add("name", name); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterCustomObject", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchClusterCustomObject", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -151288,27 +164320,10 @@ private void Initialize() _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -151331,7 +164346,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/merge-patch+json"); } // Set Credentials if (Credentials != null) @@ -151405,8 +164420,10 @@ private void Initialize() } /// - /// Returns a cluster scoped custom object + /// Deletes the specified cluster scoped custom object /// + /// + /// /// /// the custom resource's group /// @@ -151420,6 +164437,25 @@ private void Initialize() /// /// the custom object's name /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. + /// /// /// Headers that will be added to request. /// @@ -151441,8 +164477,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> GetClusterCustomObjectWithHttpMessagesAsync(string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteClusterCustomObjectWithHttpMessagesAsync(V1DeleteOptions body, string group, string version, string plural, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } if (group == null) { throw new ValidationException(ValidationRules.CannotBeNull, "group"); @@ -151466,12 +164506,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("group", group); tracingParameters.Add("version", version); tracingParameters.Add("plural", plural); tracingParameters.Add("name", name); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetClusterCustomObject", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterCustomObject", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -151480,10 +164524,27 @@ private void Initialize() _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -151502,6 +164563,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -151574,22 +164641,16 @@ private void Initialize() } /// - /// replace the specified namespace scoped custom object + /// Returns a cluster scoped custom object /// - /// - /// The JSON schema of the Resource to replace. - /// /// /// the custom resource's group /// /// /// the custom resource's version /// - /// - /// The custom resource's namespace - /// /// - /// the custom resource's plural name. For TPRs this would be lowercase plural + /// the custom object's plural name. For TPRs this would be lowercase plural /// kind. /// /// @@ -151616,12 +164677,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedCustomObjectWithHttpMessagesAsync(object body, string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetClusterCustomObjectWithHttpMessagesAsync(string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } if (group == null) { throw new ValidationException(ValidationRules.CannotBeNull, "group"); @@ -151630,10 +164687,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "version"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } if (plural == null) { throw new ValidationException(ValidationRules.CannotBeNull, "plural"); @@ -151649,27 +164702,24 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); tracingParameters.Add("group", group); tracingParameters.Add("version", version); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("plural", plural); tracingParameters.Add("name", name); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedCustomObject", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetClusterCustomObject", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/{plural}/{name}").ToString(); _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -151688,12 +164738,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -151766,10 +164810,9 @@ private void Initialize() } /// - /// patch the specified namespace scoped custom object + /// replace status of the specified namespace scoped custom object /// /// - /// The JSON schema of the Resource to patch. /// /// /// the custom resource's group @@ -151808,7 +164851,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedCustomObjectWithHttpMessagesAsync(object body, string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedCustomObjectStatusWithHttpMessagesAsync(object body, string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -151848,11 +164891,11 @@ private void Initialize() tracingParameters.Add("plural", plural); tracingParameters.Add("name", name); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedCustomObject", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedCustomObjectStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status").ToString(); _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); @@ -151861,7 +164904,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -151884,7 +164927,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/merge-patch+json"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -151906,7 +164949,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -151950,6 +164993,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -151958,7 +165019,7 @@ private void Initialize() } /// - /// Deletes the specified namespace scoped custom object + /// partially update status of the specified namespace scoped custom object /// /// /// @@ -151978,25 +165039,6 @@ private void Initialize() /// /// the custom object's name /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. - /// /// /// Headers that will be added to request. /// @@ -152018,7 +165060,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedCustomObjectWithHttpMessagesAsync(V1DeleteOptions body, string group, string version, string namespaceParameter, string plural, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedCustomObjectStatusWithHttpMessagesAsync(object body, string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -152052,46 +165094,26 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("group", group); tracingParameters.Add("version", version); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("plural", plural); tracingParameters.Add("name", name); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedCustomObject", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedCustomObjectStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status").ToString(); _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -152114,7 +165136,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/merge-patch+json"); } // Set Credentials if (Credentials != null) @@ -152188,7 +165210,7 @@ private void Initialize() } /// - /// Returns a namespace scoped custom object + /// read status of the specified namespace scoped custom object /// /// /// the custom resource's group @@ -152227,7 +165249,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> GetNamespacedCustomObjectWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetNamespacedCustomObjectStatusWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (group == null) { @@ -152262,11 +165284,11 @@ private void Initialize() tracingParameters.Add("plural", plural); tracingParameters.Add("name", name); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetNamespacedCustomObject", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetNamespacedCustomObjectStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status").ToString(); _url = _url.Replace("{group}", System.Uri.EscapeDataString(group)); _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); diff --git a/src/KubernetesClient/generated/KubernetesExtensions.cs b/src/KubernetesClient/generated/KubernetesExtensions.cs index 6a5574ea1..fa90e9f69 100644 --- a/src/KubernetesClient/generated/KubernetesExtensions.cs +++ b/src/KubernetesClient/generated/KubernetesExtensions.cs @@ -85,11 +85,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -162,11 +170,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -285,11 +301,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -362,11 +386,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -445,11 +477,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -522,11 +562,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -605,11 +653,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -682,11 +738,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -765,11 +829,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -842,11 +914,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -925,11 +1005,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -1002,11 +1090,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -1170,11 +1266,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -1250,11 +1354,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -1380,11 +1492,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -1460,11 +1580,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -1656,6 +1784,12 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -1681,9 +1815,9 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedConfigMap(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedConfigMap(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedConfigMapAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedConfigMapAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -1700,6 +1834,12 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -1728,9 +1868,9 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedConfigMapAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedConfigMapAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedConfigMapWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedConfigMapWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -1802,11 +1942,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -1882,11 +2030,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -2012,11 +2168,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -2092,11 +2256,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -2288,6 +2460,12 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -2313,9 +2491,9 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedEndpoints(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedEndpoints(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedEndpointsAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedEndpointsAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -2332,6 +2510,12 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -2360,9 +2544,9 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedEndpointsAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedEndpointsAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedEndpointsWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedEndpointsWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -2434,11 +2618,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -2514,11 +2706,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -2644,11 +2844,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -2724,11 +2932,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -2920,6 +3136,12 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -2945,9 +3167,9 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedEvent(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedEvent(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedEventAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedEventAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -2964,6 +3186,12 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -2992,9 +3220,9 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedEventAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedEventAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedEventWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedEventWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -3066,11 +3294,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -3146,11 +3382,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -3276,11 +3520,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -3356,11 +3608,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -3552,6 +3812,12 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -3577,9 +3843,9 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedLimitRange(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedLimitRange(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedLimitRangeAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedLimitRangeAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -3596,6 +3862,12 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -3624,9 +3896,9 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedLimitRangeAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedLimitRangeAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedLimitRangeWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedLimitRangeWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -3698,11 +3970,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -3778,11 +4058,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -3908,11 +4196,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -3988,11 +4284,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -4184,6 +4488,12 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -4209,9 +4519,9 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedPersistentVolumeClaim(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedPersistentVolumeClaim(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedPersistentVolumeClaimAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedPersistentVolumeClaimAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -4228,6 +4538,12 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -4256,9 +4572,9 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedPersistentVolumeClaimAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedPersistentVolumeClaimAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedPersistentVolumeClaimWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedPersistentVolumeClaimWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -4476,11 +4792,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -4556,11 +4880,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -4686,11 +5018,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -4766,11 +5106,19 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -4962,6 +5310,12 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -4987,9 +5341,9 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedPod(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedPod(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedPodAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedPodAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -5006,6 +5360,12 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -5034,9 +5394,9 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedPodAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedPodAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedPodWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedPodWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -5099,7 +5459,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodAttachOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5137,7 +5497,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodAttachOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5181,7 +5541,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodAttachOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5219,7 +5579,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodAttachOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5363,7 +5723,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodExecOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5404,7 +5764,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodExecOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5451,7 +5811,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodExecOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5492,7 +5852,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodExecOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5644,7 +6004,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodPortForwardOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5664,7 +6024,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodPortForwardOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5690,7 +6050,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodPortForwardOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5710,7 +6070,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodPortForwardOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5736,7 +6096,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5756,7 +6116,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5782,7 +6142,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5802,7 +6162,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5828,7 +6188,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5848,7 +6208,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5874,7 +6234,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5894,7 +6254,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5920,7 +6280,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5940,7 +6300,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5966,7 +6326,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -5986,7 +6346,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -6012,7 +6372,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -6035,7 +6395,7 @@ public static string ConnectGetNamespacedPodProxyWithPath(this IKubernetes opera /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -6064,7 +6424,7 @@ public static string ConnectGetNamespacedPodProxyWithPath(this IKubernetes opera /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -6087,7 +6447,7 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -6116,7 +6476,7 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -6139,7 +6499,7 @@ public static string ConnectPostNamespacedPodProxyWithPath(this IKubernetes oper /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -6168,7 +6528,7 @@ public static string ConnectPostNamespacedPodProxyWithPath(this IKubernetes oper /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -6191,7 +6551,7 @@ public static string ConnectDeleteNamespacedPodProxyWithPath(this IKubernetes op /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -6220,7 +6580,7 @@ public static string ConnectDeleteNamespacedPodProxyWithPath(this IKubernetes op /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -6243,7 +6603,7 @@ public static string ConnectHeadNamespacedPodProxyWithPath(this IKubernetes oper /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -6272,7 +6632,7 @@ public static string ConnectHeadNamespacedPodProxyWithPath(this IKubernetes oper /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -6295,7 +6655,7 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// The operations group for this extension method. /// /// - /// name of the Pod + /// name of the PodProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -6479,11 +6839,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -6559,11 +6927,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -6689,11 +7065,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -6769,11 +7153,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -6965,6 +7357,12 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -6990,9 +7388,9 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedPodTemplate(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedPodTemplate(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedPodTemplateAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedPodTemplateAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -7009,6 +7407,12 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -7037,9 +7441,9 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// The cancellation token. /// - public static async Task DeleteNamespacedPodTemplateAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedPodTemplateAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedPodTemplateWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedPodTemplateWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -7111,11 +7515,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -7191,11 +7603,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -7321,11 +7741,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -7401,11 +7829,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -7597,6 +8033,12 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -7622,9 +8064,9 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedReplicationController(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedReplicationController(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedReplicationControllerAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedReplicationControllerAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -7641,6 +8083,12 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -7669,9 +8117,9 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// The cancellation token. /// - public static async Task DeleteNamespacedReplicationControllerAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedReplicationControllerAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedReplicationControllerWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedReplicationControllerWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -8035,11 +8483,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -8115,11 +8571,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -8245,11 +8709,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -8325,11 +8797,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -8521,6 +9001,12 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -8546,9 +9032,9 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedResourceQuota(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedResourceQuota(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedResourceQuotaAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedResourceQuotaAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -8565,6 +9051,12 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -8593,9 +9085,9 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// The cancellation token. /// - public static async Task DeleteNamespacedResourceQuotaAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedResourceQuotaAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedResourceQuotaWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedResourceQuotaWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -8813,11 +9305,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -8893,11 +9393,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -9023,11 +9531,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -9103,11 +9619,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -9299,6 +9823,12 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -9324,9 +9854,9 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedSecret(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedSecret(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedSecretAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedSecretAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -9343,6 +9873,12 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -9371,9 +9907,9 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// The cancellation token. /// - public static async Task DeleteNamespacedSecretAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedSecretAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedSecretWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedSecretWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -9445,11 +9981,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -9525,11 +10069,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -9655,11 +10207,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -9735,11 +10295,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -9931,6 +10499,12 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -9956,9 +10530,9 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedServiceAccount(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedServiceAccount(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedServiceAccountAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedServiceAccountAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -9975,6 +10549,12 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -10003,9 +10583,9 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// The cancellation token. /// - public static async Task DeleteNamespacedServiceAccountAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedServiceAccountAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedServiceAccountWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedServiceAccountWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -10077,11 +10657,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -10157,11 +10745,19 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -10397,6 +10993,12 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -10422,9 +11024,9 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedService(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedService(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedServiceAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedServiceAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -10441,6 +11043,12 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -10469,9 +11077,9 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// /// The cancellation token. /// - public static async Task DeleteNamespacedServiceAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedServiceAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedServiceWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedServiceWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -10534,7 +11142,7 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -10558,7 +11166,7 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -10588,7 +11196,7 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -10612,7 +11220,7 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -10642,7 +11250,7 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -10666,7 +11274,7 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -10696,7 +11304,7 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -10720,7 +11328,7 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -10750,7 +11358,7 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -10774,7 +11382,7 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -10804,7 +11412,7 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -10828,7 +11436,7 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -10858,7 +11466,7 @@ public static string ConnectPatchNamespacedPodProxyWithPath(this IKubernetes ope /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -10885,7 +11493,7 @@ public static string ConnectGetNamespacedServiceProxyWithPath(this IKubernetes o /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -10918,7 +11526,7 @@ public static string ConnectGetNamespacedServiceProxyWithPath(this IKubernetes o /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -10945,7 +11553,7 @@ public static string ConnectPutNamespacedServiceProxyWithPath(this IKubernetes o /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -10978,7 +11586,7 @@ public static string ConnectPutNamespacedServiceProxyWithPath(this IKubernetes o /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -11005,7 +11613,7 @@ public static string ConnectPostNamespacedServiceProxyWithPath(this IKubernetes /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -11038,7 +11646,7 @@ public static string ConnectPostNamespacedServiceProxyWithPath(this IKubernetes /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -11065,7 +11673,7 @@ public static string ConnectDeleteNamespacedServiceProxyWithPath(this IKubernete /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -11098,7 +11706,7 @@ public static string ConnectDeleteNamespacedServiceProxyWithPath(this IKubernete /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -11125,7 +11733,7 @@ public static string ConnectHeadNamespacedServiceProxyWithPath(this IKubernetes /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -11158,7 +11766,7 @@ public static string ConnectHeadNamespacedServiceProxyWithPath(this IKubernetes /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -11185,7 +11793,7 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// The operations group for this extension method. /// /// - /// name of the Service + /// name of the ServiceProxyOptions /// /// /// object name and auth scope, such as for teams and projects @@ -11468,6 +12076,12 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// /// name of the Namespace /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -11493,9 +12107,9 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespace(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespace(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespaceAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespaceAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -11509,6 +12123,12 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// /// name of the Namespace /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -11537,9 +12157,9 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// /// The cancellation token. /// - public static async Task DeleteNamespaceAsync(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespaceAsync(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespaceWithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespaceWithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -11774,11 +12394,19 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -11851,11 +12479,19 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -11972,11 +12608,19 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -12049,11 +12693,19 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -12230,6 +12882,12 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// /// name of the Node /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -12255,9 +12913,9 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNode(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNode(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNodeAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNodeAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -12271,6 +12929,12 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// /// name of the Node /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -12299,9 +12963,9 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// /// The cancellation token. /// - public static async Task DeleteNodeAsync(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNodeAsync(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNodeWithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNodeWithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -12358,7 +13022,7 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -12375,7 +13039,7 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -12398,7 +13062,7 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -12415,7 +13079,7 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -12438,7 +13102,7 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -12455,7 +13119,7 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -12478,7 +13142,7 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -12495,7 +13159,7 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -12518,7 +13182,7 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -12535,7 +13199,7 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -12558,7 +13222,7 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -12575,7 +13239,7 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// Path is the URL path to use for the current proxy request to node. @@ -12598,7 +13262,7 @@ public static string ConnectPatchNamespacedServiceProxyWithPath(this IKubernetes /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -12618,7 +13282,7 @@ public static string ConnectGetNodeProxyWithPath(this IKubernetes operations, st /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -12644,7 +13308,7 @@ public static string ConnectGetNodeProxyWithPath(this IKubernetes operations, st /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -12664,7 +13328,7 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -12690,7 +13354,7 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -12710,7 +13374,7 @@ public static string ConnectPostNodeProxyWithPath(this IKubernetes operations, s /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -12736,7 +13400,7 @@ public static string ConnectPostNodeProxyWithPath(this IKubernetes operations, s /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -12756,7 +13420,7 @@ public static string ConnectDeleteNodeProxyWithPath(this IKubernetes operations, /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -12782,7 +13446,7 @@ public static string ConnectDeleteNodeProxyWithPath(this IKubernetes operations, /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -12802,7 +13466,7 @@ public static string ConnectHeadNodeProxyWithPath(this IKubernetes operations, s /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -12828,7 +13492,7 @@ public static string ConnectHeadNodeProxyWithPath(this IKubernetes operations, s /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -12848,7 +13512,7 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// The operations group for this extension method. /// /// - /// name of the Node + /// name of the NodeProxyOptions /// /// /// path to the resource @@ -13008,11 +13672,19 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -13085,11 +13757,19 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -13168,11 +13848,19 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -13245,11 +13933,19 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -13366,11 +14062,19 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -13443,11 +14147,19 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -13624,6 +14336,12 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// /// name of the PersistentVolume /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -13649,9 +14367,9 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeletePersistentVolume(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeletePersistentVolume(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeletePersistentVolumeAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeletePersistentVolumeAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -13665,6 +14383,12 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// /// name of the PersistentVolume /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -13693,9 +14417,9 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// /// The cancellation token. /// - public static async Task DeletePersistentVolumeAsync(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeletePersistentVolumeAsync(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeletePersistentVolumeWithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeletePersistentVolumeWithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -13886,11 +14610,19 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -13963,11 +14695,19 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -14046,11 +14786,19 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -14123,11 +14871,19 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -14206,88 +14962,104 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - public static V1ReplicationControllerList ListReplicationControllerForAllNamespaces(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) - { - return operations.ListReplicationControllerForAllNamespacesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind ReplicationController - /// - /// - /// The operations group for this extension method. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + public static V1ReplicationControllerList ListReplicationControllerForAllNamespaces(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + { + return operations.ListReplicationControllerForAllNamespacesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + } + + /// + /// list or watch objects of kind ReplicationController + /// + /// + /// The operations group for this extension method. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -14366,11 +15138,19 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -14443,11 +15223,19 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -14526,11 +15314,19 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -14603,11 +15399,19 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -14686,11 +15490,19 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -14763,11 +15575,19 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -14846,11 +15666,19 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -14923,11 +15751,19 @@ public static string ConnectPatchNodeProxyWithPath(this IKubernetes operations, /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -15090,11 +15926,19 @@ public static V1APIResourceList GetAPIResources1(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -15167,11 +16011,19 @@ public static V1APIResourceList GetAPIResources1(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -15288,11 +16140,19 @@ public static V1APIResourceList GetAPIResources1(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -15365,11 +16225,19 @@ public static V1APIResourceList GetAPIResources1(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -15546,6 +16414,12 @@ public static V1APIResourceList GetAPIResources1(this IKubernetes operations) /// /// name of the InitializerConfiguration /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -15571,9 +16445,9 @@ public static V1APIResourceList GetAPIResources1(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteInitializerConfiguration(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteInitializerConfiguration(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteInitializerConfigurationAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteInitializerConfigurationAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -15587,6 +16461,12 @@ public static V1APIResourceList GetAPIResources1(this IKubernetes operations) /// /// name of the InitializerConfiguration /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -15615,9 +16495,9 @@ public static V1APIResourceList GetAPIResources1(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteInitializerConfigurationAsync(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteInitializerConfigurationAsync(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteInitializerConfigurationWithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteInitializerConfigurationWithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -15708,11 +16588,19 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -15785,11 +16673,19 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -15906,11 +16802,19 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -15983,11 +16887,19 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -16164,6 +17076,12 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// /// name of the MutatingWebhookConfiguration /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -16189,9 +17107,9 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteMutatingWebhookConfiguration(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteMutatingWebhookConfiguration(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteMutatingWebhookConfigurationAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteMutatingWebhookConfigurationAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -16205,6 +17123,12 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// /// name of the MutatingWebhookConfiguration /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -16233,9 +17157,9 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteMutatingWebhookConfigurationAsync(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteMutatingWebhookConfigurationAsync(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteMutatingWebhookConfigurationWithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteMutatingWebhookConfigurationWithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -16298,11 +17222,19 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -16375,11 +17307,19 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -16496,11 +17436,19 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -16573,11 +17521,19 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -16754,6 +17710,12 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// /// name of the ValidatingWebhookConfiguration /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -16779,9 +17741,9 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteValidatingWebhookConfiguration(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteValidatingWebhookConfiguration(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteValidatingWebhookConfigurationAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteValidatingWebhookConfigurationAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -16795,6 +17757,12 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// /// name of the ValidatingWebhookConfiguration /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -16823,9 +17791,9 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteValidatingWebhookConfigurationAsync(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteValidatingWebhookConfigurationAsync(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteValidatingWebhookConfigurationWithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteValidatingWebhookConfigurationWithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -16944,11 +17912,19 @@ public static V1APIResourceList GetAPIResources3(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -17021,11 +17997,19 @@ public static V1APIResourceList GetAPIResources3(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -17142,11 +18126,19 @@ public static V1APIResourceList GetAPIResources3(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -17219,11 +18211,19 @@ public static V1APIResourceList GetAPIResources3(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -17400,6 +18400,12 @@ public static V1APIResourceList GetAPIResources3(this IKubernetes operations) /// /// name of the CustomResourceDefinition /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -17425,9 +18431,9 @@ public static V1APIResourceList GetAPIResources3(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCustomResourceDefinition(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteCustomResourceDefinition(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteCustomResourceDefinitionAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteCustomResourceDefinitionAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -17441,6 +18447,12 @@ public static V1APIResourceList GetAPIResources3(this IKubernetes operations) /// /// name of the CustomResourceDefinition /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -17469,9 +18481,9 @@ public static V1APIResourceList GetAPIResources3(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCustomResourceDefinitionAsync(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCustomResourceDefinitionAsync(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCustomResourceDefinitionWithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCustomResourceDefinitionWithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -17521,6 +18533,46 @@ public static V1APIResourceList GetAPIResources3(this IKubernetes operations) } } + /// + /// read status of the specified CustomResourceDefinition + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the CustomResourceDefinition + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1CustomResourceDefinition ReadCustomResourceDefinitionStatus(this IKubernetes operations, string name, string pretty = default(string)) + { + return operations.ReadCustomResourceDefinitionStatusAsync(name, pretty).GetAwaiter().GetResult(); + } + + /// + /// read status of the specified CustomResourceDefinition + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the CustomResourceDefinition + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReadCustomResourceDefinitionStatusAsync(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadCustomResourceDefinitionStatusWithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// replace status of the specified CustomResourceDefinition /// @@ -17565,6 +18617,50 @@ public static V1APIResourceList GetAPIResources3(this IKubernetes operations) } } + /// + /// partially update status of the specified CustomResourceDefinition + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the CustomResourceDefinition + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1CustomResourceDefinition PatchCustomResourceDefinitionStatus(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + { + return operations.PatchCustomResourceDefinitionStatusAsync(body, name, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update status of the specified CustomResourceDefinition + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the CustomResourceDefinition + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchCustomResourceDefinitionStatusAsync(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchCustomResourceDefinitionStatusWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// get information of a group /// @@ -17634,11 +18730,19 @@ public static V1APIResourceList GetAPIResources4(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -17711,11 +18815,19 @@ public static V1APIResourceList GetAPIResources4(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -17832,11 +18944,19 @@ public static V1APIResourceList GetAPIResources4(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -17909,11 +19029,19 @@ public static V1APIResourceList GetAPIResources4(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -18090,6 +19218,12 @@ public static V1APIResourceList GetAPIResources4(this IKubernetes operations) /// /// name of the APIService /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -18115,9 +19249,9 @@ public static V1APIResourceList GetAPIResources4(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteAPIService(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteAPIService(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteAPIServiceAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteAPIServiceAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -18131,6 +19265,12 @@ public static V1APIResourceList GetAPIResources4(this IKubernetes operations) /// /// name of the APIService /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -18159,9 +19299,9 @@ public static V1APIResourceList GetAPIResources4(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteAPIServiceAsync(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteAPIServiceAsync(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteAPIServiceWithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteAPIServiceWithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -18211,6 +19351,46 @@ public static V1APIResourceList GetAPIResources4(this IKubernetes operations) } } + /// + /// read status of the specified APIService + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the APIService + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1APIService ReadAPIServiceStatus(this IKubernetes operations, string name, string pretty = default(string)) + { + return operations.ReadAPIServiceStatusAsync(name, pretty).GetAwaiter().GetResult(); + } + + /// + /// read status of the specified APIService + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the APIService + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReadAPIServiceStatusAsync(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadAPIServiceStatusWithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// replace status of the specified APIService /// @@ -18255,6 +19435,50 @@ public static V1APIResourceList GetAPIResources4(this IKubernetes operations) } } + /// + /// partially update status of the specified APIService + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the APIService + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1APIService PatchAPIServiceStatus(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + { + return operations.PatchAPIServiceStatusAsync(body, name, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update status of the specified APIService + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the APIService + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchAPIServiceStatusAsync(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchAPIServiceStatusWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// get available resources /// @@ -18296,11 +19520,19 @@ public static V1APIResourceList GetAPIResources5(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -18373,11 +19605,19 @@ public static V1APIResourceList GetAPIResources5(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -18494,11 +19734,19 @@ public static V1APIResourceList GetAPIResources5(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -18571,11 +19819,19 @@ public static V1APIResourceList GetAPIResources5(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -18752,6 +20008,12 @@ public static V1APIResourceList GetAPIResources5(this IKubernetes operations) /// /// name of the APIService /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -18777,9 +20039,9 @@ public static V1APIResourceList GetAPIResources5(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteAPIService1(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteAPIService1(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteAPIService1Async(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteAPIService1Async(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -18793,6 +20055,12 @@ public static V1APIResourceList GetAPIResources5(this IKubernetes operations) /// /// name of the APIService /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -18821,9 +20089,9 @@ public static V1APIResourceList GetAPIResources5(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteAPIService1Async(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteAPIService1Async(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteAPIService1WithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteAPIService1WithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -18873,6 +20141,46 @@ public static V1APIResourceList GetAPIResources5(this IKubernetes operations) } } + /// + /// read status of the specified APIService + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the APIService + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1APIService ReadAPIServiceStatus1(this IKubernetes operations, string name, string pretty = default(string)) + { + return operations.ReadAPIServiceStatus1Async(name, pretty).GetAwaiter().GetResult(); + } + + /// + /// read status of the specified APIService + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the APIService + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReadAPIServiceStatus1Async(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadAPIServiceStatus1WithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// replace status of the specified APIService /// @@ -18917,6 +20225,50 @@ public static V1APIResourceList GetAPIResources5(this IKubernetes operations) } } + /// + /// partially update status of the specified APIService + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the APIService + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1APIService PatchAPIServiceStatus1(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + { + return operations.PatchAPIServiceStatus1Async(body, name, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update status of the specified APIService + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the APIService + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchAPIServiceStatus1Async(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchAPIServiceStatus1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// get information of a group /// @@ -18986,11 +20338,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -19063,11 +20423,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -19146,11 +20514,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -19223,11 +20599,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -19306,11 +20690,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -19383,11 +20775,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -19469,11 +20869,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -19549,11 +20957,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -19679,11 +21095,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -19759,11 +21183,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -19955,6 +21387,12 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -19980,9 +21418,9 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedControllerRevision(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedControllerRevision(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedControllerRevisionAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedControllerRevisionAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -19999,6 +21437,12 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -20027,9 +21471,9 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedControllerRevisionAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedControllerRevisionAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedControllerRevisionWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedControllerRevisionWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -20101,11 +21545,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -20181,11 +21633,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -20311,11 +21771,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -20391,11 +21859,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -20587,6 +22063,12 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -20612,9 +22094,9 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedDaemonSet(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedDaemonSet(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedDaemonSetAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedDaemonSetAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -20631,6 +22113,12 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -20659,9 +22147,9 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedDaemonSetAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedDaemonSetAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedDaemonSetWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedDaemonSetWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -20879,11 +22367,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -20959,11 +22455,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -21089,11 +22593,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -21169,11 +22681,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -21365,6 +22885,12 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -21390,9 +22916,9 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedDeployment(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedDeployment(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedDeploymentAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedDeploymentAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -21409,6 +22935,12 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -21437,9 +22969,9 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedDeploymentAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedDeploymentAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedDeploymentWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedDeploymentWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -21803,11 +23335,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -21883,11 +23423,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -22013,11 +23561,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -22093,11 +23649,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -22289,6 +23853,12 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -22314,9 +23884,9 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedReplicaSet(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedReplicaSet(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedReplicaSetAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedReplicaSetAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -22333,6 +23903,12 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -22361,9 +23937,9 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedReplicaSetAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedReplicaSetAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedReplicaSetWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedReplicaSetWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -22727,11 +24303,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -22807,11 +24391,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -22937,11 +24529,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -23017,11 +24617,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -23213,6 +24821,12 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -23238,9 +24852,9 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedStatefulSet(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedStatefulSet(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedStatefulSetAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedStatefulSetAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -23257,6 +24871,12 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -23285,9 +24905,9 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedStatefulSetAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedStatefulSetAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedStatefulSetWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedStatefulSetWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -23648,11 +25268,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -23725,11 +25353,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -23808,11 +25444,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -23885,11 +25529,19 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -23996,11 +25648,19 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -24073,11 +25733,19 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -24156,11 +25824,19 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -24233,11 +25909,19 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -24319,11 +26003,19 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -24399,11 +26091,19 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -24529,11 +26229,19 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -24609,11 +26317,19 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -24805,6 +26521,12 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -24830,9 +26552,9 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedControllerRevision1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedControllerRevision1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedControllerRevision1Async(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedControllerRevision1Async(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -24849,6 +26571,12 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -24877,9 +26605,9 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedControllerRevision1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedControllerRevision1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedControllerRevision1WithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedControllerRevision1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -24951,11 +26679,19 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -25031,11 +26767,19 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -25161,11 +26905,19 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -25241,11 +26993,19 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -25437,6 +27197,12 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -25462,9 +27228,9 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedDeployment1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedDeployment1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedDeployment1Async(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedDeployment1Async(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -25481,6 +27247,12 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -25509,9 +27281,9 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedDeployment1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedDeployment1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedDeployment1WithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedDeployment1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -25584,7 +27356,7 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Appsv1beta1DeploymentRollback CreateNamespacedDeploymentRollback(this IKubernetes operations, Appsv1beta1DeploymentRollback body, string name, string namespaceParameter, string pretty = default(string)) + public static Appsv1beta1DeploymentStatus CreateNamespacedDeploymentRollback(this IKubernetes operations, Appsv1beta1DeploymentRollback body, string name, string namespaceParameter, string pretty = default(string)) { return operations.CreateNamespacedDeploymentRollbackAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } @@ -25609,7 +27381,7 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedDeploymentRollbackAsync(this IKubernetes operations, Appsv1beta1DeploymentRollback body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedDeploymentRollbackAsync(this IKubernetes operations, Appsv1beta1DeploymentRollback body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.CreateNamespacedDeploymentRollbackWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -25925,11 +27697,19 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -26005,141 +27785,157 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ListNamespacedStatefulSet1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListNamespacedStatefulSet1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1StatefulSet CreateNamespacedStatefulSet1(this IKubernetes operations, V1beta1StatefulSet body, string namespaceParameter, string pretty = default(string)) - { - return operations.CreateNamespacedStatefulSet1Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateNamespacedStatefulSet1Async(this IKubernetes operations, V1beta1StatefulSet body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateNamespacedStatefulSet1WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete collection of StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ListNamespacedStatefulSet1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListNamespacedStatefulSet1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// create a StatefulSet + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1StatefulSet CreateNamespacedStatefulSet1(this IKubernetes operations, V1beta1StatefulSet body, string namespaceParameter, string pretty = default(string)) + { + return operations.CreateNamespacedStatefulSet1Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// create a StatefulSet + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task CreateNamespacedStatefulSet1Async(this IKubernetes operations, V1beta1StatefulSet body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateNamespacedStatefulSet1WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete collection of StatefulSet + /// + /// + /// The operations group for this extension method. + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -26215,11 +28011,19 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -26411,6 +28215,12 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -26436,9 +28246,9 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedStatefulSet1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedStatefulSet1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedStatefulSet1Async(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedStatefulSet1Async(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -26455,6 +28265,12 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -26483,9 +28299,9 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedStatefulSet1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedStatefulSet1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedStatefulSet1WithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedStatefulSet1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -26846,11 +28662,19 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -26923,11 +28747,19 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -27034,11 +28866,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -27111,11 +28951,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -27194,11 +29042,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -27271,11 +29127,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -27354,11 +29218,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -27431,11 +29303,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -27517,11 +29397,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -27597,11 +29485,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -27727,11 +29623,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -27807,11 +29711,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -28003,6 +29915,12 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -28028,9 +29946,9 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedControllerRevision2(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedControllerRevision2(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedControllerRevision2Async(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedControllerRevision2Async(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -28047,6 +29965,12 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -28075,9 +29999,9 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedControllerRevision2Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedControllerRevision2Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedControllerRevision2WithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedControllerRevision2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -28149,11 +30073,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -28229,11 +30161,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -28359,11 +30299,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -28439,11 +30387,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -28635,6 +30591,12 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -28660,9 +30622,9 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedDaemonSet1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedDaemonSet1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedDaemonSet1Async(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedDaemonSet1Async(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -28679,6 +30641,12 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -28707,9 +30675,9 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedDaemonSet1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedDaemonSet1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedDaemonSet1WithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedDaemonSet1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -28927,11 +30895,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -29007,11 +30983,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -29137,11 +31121,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -29217,11 +31209,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -29413,6 +31413,12 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -29438,9 +31444,9 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedDeployment2(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedDeployment2(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedDeployment2Async(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedDeployment2Async(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -29457,6 +31463,12 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -29485,9 +31497,9 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedDeployment2Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedDeployment2Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedDeployment2WithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedDeployment2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -29851,11 +31863,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -29931,11 +31951,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -30061,11 +32089,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -30141,11 +32177,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -30337,6 +32381,12 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -30362,9 +32412,9 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedReplicaSet1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedReplicaSet1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedReplicaSet1Async(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedReplicaSet1Async(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -30381,6 +32431,12 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -30409,9 +32465,9 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedReplicaSet1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedReplicaSet1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedReplicaSet1WithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedReplicaSet1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -30775,11 +32831,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -30855,11 +32919,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -30985,11 +33057,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -31065,11 +33145,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -31261,6 +33349,12 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -31286,9 +33380,9 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedStatefulSet2(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedStatefulSet2(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedStatefulSet2Async(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedStatefulSet2Async(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -31305,6 +33399,12 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -31333,9 +33433,9 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedStatefulSet2Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedStatefulSet2Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedStatefulSet2WithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedStatefulSet2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -31696,11 +33796,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -31773,11 +33881,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -31856,11 +33972,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -31933,11 +34057,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -32632,11 +34764,19 @@ public static V1APIResourceList GetAPIResources13(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -32709,11 +34849,19 @@ public static V1APIResourceList GetAPIResources13(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -32795,11 +34943,19 @@ public static V1APIResourceList GetAPIResources13(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -32875,11 +35031,19 @@ public static V1APIResourceList GetAPIResources13(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -33005,11 +35169,19 @@ public static V1APIResourceList GetAPIResources13(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -33085,11 +35257,19 @@ public static V1APIResourceList GetAPIResources13(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -33281,6 +35461,12 @@ public static V1APIResourceList GetAPIResources13(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -33306,9 +35492,9 @@ public static V1APIResourceList GetAPIResources13(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedHorizontalPodAutoscaler(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedHorizontalPodAutoscaler(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedHorizontalPodAutoscalerAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedHorizontalPodAutoscalerAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -33325,6 +35511,12 @@ public static V1APIResourceList GetAPIResources13(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -33353,9 +35545,9 @@ public static V1APIResourceList GetAPIResources13(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedHorizontalPodAutoscalerAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedHorizontalPodAutoscalerAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -33598,11 +35790,19 @@ public static V1APIResourceList GetAPIResources14(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -33675,11 +35875,19 @@ public static V1APIResourceList GetAPIResources14(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -33761,11 +35969,19 @@ public static V1APIResourceList GetAPIResources14(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -33841,11 +36057,19 @@ public static V1APIResourceList GetAPIResources14(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -33971,91 +36195,107 @@ public static V1APIResourceList GetAPIResources14(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteCollectionNamespacedHorizontalPodAutoscaler1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.DeleteCollectionNamespacedHorizontalPodAutoscaler1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete collection of HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteCollectionNamespacedHorizontalPodAutoscaler1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + { + return operations.DeleteCollectionNamespacedHorizontalPodAutoscaler1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete collection of HorizontalPodAutoscaler + /// + /// + /// The operations group for this extension method. + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -34247,6 +36487,12 @@ public static V1APIResourceList GetAPIResources14(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -34272,9 +36518,9 @@ public static V1APIResourceList GetAPIResources14(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedHorizontalPodAutoscaler1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedHorizontalPodAutoscaler1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedHorizontalPodAutoscaler1Async(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedHorizontalPodAutoscaler1Async(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -34291,6 +36537,12 @@ public static V1APIResourceList GetAPIResources14(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -34319,9 +36571,9 @@ public static V1APIResourceList GetAPIResources14(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedHorizontalPodAutoscaler1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedHorizontalPodAutoscaler1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -34523,34 +36775,6 @@ public static V1APIResourceList GetAPIResources14(this IKubernetes operations) } } - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - public static V1APIGroup GetAPIGroup7(this IKubernetes operations) - { - return operations.GetAPIGroup7Async().GetAwaiter().GetResult(); - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIGroup7Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIGroup7WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - /// /// get available resources /// @@ -34580,7 +36804,7 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) } /// - /// list or watch objects of kind Job + /// list or watch objects of kind HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -34592,11 +36816,19 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -34651,13 +36883,13 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1JobList ListJobForAllNamespaces(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static V2beta2HorizontalPodAutoscalerList ListHorizontalPodAutoscalerForAllNamespaces2(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListJobForAllNamespacesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ListHorizontalPodAutoscalerForAllNamespaces2Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Job + /// list or watch objects of kind HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -34669,11 +36901,19 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -34731,16 +36971,16 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListJobForAllNamespacesAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListHorizontalPodAutoscalerForAllNamespaces2Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListJobForAllNamespacesWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListHorizontalPodAutoscalerForAllNamespaces2WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Job + /// list or watch objects of kind HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -34755,11 +36995,19 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -34814,13 +37062,13 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1JobList ListNamespacedJob(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V2beta2HorizontalPodAutoscalerList ListNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedJobAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedHorizontalPodAutoscaler2Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Job + /// list or watch objects of kind HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -34835,11 +37083,19 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -34897,16 +37153,16 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedJobAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedJobWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a Job + /// create a HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -34919,13 +37175,13 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Job CreateNamespacedJob(this IKubernetes operations, V1Job body, string namespaceParameter, string pretty = default(string)) + public static V2beta2HorizontalPodAutoscaler CreateNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, V2beta2HorizontalPodAutoscaler body, string namespaceParameter, string pretty = default(string)) { - return operations.CreateNamespacedJobAsync(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedHorizontalPodAutoscaler2Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// create a Job + /// create a HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -34941,16 +37197,16 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedJobAsync(this IKubernetes operations, V1Job body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, V2beta2HorizontalPodAutoscaler body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedJobWithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of Job + /// delete collection of HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -34965,11 +37221,19 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -35024,13 +37288,13 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedJob(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedJobAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedHorizontalPodAutoscaler2Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of Job + /// delete collection of HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -35045,11 +37309,19 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -35107,22 +37379,22 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedJobAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedJobWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified Job + /// read the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -35138,19 +37410,19 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Job ReadNamespacedJob(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V2beta2HorizontalPodAutoscaler ReadNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedJobAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedHorizontalPodAutoscaler2Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified Job + /// read the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -35169,16 +37441,16 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedJobAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedJobWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified Job + /// replace the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -35186,7 +37458,7 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -35194,13 +37466,13 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Job ReplaceNamespacedJob(this IKubernetes operations, V1Job body, string name, string namespaceParameter, string pretty = default(string)) + public static V2beta2HorizontalPodAutoscaler ReplaceNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceNamespacedJobAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedHorizontalPodAutoscaler2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified Job + /// replace the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -35208,7 +37480,7 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -35219,16 +37491,16 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedJobAsync(this IKubernetes operations, V1Job body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedJobWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a Job + /// delete a HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -35236,11 +37508,17 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -35266,13 +37544,13 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedJob(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedJobAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedHorizontalPodAutoscaler2Async(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a Job + /// delete a HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -35280,11 +37558,17 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -35313,16 +37597,16 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedJobAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedJobWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified Job + /// partially update the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -35330,7 +37614,7 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -35338,13 +37622,13 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Job PatchNamespacedJob(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V2beta2HorizontalPodAutoscaler PatchNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchNamespacedJobAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedHorizontalPodAutoscaler2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified Job + /// partially update the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -35352,7 +37636,7 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -35363,22 +37647,22 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedJobAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedJobWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read status of the specified Job + /// read status of the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -35386,19 +37670,19 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Job ReadNamespacedJobStatus(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V2beta2HorizontalPodAutoscaler ReadNamespacedHorizontalPodAutoscalerStatus2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReadNamespacedJobStatusAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedHorizontalPodAutoscalerStatus2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// read status of the specified Job + /// read status of the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -35409,16 +37693,16 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedJobStatusAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedHorizontalPodAutoscalerStatus2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedJobStatusWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace status of the specified Job + /// replace status of the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -35426,7 +37710,7 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -35434,13 +37718,13 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Job ReplaceNamespacedJobStatus(this IKubernetes operations, V1Job body, string name, string namespaceParameter, string pretty = default(string)) + public static V2beta2HorizontalPodAutoscaler ReplaceNamespacedHorizontalPodAutoscalerStatus2(this IKubernetes operations, V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceNamespacedJobStatusAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedHorizontalPodAutoscalerStatus2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace status of the specified Job + /// replace status of the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -35448,7 +37732,7 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -35459,16 +37743,16 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedJobStatusAsync(this IKubernetes operations, V1Job body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedHorizontalPodAutoscalerStatus2Async(this IKubernetes operations, V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedJobStatusWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update status of the specified Job + /// partially update status of the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -35476,7 +37760,7 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -35484,13 +37768,13 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Job PatchNamespacedJobStatus(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V2beta2HorizontalPodAutoscaler PatchNamespacedHorizontalPodAutoscalerStatus2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchNamespacedJobStatusAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedHorizontalPodAutoscalerStatus2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// partially update status of the specified Job + /// partially update status of the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -35498,7 +37782,7 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -35509,9 +37793,37 @@ public static V1APIResourceList GetAPIResources15(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedJobStatusAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedHorizontalPodAutoscalerStatus2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedJobStatusWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. + /// + public static V1APIGroup GetAPIGroup7(this IKubernetes operations) + { + return operations.GetAPIGroup7Async().GetAwaiter().GetResult(); + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetAPIGroup7Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIGroup7WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -35546,7 +37858,7 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) } /// - /// list or watch objects of kind CronJob + /// list or watch objects of kind Job /// /// /// The operations group for this extension method. @@ -35558,11 +37870,19 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -35617,13 +37937,13 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1beta1CronJobList ListCronJobForAllNamespaces(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static V1JobList ListJobForAllNamespaces(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListCronJobForAllNamespacesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ListJobForAllNamespacesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind CronJob + /// list or watch objects of kind Job /// /// /// The operations group for this extension method. @@ -35635,11 +37955,19 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -35697,16 +38025,16 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListCronJobForAllNamespacesAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListJobForAllNamespacesAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListCronJobForAllNamespacesWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListJobForAllNamespacesWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind CronJob + /// list or watch objects of kind Job /// /// /// The operations group for this extension method. @@ -35721,11 +38049,19 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -35780,13 +38116,13 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CronJobList ListNamespacedCronJob(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1JobList ListNamespacedJob(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedCronJobAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedJobAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind CronJob + /// list or watch objects of kind Job /// /// /// The operations group for this extension method. @@ -35801,11 +38137,19 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -35863,16 +38207,16 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedCronJobAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedJobAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedCronJobWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedJobWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a CronJob + /// create a Job /// /// /// The operations group for this extension method. @@ -35885,13 +38229,13 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CronJob CreateNamespacedCronJob(this IKubernetes operations, V1beta1CronJob body, string namespaceParameter, string pretty = default(string)) + public static V1Job CreateNamespacedJob(this IKubernetes operations, V1Job body, string namespaceParameter, string pretty = default(string)) { - return operations.CreateNamespacedCronJobAsync(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedJobAsync(body, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// create a CronJob + /// create a Job /// /// /// The operations group for this extension method. @@ -35907,16 +38251,16 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedCronJobAsync(this IKubernetes operations, V1beta1CronJob body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedJobAsync(this IKubernetes operations, V1Job body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedCronJobWithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedJobWithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of CronJob + /// delete collection of Job /// /// /// The operations group for this extension method. @@ -35931,11 +38275,19 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -35990,13 +38342,13 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedCronJob(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedJob(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedCronJobAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedJobAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of CronJob + /// delete collection of Job /// /// /// The operations group for this extension method. @@ -36011,11 +38363,19 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -36073,22 +38433,22 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedCronJobAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedJobAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedCronJobWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedJobWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified CronJob + /// read the specified Job /// /// /// The operations group for this extension method. /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -36104,19 +38464,19 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CronJob ReadNamespacedCronJob(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1Job ReadNamespacedJob(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedCronJobAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedJobAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified CronJob + /// read the specified Job /// /// /// The operations group for this extension method. /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -36135,16 +38495,16 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedCronJobAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedJobAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedCronJobWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedJobWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified CronJob + /// replace the specified Job /// /// /// The operations group for this extension method. @@ -36152,7 +38512,7 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -36160,13 +38520,13 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CronJob ReplaceNamespacedCronJob(this IKubernetes operations, V1beta1CronJob body, string name, string namespaceParameter, string pretty = default(string)) + public static V1Job ReplaceNamespacedJob(this IKubernetes operations, V1Job body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceNamespacedCronJobAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedJobAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified CronJob + /// replace the specified Job /// /// /// The operations group for this extension method. @@ -36174,7 +38534,7 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -36185,16 +38545,16 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedCronJobAsync(this IKubernetes operations, V1beta1CronJob body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedJobAsync(this IKubernetes operations, V1Job body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedCronJobWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedJobWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a CronJob + /// delete a Job /// /// /// The operations group for this extension method. @@ -36202,11 +38562,17 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -36232,13 +38598,13 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedCronJob(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedJob(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedCronJobAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedJobAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a CronJob + /// delete a Job /// /// /// The operations group for this extension method. @@ -36246,11 +38612,17 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -36279,16 +38651,16 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedCronJobAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedJobAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedCronJobWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedJobWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified CronJob + /// partially update the specified Job /// /// /// The operations group for this extension method. @@ -36296,7 +38668,7 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -36304,13 +38676,13 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CronJob PatchNamespacedCronJob(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V1Job PatchNamespacedJob(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchNamespacedCronJobAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedJobAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified CronJob + /// partially update the specified Job /// /// /// The operations group for this extension method. @@ -36318,7 +38690,7 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -36329,22 +38701,22 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedCronJobAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedJobAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedCronJobWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedJobWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read status of the specified CronJob + /// read status of the specified Job /// /// /// The operations group for this extension method. /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -36352,19 +38724,19 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CronJob ReadNamespacedCronJobStatus(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1Job ReadNamespacedJobStatus(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReadNamespacedCronJobStatusAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedJobStatusAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// read status of the specified CronJob + /// read status of the specified Job /// /// /// The operations group for this extension method. /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -36375,16 +38747,16 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedCronJobStatusAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedJobStatusAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedCronJobStatusWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedJobStatusWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace status of the specified CronJob + /// replace status of the specified Job /// /// /// The operations group for this extension method. @@ -36392,7 +38764,7 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -36400,13 +38772,13 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CronJob ReplaceNamespacedCronJobStatus(this IKubernetes operations, V1beta1CronJob body, string name, string namespaceParameter, string pretty = default(string)) + public static V1Job ReplaceNamespacedJobStatus(this IKubernetes operations, V1Job body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceNamespacedCronJobStatusAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedJobStatusAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace status of the specified CronJob + /// replace status of the specified Job /// /// /// The operations group for this extension method. @@ -36414,7 +38786,7 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -36425,16 +38797,16 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedCronJobStatusAsync(this IKubernetes operations, V1beta1CronJob body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedJobStatusAsync(this IKubernetes operations, V1Job body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedCronJobStatusWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedJobStatusWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update status of the specified CronJob + /// partially update status of the specified Job /// /// /// The operations group for this extension method. @@ -36442,7 +38814,7 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -36450,13 +38822,13 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CronJob PatchNamespacedCronJobStatus(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V1Job PatchNamespacedJobStatus(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchNamespacedCronJobStatusAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedJobStatusAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// partially update status of the specified CronJob + /// partially update status of the specified Job /// /// /// The operations group for this extension method. @@ -36464,7 +38836,7 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -36475,9 +38847,9 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedCronJobStatusAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedJobStatusAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedCronJobStatusWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedJobStatusWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -36524,11 +38896,19 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -36583,9 +38963,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V2alpha1CronJobList ListCronJobForAllNamespaces1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static V1beta1CronJobList ListCronJobForAllNamespaces(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListCronJobForAllNamespaces1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ListCronJobForAllNamespacesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// @@ -36601,11 +38981,19 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -36663,9 +39051,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListCronJobForAllNamespaces1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListCronJobForAllNamespacesAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListCronJobForAllNamespaces1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListCronJobForAllNamespacesWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -36687,11 +39075,19 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -36746,9 +39142,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2alpha1CronJobList ListNamespacedCronJob1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1CronJobList ListNamespacedCronJob(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedCronJob1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedCronJobAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// @@ -36767,11 +39163,19 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -36829,9 +39233,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedCronJob1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedCronJobAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedCronJob1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedCronJobWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -36851,9 +39255,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2alpha1CronJob CreateNamespacedCronJob1(this IKubernetes operations, V2alpha1CronJob body, string namespaceParameter, string pretty = default(string)) + public static V1beta1CronJob CreateNamespacedCronJob(this IKubernetes operations, V1beta1CronJob body, string namespaceParameter, string pretty = default(string)) { - return operations.CreateNamespacedCronJob1Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedCronJobAsync(body, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// @@ -36873,9 +39277,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedCronJob1Async(this IKubernetes operations, V2alpha1CronJob body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedCronJobAsync(this IKubernetes operations, V1beta1CronJob body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedCronJob1WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedCronJobWithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -36897,91 +39301,107 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteCollectionNamespacedCronJob1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.DeleteCollectionNamespacedCronJob1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete collection of CronJob - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteCollectionNamespacedCronJob(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + { + return operations.DeleteCollectionNamespacedCronJobAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete collection of CronJob + /// + /// + /// The operations group for this extension method. + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -37039,9 +39459,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedCronJob1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedCronJobAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedCronJob1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedCronJobWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -37070,9 +39490,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2alpha1CronJob ReadNamespacedCronJob1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1CronJob ReadNamespacedCronJob(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedCronJob1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedCronJobAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// @@ -37101,9 +39521,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedCronJob1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedCronJobAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedCronJob1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedCronJobWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -37126,9 +39546,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2alpha1CronJob ReplaceNamespacedCronJob1(this IKubernetes operations, V2alpha1CronJob body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1CronJob ReplaceNamespacedCronJob(this IKubernetes operations, V1beta1CronJob body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceNamespacedCronJob1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedCronJobAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// @@ -37151,9 +39571,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedCronJob1Async(this IKubernetes operations, V2alpha1CronJob body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedCronJobAsync(this IKubernetes operations, V1beta1CronJob body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedCronJob1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedCronJobWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -37173,6 +39593,12 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -37198,9 +39624,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedCronJob1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedCronJob(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedCronJob1Async(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedCronJobAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -37217,6 +39643,12 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -37245,9 +39677,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedCronJob1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedCronJobAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedCronJob1WithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedCronJobWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -37270,9 +39702,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2alpha1CronJob PatchNamespacedCronJob1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1CronJob PatchNamespacedCronJob(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchNamespacedCronJob1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedCronJobAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// @@ -37295,9 +39727,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedCronJob1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedCronJobAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedCronJob1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedCronJobWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -37318,9 +39750,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2alpha1CronJob ReadNamespacedCronJobStatus1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1CronJob ReadNamespacedCronJobStatus(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReadNamespacedCronJobStatus1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedCronJobStatusAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// @@ -37341,9 +39773,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedCronJobStatus1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedCronJobStatusAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedCronJobStatus1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedCronJobStatusWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -37366,9 +39798,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2alpha1CronJob ReplaceNamespacedCronJobStatus1(this IKubernetes operations, V2alpha1CronJob body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1CronJob ReplaceNamespacedCronJobStatus(this IKubernetes operations, V1beta1CronJob body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceNamespacedCronJobStatus1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedCronJobStatusAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// @@ -37391,9 +39823,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedCronJobStatus1Async(this IKubernetes operations, V2alpha1CronJob body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedCronJobStatusAsync(this IKubernetes operations, V1beta1CronJob body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedCronJobStatus1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedCronJobStatusWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -37416,9 +39848,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2alpha1CronJob PatchNamespacedCronJobStatus1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1CronJob PatchNamespacedCronJobStatus(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchNamespacedCronJobStatus1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedCronJobStatusAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// @@ -37441,37 +39873,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedCronJobStatus1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedCronJobStatus1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - public static V1APIGroup GetAPIGroup8(this IKubernetes operations) - { - return operations.GetAPIGroup8Async().GetAwaiter().GetResult(); - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIGroup8Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedCronJobStatusAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIGroup8WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedCronJobStatusWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -37506,7 +39910,7 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) } /// - /// list or watch objects of kind CertificateSigningRequest + /// list or watch objects of kind CronJob /// /// /// The operations group for this extension method. @@ -37518,11 +39922,19 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -37558,6 +39970,9 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -37574,16 +39989,13 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1CertificateSigningRequestList ListCertificateSigningRequest(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V2alpha1CronJobList ListCronJobForAllNamespaces1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListCertificateSigningRequestAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListCronJobForAllNamespaces1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind CertificateSigningRequest + /// list or watch objects of kind CronJob /// /// /// The operations group for this extension method. @@ -37595,11 +40007,19 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -37635,6 +40055,9 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -37651,64 +40074,114 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task ListCertificateSigningRequestAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListCronJobForAllNamespaces1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListCertificateSigningRequestWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListCronJobForAllNamespaces1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a CertificateSigningRequest + /// list or watch objects of kind CronJob /// /// /// The operations group for this extension method. /// - /// + /// + /// object name and auth scope, such as for teams and projects /// - /// - /// If 'true', then the output is pretty printed. + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - public static V1beta1CertificateSigningRequest CreateCertificateSigningRequest(this IKubernetes operations, V1beta1CertificateSigningRequest body, string pretty = default(string)) - { - return operations.CreateCertificateSigningRequestAsync(body, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a CertificateSigningRequest - /// - /// - /// The operations group for this extension method. + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// If 'true', then the output is pretty printed. /// - /// - /// The cancellation token. - /// - public static async Task CreateCertificateSigningRequestAsync(this IKubernetes operations, V1beta1CertificateSigningRequest body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static V2alpha1CronJobList ListNamespacedCronJob1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - using (var _result = await operations.CreateCertificateSigningRequestWithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } + return operations.ListNamespacedCronJob1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of CertificateSigningRequest + /// list or watch objects of kind CronJob /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -37716,11 +40189,19 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -37775,17 +40256,158 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionCertificateSigningRequest(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + /// + /// The cancellation token. + /// + public static async Task ListNamespacedCronJob1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - return operations.DeleteCollectionCertificateSigningRequestAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + using (var _result = await operations.ListNamespacedCronJob1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// delete collection of CertificateSigningRequest + /// create a CronJob + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V2alpha1CronJob CreateNamespacedCronJob1(this IKubernetes operations, V2alpha1CronJob body, string namespaceParameter, string pretty = default(string)) + { + return operations.CreateNamespacedCronJob1Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// create a CronJob + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task CreateNamespacedCronJob1Async(this IKubernetes operations, V2alpha1CronJob body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateNamespacedCronJob1WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete collection of CronJob + /// + /// + /// The operations group for this extension method. + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteCollectionNamespacedCronJob1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + { + return operations.DeleteCollectionNamespacedCronJob1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete collection of CronJob /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -37793,11 +40415,19 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -37855,22 +40485,25 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionCertificateSigningRequestAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedCronJob1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionCertificateSigningRequestWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedCronJob1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified CertificateSigningRequest + /// read the specified CronJob /// /// /// The operations group for this extension method. /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -37883,19 +40516,22 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CertificateSigningRequest ReadCertificateSigningRequest(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V2alpha1CronJob ReadNamespacedCronJob1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadCertificateSigningRequestAsync(name, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedCronJob1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified CertificateSigningRequest + /// read the specified CronJob /// /// /// The operations group for this extension method. /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -37911,16 +40547,16 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadCertificateSigningRequestAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedCronJob1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadCertificateSigningRequestWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedCronJob1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified CertificateSigningRequest + /// replace the specified CronJob /// /// /// The operations group for this extension method. @@ -37928,18 +40564,21 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CertificateSigningRequest ReplaceCertificateSigningRequest(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string pretty = default(string)) + public static V2alpha1CronJob ReplaceNamespacedCronJob1(this IKubernetes operations, V2alpha1CronJob body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceCertificateSigningRequestAsync(body, name, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedCronJob1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified CertificateSigningRequest + /// replace the specified CronJob /// /// /// The operations group for this extension method. @@ -37947,7 +40586,10 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -37955,16 +40597,16 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceCertificateSigningRequestAsync(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedCronJob1Async(this IKubernetes operations, V2alpha1CronJob body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceCertificateSigningRequestWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedCronJob1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a CertificateSigningRequest + /// delete a CronJob /// /// /// The operations group for this extension method. @@ -37972,7 +40614,16 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -37999,13 +40650,13 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCertificateSigningRequest(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedCronJob1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteCertificateSigningRequestAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedCronJob1Async(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a CertificateSigningRequest + /// delete a CronJob /// /// /// The operations group for this extension method. @@ -38013,7 +40664,16 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -38043,16 +40703,16 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCertificateSigningRequestAsync(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedCronJob1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCertificateSigningRequestWithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedCronJob1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified CertificateSigningRequest + /// partially update the specified CronJob /// /// /// The operations group for this extension method. @@ -38060,18 +40720,21 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CertificateSigningRequest PatchCertificateSigningRequest(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + public static V2alpha1CronJob PatchNamespacedCronJob1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchCertificateSigningRequestAsync(body, name, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedCronJob1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified CertificateSigningRequest + /// partially update the specified CronJob /// /// /// The operations group for this extension method. @@ -38079,7 +40742,10 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -38087,43 +40753,45 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchCertificateSigningRequestAsync(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedCronJob1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchCertificateSigningRequestWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedCronJob1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace approval of the specified CertificateSigningRequest + /// read status of the specified CronJob /// /// /// The operations group for this extension method. /// - /// - /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CertificateSigningRequest ReplaceCertificateSigningRequestApproval(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string pretty = default(string)) + public static V2alpha1CronJob ReadNamespacedCronJobStatus1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceCertificateSigningRequestApprovalAsync(body, name, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedCronJobStatus1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace approval of the specified CertificateSigningRequest + /// read status of the specified CronJob /// /// /// The operations group for this extension method. /// - /// - /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -38131,16 +40799,16 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceCertificateSigningRequestApprovalAsync(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedCronJobStatus1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceCertificateSigningRequestApprovalWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedCronJobStatus1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace status of the specified CertificateSigningRequest + /// replace status of the specified CronJob /// /// /// The operations group for this extension method. @@ -38148,18 +40816,21 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CertificateSigningRequest ReplaceCertificateSigningRequestStatus(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string pretty = default(string)) + public static V2alpha1CronJob ReplaceNamespacedCronJobStatus1(this IKubernetes operations, V2alpha1CronJob body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceCertificateSigningRequestStatusAsync(body, name, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedCronJobStatus1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace status of the specified CertificateSigningRequest + /// replace status of the specified CronJob /// /// /// The operations group for this extension method. @@ -38167,7 +40838,10 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -38175,55 +40849,77 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceCertificateSigningRequestStatusAsync(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedCronJobStatus1Async(this IKubernetes operations, V2alpha1CronJob body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceCertificateSigningRequestStatusWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedCronJobStatus1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// get information of a group + /// partially update status of the specified CronJob /// /// /// The operations group for this extension method. /// - public static V1APIGroup GetAPIGroup9(this IKubernetes operations) + /// + /// + /// + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V2alpha1CronJob PatchNamespacedCronJobStatus1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.GetAPIGroup9Async().GetAwaiter().GetResult(); + return operations.PatchNamespacedCronJobStatus1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// get information of a group + /// partially update status of the specified CronJob /// /// /// The operations group for this extension method. /// + /// + /// + /// + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task GetAPIGroup9Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedCronJobStatus1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIGroup9WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedCronJobStatus1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// get available resources + /// get information of a group /// /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources19(this IKubernetes operations) + public static V1APIGroup GetAPIGroup8(this IKubernetes operations) { - return operations.GetAPIResources19Async().GetAwaiter().GetResult(); + return operations.GetAPIGroup8Async().GetAwaiter().GetResult(); } /// - /// get available resources + /// get information of a group /// /// /// The operations group for this extension method. @@ -38231,183 +40927,48 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task GetAPIResources19Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIGroup8Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources19WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIGroup8WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Event + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - public static V1beta1EventList ListEventForAllNamespaces1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static V1APIResourceList GetAPIResources19(this IKubernetes operations) { - return operations.ListEventForAllNamespaces1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.GetAPIResources19Async().GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Event + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// /// /// The cancellation token. /// - public static async Task ListEventForAllNamespaces1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources19Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListEventForAllNamespaces1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources19WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Event + /// list or watch objects of kind CertificateSigningRequest /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -38415,11 +40976,19 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -38474,20 +41043,17 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1EventList ListNamespacedEvent1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1CertificateSigningRequestList ListCertificateSigningRequest(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedEvent1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListCertificateSigningRequestAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Event + /// list or watch objects of kind CertificateSigningRequest /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -38495,11 +41061,19 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -38557,67 +41131,58 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedEvent1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListCertificateSigningRequestAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedEvent1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListCertificateSigningRequestWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create an Event + /// create a CertificateSigningRequest /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Event CreateNamespacedEvent1(this IKubernetes operations, V1beta1Event body, string namespaceParameter, string pretty = default(string)) + public static V1beta1CertificateSigningRequest CreateCertificateSigningRequest(this IKubernetes operations, V1beta1CertificateSigningRequest body, string pretty = default(string)) { - return operations.CreateNamespacedEvent1Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.CreateCertificateSigningRequestAsync(body, pretty).GetAwaiter().GetResult(); } /// - /// create an Event + /// create a CertificateSigningRequest /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task CreateNamespacedEvent1Async(this IKubernetes operations, V1beta1Event body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateCertificateSigningRequestAsync(this IKubernetes operations, V1beta1CertificateSigningRequest body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedEvent1WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateCertificateSigningRequestWithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of Event + /// delete collection of CertificateSigningRequest /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -38625,11 +41190,19 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -38684,20 +41257,17 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedEvent1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionCertificateSigningRequest(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedEvent1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionCertificateSigningRequestAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of Event + /// delete collection of CertificateSigningRequest /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -38705,11 +41275,19 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -38767,25 +41345,22 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedEvent1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionCertificateSigningRequestAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedEvent1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionCertificateSigningRequestWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified Event + /// read the specified CertificateSigningRequest /// /// /// The operations group for this extension method. /// /// - /// name of the Event - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -38798,22 +41373,19 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Event ReadNamespacedEvent1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1CertificateSigningRequest ReadCertificateSigningRequest(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedEvent1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadCertificateSigningRequestAsync(name, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified Event + /// read the specified CertificateSigningRequest /// /// /// The operations group for this extension method. /// /// - /// name of the Event - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -38829,16 +41401,16 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedEvent1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadCertificateSigningRequestAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedEvent1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadCertificateSigningRequestWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified Event + /// replace the specified CertificateSigningRequest /// /// /// The operations group for this extension method. @@ -38846,21 +41418,18 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// /// - /// name of the Event - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Event ReplaceNamespacedEvent1(this IKubernetes operations, V1beta1Event body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1CertificateSigningRequest ReplaceCertificateSigningRequest(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string pretty = default(string)) { - return operations.ReplaceNamespacedEvent1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceCertificateSigningRequestAsync(body, name, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified Event + /// replace the specified CertificateSigningRequest /// /// /// The operations group for this extension method. @@ -38868,10 +41437,7 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// /// - /// name of the Event - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// If 'true', then the output is pretty printed. @@ -38879,16 +41445,16 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedEvent1Async(this IKubernetes operations, V1beta1Event body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceCertificateSigningRequestAsync(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedEvent1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceCertificateSigningRequestWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete an Event + /// delete a CertificateSigningRequest /// /// /// The operations group for this extension method. @@ -38896,10 +41462,13 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// /// - /// name of the Event + /// name of the CertificateSigningRequest /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -38926,13 +41495,13 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedEvent1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteCertificateSigningRequest(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedEvent1Async(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteCertificateSigningRequestAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete an Event + /// delete a CertificateSigningRequest /// /// /// The operations group for this extension method. @@ -38940,10 +41509,13 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// /// - /// name of the Event + /// name of the CertificateSigningRequest /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -38973,16 +41545,16 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedEvent1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCertificateSigningRequestAsync(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedEvent1WithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCertificateSigningRequestWithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified Event + /// partially update the specified CertificateSigningRequest /// /// /// The operations group for this extension method. @@ -38990,21 +41562,43 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// /// - /// name of the Event + /// name of the CertificateSigningRequest /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1CertificateSigningRequest PatchCertificateSigningRequest(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + { + return operations.PatchCertificateSigningRequestAsync(body, name, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update the specified CertificateSigningRequest + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the CertificateSigningRequest /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Event PatchNamespacedEvent1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + /// + /// The cancellation token. + /// + public static async Task PatchCertificateSigningRequestAsync(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - return operations.PatchNamespacedEvent1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + using (var _result = await operations.PatchCertificateSigningRequestWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// partially update the specified Event + /// replace approval of the specified CertificateSigningRequest /// /// /// The operations group for this extension method. @@ -39012,10 +41606,26 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// /// - /// name of the Event + /// name of the CertificateSigningRequest /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1CertificateSigningRequest ReplaceCertificateSigningRequestApproval(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string pretty = default(string)) + { + return operations.ReplaceCertificateSigningRequestApprovalAsync(body, name, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace approval of the specified CertificateSigningRequest + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the CertificateSigningRequest /// /// /// If 'true', then the output is pretty printed. @@ -39023,9 +41633,137 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedEvent1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceCertificateSigningRequestApprovalAsync(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedEvent1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceCertificateSigningRequestApprovalWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// read status of the specified CertificateSigningRequest + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the CertificateSigningRequest + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1CertificateSigningRequest ReadCertificateSigningRequestStatus(this IKubernetes operations, string name, string pretty = default(string)) + { + return operations.ReadCertificateSigningRequestStatusAsync(name, pretty).GetAwaiter().GetResult(); + } + + /// + /// read status of the specified CertificateSigningRequest + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the CertificateSigningRequest + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReadCertificateSigningRequestStatusAsync(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadCertificateSigningRequestStatusWithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace status of the specified CertificateSigningRequest + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the CertificateSigningRequest + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1CertificateSigningRequest ReplaceCertificateSigningRequestStatus(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string pretty = default(string)) + { + return operations.ReplaceCertificateSigningRequestStatusAsync(body, name, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace status of the specified CertificateSigningRequest + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the CertificateSigningRequest + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReplaceCertificateSigningRequestStatusAsync(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceCertificateSigningRequestStatusWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update status of the specified CertificateSigningRequest + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the CertificateSigningRequest + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1CertificateSigningRequest PatchCertificateSigningRequestStatus(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + { + return operations.PatchCertificateSigningRequestStatusAsync(body, name, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update status of the specified CertificateSigningRequest + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the CertificateSigningRequest + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchCertificateSigningRequestStatusAsync(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchCertificateSigningRequestStatusWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -39037,9 +41775,9 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The operations group for this extension method. /// - public static V1APIGroup GetAPIGroup10(this IKubernetes operations) + public static V1APIGroup GetAPIGroup9(this IKubernetes operations) { - return operations.GetAPIGroup10Async().GetAwaiter().GetResult(); + return operations.GetAPIGroup9Async().GetAwaiter().GetResult(); } /// @@ -39051,9 +41789,9 @@ public static V1APIGroup GetAPIGroup10(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task GetAPIGroup10Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIGroup9Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIGroup10WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIGroup9WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -39088,7 +41826,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) } /// - /// list or watch objects of kind DaemonSet + /// list or watch objects of kind Lease /// /// /// The operations group for this extension method. @@ -39100,11 +41838,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -39159,13 +41905,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1beta1DaemonSetList ListDaemonSetForAllNamespaces2(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static V1beta1LeaseList ListLeaseForAllNamespaces(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListDaemonSetForAllNamespaces2Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ListLeaseForAllNamespacesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind DaemonSet + /// list or watch objects of kind Lease /// /// /// The operations group for this extension method. @@ -39177,11 +41923,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -39239,20 +41993,23 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListDaemonSetForAllNamespaces2Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListLeaseForAllNamespacesAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListDaemonSetForAllNamespaces2WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListLeaseForAllNamespacesWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Deployment + /// list or watch objects of kind Lease /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -39260,11 +42017,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -39300,9 +42065,6 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -39319,17 +42081,23 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static Extensionsv1beta1DeploymentList ListDeploymentForAllNamespaces3(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1LeaseList ListNamespacedLease(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListDeploymentForAllNamespaces3Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ListNamespacedLeaseAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Deployment + /// list or watch objects of kind Lease /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -39337,337 +42105,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The cancellation token. - /// - public static async Task ListDeploymentForAllNamespaces3Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListDeploymentForAllNamespaces3WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind Ingress - /// - /// - /// The operations group for this extension method. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - public static V1beta1IngressList ListIngressForAllNamespaces(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) - { - return operations.ListIngressForAllNamespacesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind Ingress - /// - /// - /// The operations group for this extension method. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The cancellation token. - /// - public static async Task ListIngressForAllNamespacesAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListIngressForAllNamespacesWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1DaemonSetList ListNamespacedDaemonSet2(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.ListNamespacedDaemonSet2Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -39725,16 +42175,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedDaemonSet2Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedLeaseAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedDaemonSet2WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedLeaseWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a DaemonSet + /// create a Lease /// /// /// The operations group for this extension method. @@ -39747,13 +42197,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1DaemonSet CreateNamespacedDaemonSet2(this IKubernetes operations, V1beta1DaemonSet body, string namespaceParameter, string pretty = default(string)) + public static V1beta1Lease CreateNamespacedLease(this IKubernetes operations, V1beta1Lease body, string namespaceParameter, string pretty = default(string)) { - return operations.CreateNamespacedDaemonSet2Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedLeaseAsync(body, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// create a DaemonSet + /// create a Lease /// /// /// The operations group for this extension method. @@ -39769,16 +42219,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedDaemonSet2Async(this IKubernetes operations, V1beta1DaemonSet body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedLeaseAsync(this IKubernetes operations, V1beta1Lease body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedDaemonSet2WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedLeaseWithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of DaemonSet + /// delete collection of Lease /// /// /// The operations group for this extension method. @@ -39793,11 +42243,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -39852,13 +42310,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedDaemonSet2(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedLease(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedDaemonSet2Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedLeaseAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of DaemonSet + /// delete collection of Lease /// /// /// The operations group for this extension method. @@ -39873,11 +42331,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -39935,22 +42401,22 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedDaemonSet2Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedLeaseAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedDaemonSet2WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedLeaseWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified DaemonSet + /// read the specified Lease /// /// /// The operations group for this extension method. /// /// - /// name of the DaemonSet + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -39966,19 +42432,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1DaemonSet ReadNamespacedDaemonSet2(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1Lease ReadNamespacedLease(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedDaemonSet2Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedLeaseAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified DaemonSet + /// read the specified Lease /// /// /// The operations group for this extension method. /// /// - /// name of the DaemonSet + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -39997,16 +42463,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedDaemonSet2Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedLeaseAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedDaemonSet2WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedLeaseWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified DaemonSet + /// replace the specified Lease /// /// /// The operations group for this extension method. @@ -40014,7 +42480,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the DaemonSet + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -40022,13 +42488,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1DaemonSet ReplaceNamespacedDaemonSet2(this IKubernetes operations, V1beta1DaemonSet body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1Lease ReplaceNamespacedLease(this IKubernetes operations, V1beta1Lease body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceNamespacedDaemonSet2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedLeaseAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified DaemonSet + /// replace the specified Lease /// /// /// The operations group for this extension method. @@ -40036,7 +42502,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the DaemonSet + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -40047,16 +42513,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedDaemonSet2Async(this IKubernetes operations, V1beta1DaemonSet body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedLeaseAsync(this IKubernetes operations, V1beta1Lease body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedDaemonSet2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedLeaseWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a DaemonSet + /// delete a Lease /// /// /// The operations group for this extension method. @@ -40064,11 +42530,17 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the DaemonSet + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -40094,13 +42566,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedDaemonSet2(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedLease(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedDaemonSet2Async(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedLeaseAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a DaemonSet + /// delete a Lease /// /// /// The operations group for this extension method. @@ -40108,11 +42580,17 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the DaemonSet + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -40141,16 +42619,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedDaemonSet2Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedLeaseAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedDaemonSet2WithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedLeaseWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified DaemonSet + /// partially update the specified Lease /// /// /// The operations group for this extension method. @@ -40158,7 +42636,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the DaemonSet + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -40166,13 +42644,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1DaemonSet PatchNamespacedDaemonSet2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1Lease PatchNamespacedLease(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchNamespacedDaemonSet2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedLeaseAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified DaemonSet + /// partially update the specified Lease /// /// /// The operations group for this extension method. @@ -40180,53 +42658,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedDaemonSet2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedDaemonSet2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read status of the specified DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1DaemonSet ReadNamespacedDaemonSetStatus2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedDaemonSetStatus2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read status of the specified DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the DaemonSet + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -40237,123 +42669,76 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedDaemonSetStatus2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedLeaseAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedDaemonSetStatus2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedLeaseWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace status of the specified DaemonSet + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1DaemonSet ReplaceNamespacedDaemonSetStatus2(this IKubernetes operations, V1beta1DaemonSet body, string name, string namespaceParameter, string pretty = default(string)) + public static V1APIGroup GetAPIGroup10(this IKubernetes operations) { - return operations.ReplaceNamespacedDaemonSetStatus2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.GetAPIGroup10Async().GetAwaiter().GetResult(); } /// - /// replace status of the specified DaemonSet + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task ReplaceNamespacedDaemonSetStatus2Async(this IKubernetes operations, V1beta1DaemonSet body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIGroup10Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedDaemonSetStatus2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIGroup10WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update status of the specified DaemonSet + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1DaemonSet PatchNamespacedDaemonSetStatus2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V1APIResourceList GetAPIResources21(this IKubernetes operations) { - return operations.PatchNamespacedDaemonSetStatus2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.GetAPIResources21Async().GetAwaiter().GetResult(); } /// - /// partially update status of the specified DaemonSet + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task PatchNamespacedDaemonSetStatus2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources21Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedDaemonSetStatus2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources21WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Deployment + /// list or watch objects of kind Event /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -40361,11 +42746,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -40401,6 +42794,9 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -40417,23 +42813,17 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Extensionsv1beta1DeploymentList ListNamespacedDeployment3(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1EventList ListEventForAllNamespaces1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListNamespacedDeployment3Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListEventForAllNamespaces1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Deployment + /// list or watch objects of kind Event /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -40441,11 +42831,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -40481,6 +42879,9 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -40497,41 +42898,220 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task ListNamespacedDeployment3Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListEventForAllNamespaces1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedDeployment3WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListEventForAllNamespaces1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a Deployment + /// list or watch objects of kind Event /// /// /// The operations group for this extension method. /// - /// - /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// If 'true', then the output is pretty printed. + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - public static Extensionsv1beta1Deployment CreateNamespacedDeployment3(this IKubernetes operations, Extensionsv1beta1Deployment body, string namespaceParameter, string pretty = default(string)) + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1EventList ListNamespacedEvent1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.CreateNamespacedDeployment3Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedEvent1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// create a Deployment + /// list or watch objects of kind Event + /// + /// + /// The operations group for this extension method. + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ListNamespacedEvent1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListNamespacedEvent1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// create an Event + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1Event CreateNamespacedEvent1(this IKubernetes operations, V1beta1Event body, string namespaceParameter, string pretty = default(string)) + { + return operations.CreateNamespacedEvent1Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// create an Event /// /// /// The operations group for this extension method. @@ -40547,16 +43127,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedDeployment3Async(this IKubernetes operations, Extensionsv1beta1Deployment body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedEvent1Async(this IKubernetes operations, V1beta1Event body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedDeployment3WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedEvent1WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of Deployment + /// delete collection of Event /// /// /// The operations group for this extension method. @@ -40571,11 +43151,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -40630,13 +43218,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedDeployment3(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedEvent1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedDeployment3Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedEvent1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of Deployment + /// delete collection of Event /// /// /// The operations group for this extension method. @@ -40651,11 +43239,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -40713,22 +43309,22 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedDeployment3Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedEvent1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedDeployment3WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedEvent1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified Deployment + /// read the specified Event /// /// /// The operations group for this extension method. /// /// - /// name of the Deployment + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -40744,19 +43340,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Deployment ReadNamespacedDeployment3(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1Event ReadNamespacedEvent1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedDeployment3Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedEvent1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified Deployment + /// read the specified Event /// /// /// The operations group for this extension method. /// /// - /// name of the Deployment + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -40775,16 +43371,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedDeployment3Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedEvent1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedDeployment3WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedEvent1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified Deployment + /// replace the specified Event /// /// /// The operations group for this extension method. @@ -40792,7 +43388,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the Deployment + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -40800,13 +43396,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Deployment ReplaceNamespacedDeployment3(this IKubernetes operations, Extensionsv1beta1Deployment body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1Event ReplaceNamespacedEvent1(this IKubernetes operations, V1beta1Event body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceNamespacedDeployment3Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedEvent1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified Deployment + /// replace the specified Event /// /// /// The operations group for this extension method. @@ -40814,7 +43410,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the Deployment + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -40825,16 +43421,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedDeployment3Async(this IKubernetes operations, Extensionsv1beta1Deployment body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedEvent1Async(this IKubernetes operations, V1beta1Event body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedDeployment3WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedEvent1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a Deployment + /// delete an Event /// /// /// The operations group for this extension method. @@ -40842,11 +43438,17 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the Deployment + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -40872,13 +43474,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedDeployment3(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedEvent1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedDeployment3Async(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedEvent1Async(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a Deployment + /// delete an Event /// /// /// The operations group for this extension method. @@ -40886,11 +43488,17 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the Deployment + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -40919,16 +43527,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedDeployment3Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedEvent1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedDeployment3WithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedEvent1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified Deployment + /// partially update the specified Event /// /// /// The operations group for this extension method. @@ -40936,7 +43544,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the Deployment + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -40944,13 +43552,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Deployment PatchNamespacedDeployment3(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1Event PatchNamespacedEvent1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchNamespacedDeployment3Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedEvent1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified Deployment + /// partially update the specified Event /// /// /// The operations group for this extension method. @@ -40958,7 +43566,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the Deployment + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -40969,358 +43577,600 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedDeployment3Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedEvent1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedDeployment3WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedEvent1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create rollback of a Deployment + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the DeploymentRollback - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Extensionsv1beta1DeploymentRollback CreateNamespacedDeploymentRollback1(this IKubernetes operations, Extensionsv1beta1DeploymentRollback body, string name, string namespaceParameter, string pretty = default(string)) + public static V1APIGroup GetAPIGroup11(this IKubernetes operations) { - return operations.CreateNamespacedDeploymentRollback1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.GetAPIGroup11Async().GetAwaiter().GetResult(); } /// - /// create rollback of a Deployment + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the DeploymentRollback - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task CreateNamespacedDeploymentRollback1Async(this IKubernetes operations, Extensionsv1beta1DeploymentRollback body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIGroup11Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedDeploymentRollback1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIGroup11WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read scale of the specified Deployment + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Extensionsv1beta1Scale ReadNamespacedDeploymentScale3(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1APIResourceList GetAPIResources22(this IKubernetes operations) { - return operations.ReadNamespacedDeploymentScale3Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.GetAPIResources22Async().GetAwaiter().GetResult(); } /// - /// read scale of the specified Deployment + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task ReadNamespacedDeploymentScale3Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources22Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedDeploymentScale3WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources22WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace scale of the specified Deployment + /// list or watch objects of kind DaemonSet /// /// /// The operations group for this extension method. /// - /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// name of the Scale + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Scale ReplaceNamespacedDeploymentScale3(this IKubernetes operations, Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string)) + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + public static V1beta1DaemonSetList ListDaemonSetForAllNamespaces2(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ReplaceNamespacedDeploymentScale3Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ListDaemonSetForAllNamespaces2Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// replace scale of the specified Deployment + /// list or watch objects of kind DaemonSet /// /// /// The operations group for this extension method. /// - /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// name of the Scale + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// The cancellation token. /// - public static async Task ReplaceNamespacedDeploymentScale3Async(this IKubernetes operations, Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListDaemonSetForAllNamespaces2Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedDeploymentScale3WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListDaemonSetForAllNamespaces2WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update scale of the specified Deployment + /// list or watch objects of kind Deployment /// /// /// The operations group for this extension method. /// - /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// name of the Scale + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Scale PatchNamespacedDeploymentScale3(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + public static Extensionsv1beta1DeploymentList ListDeploymentForAllNamespaces3(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.PatchNamespacedDeploymentScale3Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ListDeploymentForAllNamespaces3Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// partially update scale of the specified Deployment + /// list or watch objects of kind Deployment /// /// /// The operations group for this extension method. /// - /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - public static async Task PatchNamespacedDeploymentScale3Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedDeploymentScale3WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read status of the specified Deployment - /// - /// - /// The operations group for this extension method. + /// + /// If true, partially initialized resources are included in the response. /// - /// - /// name of the Deployment + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Deployment ReadNamespacedDeploymentStatus3(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedDeploymentStatus3Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read status of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Deployment + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// The cancellation token. /// - public static async Task ReadNamespacedDeploymentStatus3Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListDeploymentForAllNamespaces3Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedDeploymentStatus3WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListDeploymentForAllNamespaces3WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace status of the specified Deployment + /// list or watch objects of kind Ingress /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - public static Extensionsv1beta1Deployment ReplaceNamespacedDeploymentStatus3(this IKubernetes operations, Extensionsv1beta1Deployment body, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReplaceNamespacedDeploymentStatus3Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace status of the specified Deployment - /// - /// - /// The operations group for this extension method. + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// + /// + /// If true, partially initialized resources are included in the response. /// - /// - /// name of the Deployment + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// - /// - /// The cancellation token. + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. /// - public static async Task ReplaceNamespacedDeploymentStatus3Async(this IKubernetes operations, Extensionsv1beta1Deployment body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + public static V1beta1IngressList ListIngressForAllNamespaces(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - using (var _result = await operations.ReplaceNamespacedDeploymentStatus3WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } + return operations.ListIngressForAllNamespacesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// partially update status of the specified Deployment + /// list or watch objects of kind Ingress /// /// /// The operations group for this extension method. /// - /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// name of the Deployment + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// If true, partially initialized resources are included in the response. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - public static Extensionsv1beta1Deployment PatchNamespacedDeploymentStatus3(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.PatchNamespacedDeploymentStatus3Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update status of the specified Deployment - /// - /// - /// The operations group for this extension method. + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// - /// + /// + /// If 'true', then the output is pretty printed. /// - /// - /// name of the Deployment + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// The cancellation token. /// - public static async Task PatchNamespacedDeploymentStatus3Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListIngressForAllNamespacesAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedDeploymentStatus3WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListIngressForAllNamespacesWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Ingress + /// list or watch objects of kind DaemonSet /// /// /// The operations group for this extension method. @@ -41335,11 +44185,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -41394,13 +44252,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1IngressList ListNamespacedIngress(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1DaemonSetList ListNamespacedDaemonSet2(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedIngressAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedDaemonSet2Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Ingress + /// list or watch objects of kind DaemonSet /// /// /// The operations group for this extension method. @@ -41415,11 +44273,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -41477,16 +44343,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedIngressAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedDaemonSet2Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedIngressWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedDaemonSet2WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create an Ingress + /// create a DaemonSet /// /// /// The operations group for this extension method. @@ -41499,13 +44365,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Ingress CreateNamespacedIngress(this IKubernetes operations, V1beta1Ingress body, string namespaceParameter, string pretty = default(string)) + public static V1beta1DaemonSet CreateNamespacedDaemonSet2(this IKubernetes operations, V1beta1DaemonSet body, string namespaceParameter, string pretty = default(string)) { - return operations.CreateNamespacedIngressAsync(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedDaemonSet2Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// create an Ingress + /// create a DaemonSet /// /// /// The operations group for this extension method. @@ -41521,16 +44387,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedIngressAsync(this IKubernetes operations, V1beta1Ingress body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedDaemonSet2Async(this IKubernetes operations, V1beta1DaemonSet body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedIngressWithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedDaemonSet2WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of Ingress + /// delete collection of DaemonSet /// /// /// The operations group for this extension method. @@ -41545,11 +44411,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -41604,13 +44478,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedIngress(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedDaemonSet2(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedIngressAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedDaemonSet2Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of Ingress + /// delete collection of DaemonSet /// /// /// The operations group for this extension method. @@ -41625,11 +44499,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -41687,22 +44569,22 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedIngressAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedDaemonSet2Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedIngressWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedDaemonSet2WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified Ingress + /// read the specified DaemonSet /// /// /// The operations group for this extension method. /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -41718,19 +44600,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Ingress ReadNamespacedIngress(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1DaemonSet ReadNamespacedDaemonSet2(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedIngressAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedDaemonSet2Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified Ingress + /// read the specified DaemonSet /// /// /// The operations group for this extension method. /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -41749,16 +44631,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedIngressAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedDaemonSet2Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedIngressWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedDaemonSet2WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified Ingress + /// replace the specified DaemonSet /// /// /// The operations group for this extension method. @@ -41766,7 +44648,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -41774,13 +44656,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Ingress ReplaceNamespacedIngress(this IKubernetes operations, V1beta1Ingress body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1DaemonSet ReplaceNamespacedDaemonSet2(this IKubernetes operations, V1beta1DaemonSet body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceNamespacedIngressAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedDaemonSet2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified Ingress + /// replace the specified DaemonSet /// /// /// The operations group for this extension method. @@ -41788,7 +44670,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -41799,16 +44681,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedIngressAsync(this IKubernetes operations, V1beta1Ingress body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedDaemonSet2Async(this IKubernetes operations, V1beta1DaemonSet body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedIngressWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedDaemonSet2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete an Ingress + /// delete a DaemonSet /// /// /// The operations group for this extension method. @@ -41816,11 +44698,17 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -41846,13 +44734,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedIngress(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedDaemonSet2(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedIngressAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedDaemonSet2Async(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete an Ingress + /// delete a DaemonSet /// /// /// The operations group for this extension method. @@ -41860,11 +44748,17 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -41893,16 +44787,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedIngressAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedDaemonSet2Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedIngressWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedDaemonSet2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified Ingress + /// partially update the specified DaemonSet /// /// /// The operations group for this extension method. @@ -41910,7 +44804,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -41918,13 +44812,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Ingress PatchNamespacedIngress(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1DaemonSet PatchNamespacedDaemonSet2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchNamespacedIngressAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedDaemonSet2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified Ingress + /// partially update the specified DaemonSet /// /// /// The operations group for this extension method. @@ -41932,7 +44826,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -41943,22 +44837,22 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedIngressAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedDaemonSet2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedIngressWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedDaemonSet2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read status of the specified Ingress + /// read status of the specified DaemonSet /// /// /// The operations group for this extension method. /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -41966,19 +44860,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Ingress ReadNamespacedIngressStatus(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1DaemonSet ReadNamespacedDaemonSetStatus2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReadNamespacedIngressStatusAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedDaemonSetStatus2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// read status of the specified Ingress + /// read status of the specified DaemonSet /// /// /// The operations group for this extension method. /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -41989,16 +44883,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedIngressStatusAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedDaemonSetStatus2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedIngressStatusWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedDaemonSetStatus2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace status of the specified Ingress + /// replace status of the specified DaemonSet /// /// /// The operations group for this extension method. @@ -42006,7 +44900,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -42014,13 +44908,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Ingress ReplaceNamespacedIngressStatus(this IKubernetes operations, V1beta1Ingress body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1DaemonSet ReplaceNamespacedDaemonSetStatus2(this IKubernetes operations, V1beta1DaemonSet body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceNamespacedIngressStatusAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedDaemonSetStatus2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace status of the specified Ingress + /// replace status of the specified DaemonSet /// /// /// The operations group for this extension method. @@ -42028,7 +44922,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -42039,16 +44933,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedIngressStatusAsync(this IKubernetes operations, V1beta1Ingress body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedDaemonSetStatus2Async(this IKubernetes operations, V1beta1DaemonSet body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedIngressStatusWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedDaemonSetStatus2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update status of the specified Ingress + /// partially update status of the specified DaemonSet /// /// /// The operations group for this extension method. @@ -42056,7 +44950,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -42064,13 +44958,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Ingress PatchNamespacedIngressStatus(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1DaemonSet PatchNamespacedDaemonSetStatus2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchNamespacedIngressStatusAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedDaemonSetStatus2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// partially update status of the specified Ingress + /// partially update status of the specified DaemonSet /// /// /// The operations group for this extension method. @@ -42078,7 +44972,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the Ingress + /// name of the DaemonSet /// /// /// object name and auth scope, such as for teams and projects @@ -42089,16 +44983,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedIngressStatusAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedDaemonSetStatus2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedIngressStatusWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedDaemonSetStatus2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind NetworkPolicy + /// list or watch objects of kind Deployment /// /// /// The operations group for this extension method. @@ -42113,11 +45007,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -42172,13 +45074,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1NetworkPolicyList ListNamespacedNetworkPolicy(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static Extensionsv1beta1DeploymentList ListNamespacedDeployment3(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedNetworkPolicyAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedDeployment3Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind NetworkPolicy + /// list or watch objects of kind Deployment /// /// /// The operations group for this extension method. @@ -42193,11 +45095,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -42255,16 +45165,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedNetworkPolicyAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedDeployment3Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedNetworkPolicyWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedDeployment3WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a NetworkPolicy + /// create a Deployment /// /// /// The operations group for this extension method. @@ -42277,13 +45187,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1NetworkPolicy CreateNamespacedNetworkPolicy(this IKubernetes operations, V1beta1NetworkPolicy body, string namespaceParameter, string pretty = default(string)) + public static Extensionsv1beta1Deployment CreateNamespacedDeployment3(this IKubernetes operations, Extensionsv1beta1Deployment body, string namespaceParameter, string pretty = default(string)) { - return operations.CreateNamespacedNetworkPolicyAsync(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedDeployment3Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// create a NetworkPolicy + /// create a Deployment /// /// /// The operations group for this extension method. @@ -42299,16 +45209,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedNetworkPolicyAsync(this IKubernetes operations, V1beta1NetworkPolicy body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedDeployment3Async(this IKubernetes operations, Extensionsv1beta1Deployment body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedNetworkPolicyWithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedDeployment3WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of NetworkPolicy + /// delete collection of Deployment /// /// /// The operations group for this extension method. @@ -42323,11 +45233,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -42382,13 +45300,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedNetworkPolicy(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedDeployment3(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedNetworkPolicyAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedDeployment3Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of NetworkPolicy + /// delete collection of Deployment /// /// /// The operations group for this extension method. @@ -42403,11 +45321,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -42465,22 +45391,22 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedNetworkPolicyAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedDeployment3Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedNetworkPolicyWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedDeployment3WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified NetworkPolicy + /// read the specified Deployment /// /// /// The operations group for this extension method. /// /// - /// name of the NetworkPolicy + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -42496,19 +45422,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1NetworkPolicy ReadNamespacedNetworkPolicy(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static Extensionsv1beta1Deployment ReadNamespacedDeployment3(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedNetworkPolicyAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedDeployment3Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified NetworkPolicy + /// read the specified Deployment /// /// /// The operations group for this extension method. /// /// - /// name of the NetworkPolicy + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -42527,16 +45453,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedNetworkPolicyAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedDeployment3Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedNetworkPolicyWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedDeployment3WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified NetworkPolicy + /// replace the specified Deployment /// /// /// The operations group for this extension method. @@ -42544,7 +45470,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the NetworkPolicy + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -42552,13 +45478,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1NetworkPolicy ReplaceNamespacedNetworkPolicy(this IKubernetes operations, V1beta1NetworkPolicy body, string name, string namespaceParameter, string pretty = default(string)) + public static Extensionsv1beta1Deployment ReplaceNamespacedDeployment3(this IKubernetes operations, Extensionsv1beta1Deployment body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceNamespacedNetworkPolicyAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedDeployment3Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified NetworkPolicy + /// replace the specified Deployment /// /// /// The operations group for this extension method. @@ -42566,7 +45492,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the NetworkPolicy + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -42577,16 +45503,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedNetworkPolicyAsync(this IKubernetes operations, V1beta1NetworkPolicy body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedDeployment3Async(this IKubernetes operations, Extensionsv1beta1Deployment body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedNetworkPolicyWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedDeployment3WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a NetworkPolicy + /// delete a Deployment /// /// /// The operations group for this extension method. @@ -42594,11 +45520,17 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the NetworkPolicy + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -42624,13 +45556,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedNetworkPolicy(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedDeployment3(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedNetworkPolicyAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedDeployment3Async(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a NetworkPolicy + /// delete a Deployment /// /// /// The operations group for this extension method. @@ -42638,11 +45570,17 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the NetworkPolicy + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -42671,16 +45609,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedNetworkPolicyAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedDeployment3Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedNetworkPolicyWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedDeployment3WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified NetworkPolicy + /// partially update the specified Deployment /// /// /// The operations group for this extension method. @@ -42688,7 +45626,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the NetworkPolicy + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -42696,13 +45634,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1NetworkPolicy PatchNamespacedNetworkPolicy(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static Extensionsv1beta1Deployment PatchNamespacedDeployment3(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchNamespacedNetworkPolicyAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedDeployment3Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified NetworkPolicy + /// partially update the specified Deployment /// /// /// The operations group for this extension method. @@ -42710,7 +45648,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the NetworkPolicy + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -42721,165 +45659,49 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedNetworkPolicyAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedDeployment3Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedNetworkPolicyWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedDeployment3WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind ReplicaSet + /// create rollback of a Deployment /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// name of the DeploymentRollback /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ReplicaSetList ListNamespacedReplicaSet2(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static Extensionsv1beta1DeploymentStatus CreateNamespacedDeploymentRollback1(this IKubernetes operations, Extensionsv1beta1DeploymentRollback body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ListNamespacedReplicaSet2Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedDeploymentRollback1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind ReplicaSet + /// create rollback of a Deployment /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// name of the DeploymentRollback /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -42887,21 +45709,22 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedReplicaSet2Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedDeploymentRollback1Async(this IKubernetes operations, Extensionsv1beta1DeploymentRollback body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedReplicaSet2WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedDeploymentRollback1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a ReplicaSet + /// read scale of the specified Deployment /// /// /// The operations group for this extension method. /// - /// + /// + /// name of the Scale /// /// /// object name and auth scope, such as for teams and projects @@ -42909,18 +45732,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ReplicaSet CreateNamespacedReplicaSet2(this IKubernetes operations, V1beta1ReplicaSet body, string namespaceParameter, string pretty = default(string)) + public static Extensionsv1beta1Scale ReadNamespacedDeploymentScale3(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.CreateNamespacedReplicaSet2Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedDeploymentScale3Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// create a ReplicaSet + /// read scale of the specified Deployment /// /// /// The operations group for this extension method. /// - /// + /// + /// name of the Scale /// /// /// object name and auth scope, such as for teams and projects @@ -42931,165 +45755,49 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedReplicaSet2Async(this IKubernetes operations, V1beta1ReplicaSet body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedDeploymentScale3Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedReplicaSet2WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedDeploymentScale3WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of ReplicaSet + /// replace scale of the specified Deployment /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// name of the Scale /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedReplicaSet2(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static Extensionsv1beta1Scale ReplaceNamespacedDeploymentScale3(this IKubernetes operations, Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.DeleteCollectionNamespacedReplicaSet2Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedDeploymentScale3Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of ReplicaSet + /// replace scale of the specified Deployment /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// name of the Scale /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -43097,86 +45805,72 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedReplicaSet2Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedDeploymentScale3Async(this IKubernetes operations, Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedReplicaSet2WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedDeploymentScale3WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified ReplicaSet + /// partially update scale of the specified Deployment /// /// /// The operations group for this extension method. /// + /// + /// /// - /// name of the ReplicaSet + /// name of the Scale /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. - /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ReplicaSet ReadNamespacedReplicaSet2(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static Extensionsv1beta1Scale PatchNamespacedDeploymentScale3(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReadNamespacedReplicaSet2Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedDeploymentScale3Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// read the specified ReplicaSet + /// partially update scale of the specified Deployment /// /// /// The operations group for this extension method. /// + /// + /// /// - /// name of the ReplicaSet + /// name of the Scale /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. - /// /// /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task ReadNamespacedReplicaSet2Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedDeploymentScale3Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedReplicaSet2WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedDeploymentScale3WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified ReplicaSet + /// read status of the specified Deployment /// /// /// The operations group for this extension method. /// - /// - /// /// - /// name of the ReplicaSet + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -43184,21 +45878,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ReplicaSet ReplaceNamespacedReplicaSet2(this IKubernetes operations, V1beta1ReplicaSet body, string name, string namespaceParameter, string pretty = default(string)) + public static Extensionsv1beta1Deployment ReadNamespacedDeploymentStatus3(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceNamespacedReplicaSet2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedDeploymentStatus3Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified ReplicaSet + /// read status of the specified Deployment /// /// /// The operations group for this extension method. /// - /// - /// /// - /// name of the ReplicaSet + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -43209,16 +45901,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedReplicaSet2Async(this IKubernetes operations, V1beta1ReplicaSet body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedDeploymentStatus3Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedReplicaSet2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedDeploymentStatus3WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a ReplicaSet + /// replace status of the specified Deployment /// /// /// The operations group for this extension method. @@ -43226,43 +45918,21 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the ReplicaSet + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedReplicaSet2(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static Extensionsv1beta1Deployment ReplaceNamespacedDeploymentStatus3(this IKubernetes operations, Extensionsv1beta1Deployment body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.DeleteNamespacedReplicaSet2Async(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedDeploymentStatus3Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// delete a ReplicaSet + /// replace status of the specified Deployment /// /// /// The operations group for this extension method. @@ -43270,49 +45940,27 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the ReplicaSet + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// /// /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task DeleteNamespacedReplicaSet2Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedDeploymentStatus3Async(this IKubernetes operations, Extensionsv1beta1Deployment body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedReplicaSet2WithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedDeploymentStatus3WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified ReplicaSet + /// partially update status of the specified Deployment /// /// /// The operations group for this extension method. @@ -43320,7 +45968,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the ReplicaSet + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -43328,13 +45976,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ReplicaSet PatchNamespacedReplicaSet2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static Extensionsv1beta1Deployment PatchNamespacedDeploymentStatus3(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchNamespacedReplicaSet2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedDeploymentStatus3Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified ReplicaSet + /// partially update status of the specified Deployment /// /// /// The operations group for this extension method. @@ -43342,7 +45990,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the ReplicaSet + /// name of the Deployment /// /// /// object name and auth scope, such as for teams and projects @@ -43353,93 +46001,223 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedReplicaSet2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedDeploymentStatus3Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedReplicaSet2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedDeploymentStatus3WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read scale of the specified ReplicaSet + /// list or watch objects of kind Ingress /// /// /// The operations group for this extension method. /// - /// - /// name of the Scale - /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Scale ReadNamespacedReplicaSetScale2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1IngressList ListNamespacedIngress(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedReplicaSetScale2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedIngressAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// read scale of the specified ReplicaSet + /// list or watch objects of kind Ingress /// /// /// The operations group for this extension method. /// - /// - /// name of the Scale - /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task ReadNamespacedReplicaSetScale2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedIngressAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedReplicaSetScale2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedIngressWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace scale of the specified ReplicaSet + /// create an Ingress /// /// /// The operations group for this extension method. /// /// /// - /// - /// name of the Scale - /// /// /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Scale ReplaceNamespacedReplicaSetScale2(this IKubernetes operations, Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1Ingress CreateNamespacedIngress(this IKubernetes operations, V1beta1Ingress body, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceNamespacedReplicaSetScale2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedIngressAsync(body, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace scale of the specified ReplicaSet + /// create an Ingress /// /// /// The operations group for this extension method. /// /// /// - /// - /// name of the Scale - /// /// /// object name and auth scope, such as for teams and projects /// @@ -43449,112 +46227,260 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedReplicaSetScale2Async(this IKubernetes operations, Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedIngressAsync(this IKubernetes operations, V1beta1Ingress body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedReplicaSetScale2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedIngressWithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update scale of the specified ReplicaSet + /// delete collection of Ingress /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the Scale - /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Scale PatchNamespacedReplicaSetScale2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedIngress(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedReplicaSetScale2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedIngressAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// partially update scale of the specified ReplicaSet + /// delete collection of Ingress /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the Scale - /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task PatchNamespacedReplicaSetScale2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedIngressAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedReplicaSetScale2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedIngressWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read status of the specified ReplicaSet + /// read the specified Ingress /// /// /// The operations group for this extension method. /// /// - /// name of the ReplicaSet + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. + /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ReplicaSet ReadNamespacedReplicaSetStatus2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1Ingress ReadNamespacedIngress(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedReplicaSetStatus2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedIngressAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read status of the specified ReplicaSet + /// read the specified Ingress /// /// /// The operations group for this extension method. /// /// - /// name of the ReplicaSet + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. + /// /// /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task ReadNamespacedReplicaSetStatus2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedIngressAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedReplicaSetStatus2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedIngressWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace status of the specified ReplicaSet + /// replace the specified Ingress /// /// /// The operations group for this extension method. @@ -43562,7 +46488,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the ReplicaSet + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -43570,13 +46496,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ReplicaSet ReplaceNamespacedReplicaSetStatus2(this IKubernetes operations, V1beta1ReplicaSet body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1Ingress ReplaceNamespacedIngress(this IKubernetes operations, V1beta1Ingress body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceNamespacedReplicaSetStatus2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedIngressAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace status of the specified ReplicaSet + /// replace the specified Ingress /// /// /// The operations group for this extension method. @@ -43584,7 +46510,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the ReplicaSet + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -43595,16 +46521,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedReplicaSetStatus2Async(this IKubernetes operations, V1beta1ReplicaSet body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedIngressAsync(this IKubernetes operations, V1beta1Ingress body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedReplicaSetStatus2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedIngressWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update status of the specified ReplicaSet + /// delete an Ingress /// /// /// The operations group for this extension method. @@ -43612,21 +46538,49 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the ReplicaSet + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ReplicaSet PatchNamespacedReplicaSetStatus2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V1Status DeleteNamespacedIngress(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.PatchNamespacedReplicaSetStatus2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedIngressAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// partially update status of the specified ReplicaSet + /// delete an Ingress /// /// /// The operations group for this extension method. @@ -43634,33 +46588,63 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the ReplicaSet + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// /// /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task PatchNamespacedReplicaSetStatus2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedIngressAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedReplicaSetStatus2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedIngressWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read scale of the specified ReplicationControllerDummy + /// partially update the specified Ingress /// /// /// The operations group for this extension method. /// + /// + /// /// - /// name of the Scale + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -43668,19 +46652,21 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Scale ReadNamespacedReplicationControllerDummyScale(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1Ingress PatchNamespacedIngress(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReadNamespacedReplicationControllerDummyScaleAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedIngressAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// read scale of the specified ReplicationControllerDummy + /// partially update the specified Ingress /// /// /// The operations group for this extension method. /// + /// + /// /// - /// name of the Scale + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -43691,24 +46677,22 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedReplicationControllerDummyScaleAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedIngressAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedIngressWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace scale of the specified ReplicationControllerDummy + /// read status of the specified Ingress /// /// /// The operations group for this extension method. /// - /// - /// /// - /// name of the Scale + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -43716,21 +46700,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Scale ReplaceNamespacedReplicationControllerDummyScale(this IKubernetes operations, Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1Ingress ReadNamespacedIngressStatus(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceNamespacedReplicationControllerDummyScaleAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedIngressStatusAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace scale of the specified ReplicationControllerDummy + /// read status of the specified Ingress /// /// /// The operations group for this extension method. /// - /// - /// /// - /// name of the Scale + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -43741,16 +46723,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedReplicationControllerDummyScaleAsync(this IKubernetes operations, Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedIngressStatusAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedIngressStatusWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update scale of the specified ReplicationControllerDummy + /// replace status of the specified Ingress /// /// /// The operations group for this extension method. @@ -43758,7 +46740,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the Scale + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -43766,13 +46748,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Scale PatchNamespacedReplicationControllerDummyScale(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1Ingress ReplaceNamespacedIngressStatus(this IKubernetes operations, V1beta1Ingress body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchNamespacedReplicationControllerDummyScaleAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedIngressStatusAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// partially update scale of the specified ReplicationControllerDummy + /// replace status of the specified Ingress /// /// /// The operations group for this extension method. @@ -43780,7 +46762,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the Scale + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -43791,180 +46773,73 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedReplicationControllerDummyScaleAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedIngressStatusAsync(this IKubernetes operations, V1beta1Ingress body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedIngressStatusWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind NetworkPolicy + /// partially update status of the specified Ingress /// /// /// The operations group for this extension method. /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. + /// /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// + /// name of the Ingress /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - public static V1beta1NetworkPolicyList ListNetworkPolicyForAllNamespaces(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static V1beta1Ingress PatchNamespacedIngressStatus(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ListNetworkPolicyForAllNamespacesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.PatchNamespacedIngressStatusAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind NetworkPolicy + /// partially update status of the specified Ingress /// /// /// The operations group for this extension method. /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. + /// /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// + /// name of the Ingress /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// /// /// The cancellation token. /// - public static async Task ListNetworkPolicyForAllNamespacesAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedIngressStatusAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNetworkPolicyForAllNamespacesWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedIngressStatusWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind PodSecurityPolicy + /// list or watch objects of kind NetworkPolicy /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -43972,11 +46847,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -44031,17 +46914,20 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1PodSecurityPolicyList ListPodSecurityPolicy(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1NetworkPolicyList ListNamespacedNetworkPolicy(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListPodSecurityPolicyAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedNetworkPolicyAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind PodSecurityPolicy + /// list or watch objects of kind NetworkPolicy /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -44049,11 +46935,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -44111,58 +47005,67 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListPodSecurityPolicyAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedNetworkPolicyAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListPodSecurityPolicyWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedNetworkPolicyWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a PodSecurityPolicy + /// create a NetworkPolicy /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1PodSecurityPolicy CreatePodSecurityPolicy(this IKubernetes operations, Extensionsv1beta1PodSecurityPolicy body, string pretty = default(string)) + public static V1beta1NetworkPolicy CreateNamespacedNetworkPolicy(this IKubernetes operations, V1beta1NetworkPolicy body, string namespaceParameter, string pretty = default(string)) { - return operations.CreatePodSecurityPolicyAsync(body, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedNetworkPolicyAsync(body, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// create a PodSecurityPolicy + /// create a NetworkPolicy /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task CreatePodSecurityPolicyAsync(this IKubernetes operations, Extensionsv1beta1PodSecurityPolicy body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedNetworkPolicyAsync(this IKubernetes operations, V1beta1NetworkPolicy body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreatePodSecurityPolicyWithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedNetworkPolicyWithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of PodSecurityPolicy + /// delete collection of NetworkPolicy /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -44170,11 +47073,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -44229,17 +47140,20 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionPodSecurityPolicy(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedNetworkPolicy(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionPodSecurityPolicyAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedNetworkPolicyAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of PodSecurityPolicy + /// delete collection of NetworkPolicy /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -44247,11 +47161,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -44309,22 +47231,25 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionPodSecurityPolicyAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedNetworkPolicyAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionPodSecurityPolicyWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedNetworkPolicyWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified PodSecurityPolicy + /// read the specified NetworkPolicy /// /// /// The operations group for this extension method. /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -44337,19 +47262,22 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1PodSecurityPolicy ReadPodSecurityPolicy(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1NetworkPolicy ReadNamespacedNetworkPolicy(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadPodSecurityPolicyAsync(name, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedNetworkPolicyAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified PodSecurityPolicy + /// read the specified NetworkPolicy /// /// /// The operations group for this extension method. /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -44365,16 +47293,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadPodSecurityPolicyAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedNetworkPolicyAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadPodSecurityPolicyWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedNetworkPolicyWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified PodSecurityPolicy + /// replace the specified NetworkPolicy /// /// /// The operations group for this extension method. @@ -44382,18 +47310,21 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1PodSecurityPolicy ReplacePodSecurityPolicy(this IKubernetes operations, Extensionsv1beta1PodSecurityPolicy body, string name, string pretty = default(string)) + public static V1beta1NetworkPolicy ReplaceNamespacedNetworkPolicy(this IKubernetes operations, V1beta1NetworkPolicy body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplacePodSecurityPolicyAsync(body, name, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedNetworkPolicyAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified PodSecurityPolicy + /// replace the specified NetworkPolicy /// /// /// The operations group for this extension method. @@ -44401,7 +47332,10 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -44409,16 +47343,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplacePodSecurityPolicyAsync(this IKubernetes operations, Extensionsv1beta1PodSecurityPolicy body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedNetworkPolicyAsync(this IKubernetes operations, V1beta1NetworkPolicy body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplacePodSecurityPolicyWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedNetworkPolicyWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a PodSecurityPolicy + /// delete a NetworkPolicy /// /// /// The operations group for this extension method. @@ -44426,7 +47360,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -44453,13 +47396,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeletePodSecurityPolicy(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedNetworkPolicy(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeletePodSecurityPolicyAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedNetworkPolicyAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a PodSecurityPolicy + /// delete a NetworkPolicy /// /// /// The operations group for this extension method. @@ -44467,7 +47410,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -44497,16 +47449,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeletePodSecurityPolicyAsync(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedNetworkPolicyAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeletePodSecurityPolicyWithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedNetworkPolicyWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified PodSecurityPolicy + /// partially update the specified NetworkPolicy /// /// /// The operations group for this extension method. @@ -44514,18 +47466,21 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1PodSecurityPolicy PatchPodSecurityPolicy(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + public static V1beta1NetworkPolicy PatchNamespacedNetworkPolicy(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchPodSecurityPolicyAsync(body, name, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedNetworkPolicyAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified PodSecurityPolicy + /// partially update the specified NetworkPolicy /// /// /// The operations group for this extension method. @@ -44533,240 +47488,27 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the PodSecurityPolicy - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchPodSecurityPolicyAsync(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchPodSecurityPolicyWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - public static V1beta1ReplicaSetList ListReplicaSetForAllNamespaces2(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) - { - return operations.ListReplicaSetForAllNamespaces2Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// name of the NetworkPolicy /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The cancellation token. - /// - public static async Task ListReplicaSetForAllNamespaces2Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListReplicaSetForAllNamespaces2WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - public static V1APIGroup GetAPIGroup11(this IKubernetes operations) - { - return operations.GetAPIGroup11Async().GetAwaiter().GetResult(); - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIGroup11Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIGroup11WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - public static V1APIResourceList GetAPIResources21(this IKubernetes operations) - { - return operations.GetAPIResources21Async().GetAwaiter().GetResult(); - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// /// /// The cancellation token. /// - public static async Task GetAPIResources21Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedNetworkPolicyAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources21WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedNetworkPolicyWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind NetworkPolicy + /// list or watch objects of kind ReplicaSet /// /// /// The operations group for this extension method. @@ -44781,11 +47523,19 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -44840,13 +47590,13 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1NetworkPolicyList ListNamespacedNetworkPolicy1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1ReplicaSetList ListNamespacedReplicaSet2(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedNetworkPolicy1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedReplicaSet2Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind NetworkPolicy + /// list or watch objects of kind ReplicaSet /// /// /// The operations group for this extension method. @@ -44861,11 +47611,19 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -44923,16 +47681,16 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedNetworkPolicy1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedReplicaSet2Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedNetworkPolicy1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedReplicaSet2WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a NetworkPolicy + /// create a ReplicaSet /// /// /// The operations group for this extension method. @@ -44945,13 +47703,13 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1NetworkPolicy CreateNamespacedNetworkPolicy1(this IKubernetes operations, V1NetworkPolicy body, string namespaceParameter, string pretty = default(string)) + public static V1beta1ReplicaSet CreateNamespacedReplicaSet2(this IKubernetes operations, V1beta1ReplicaSet body, string namespaceParameter, string pretty = default(string)) { - return operations.CreateNamespacedNetworkPolicy1Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedReplicaSet2Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// create a NetworkPolicy + /// create a ReplicaSet /// /// /// The operations group for this extension method. @@ -44967,16 +47725,16 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedNetworkPolicy1Async(this IKubernetes operations, V1NetworkPolicy body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedReplicaSet2Async(this IKubernetes operations, V1beta1ReplicaSet body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedNetworkPolicy1WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedReplicaSet2WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of NetworkPolicy + /// delete collection of ReplicaSet /// /// /// The operations group for this extension method. @@ -44991,11 +47749,19 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -45050,13 +47816,13 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedNetworkPolicy1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedReplicaSet2(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedNetworkPolicy1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedReplicaSet2Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of NetworkPolicy + /// delete collection of ReplicaSet /// /// /// The operations group for this extension method. @@ -45071,11 +47837,19 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -45133,22 +47907,22 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedNetworkPolicy1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedReplicaSet2Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedNetworkPolicy1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedReplicaSet2WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified NetworkPolicy + /// read the specified ReplicaSet /// /// /// The operations group for this extension method. /// /// - /// name of the NetworkPolicy + /// name of the ReplicaSet /// /// /// object name and auth scope, such as for teams and projects @@ -45164,19 +47938,19 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1NetworkPolicy ReadNamespacedNetworkPolicy1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1ReplicaSet ReadNamespacedReplicaSet2(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedNetworkPolicy1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedReplicaSet2Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified NetworkPolicy + /// read the specified ReplicaSet /// /// /// The operations group for this extension method. /// /// - /// name of the NetworkPolicy + /// name of the ReplicaSet /// /// /// object name and auth scope, such as for teams and projects @@ -45195,16 +47969,16 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedNetworkPolicy1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedReplicaSet2Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedNetworkPolicy1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedReplicaSet2WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified NetworkPolicy + /// replace the specified ReplicaSet /// /// /// The operations group for this extension method. @@ -45212,7 +47986,7 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// /// - /// name of the NetworkPolicy + /// name of the ReplicaSet /// /// /// object name and auth scope, such as for teams and projects @@ -45220,13 +47994,13 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1NetworkPolicy ReplaceNamespacedNetworkPolicy1(this IKubernetes operations, V1NetworkPolicy body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1ReplicaSet ReplaceNamespacedReplicaSet2(this IKubernetes operations, V1beta1ReplicaSet body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceNamespacedNetworkPolicy1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedReplicaSet2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified NetworkPolicy + /// replace the specified ReplicaSet /// /// /// The operations group for this extension method. @@ -45234,7 +48008,7 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// /// - /// name of the NetworkPolicy + /// name of the ReplicaSet /// /// /// object name and auth scope, such as for teams and projects @@ -45245,16 +48019,16 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedNetworkPolicy1Async(this IKubernetes operations, V1NetworkPolicy body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedReplicaSet2Async(this IKubernetes operations, V1beta1ReplicaSet body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedNetworkPolicy1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedReplicaSet2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a NetworkPolicy + /// delete a ReplicaSet /// /// /// The operations group for this extension method. @@ -45262,11 +48036,17 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// /// - /// name of the NetworkPolicy + /// name of the ReplicaSet /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -45292,13 +48072,13 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedNetworkPolicy1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedReplicaSet2(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedNetworkPolicy1Async(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedReplicaSet2Async(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a NetworkPolicy + /// delete a ReplicaSet /// /// /// The operations group for this extension method. @@ -45306,11 +48086,17 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// /// - /// name of the NetworkPolicy + /// name of the ReplicaSet /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -45339,16 +48125,16 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedNetworkPolicy1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedReplicaSet2Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedNetworkPolicy1WithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedReplicaSet2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified NetworkPolicy + /// partially update the specified ReplicaSet /// /// /// The operations group for this extension method. @@ -45356,7 +48142,7 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// /// - /// name of the NetworkPolicy + /// name of the ReplicaSet /// /// /// object name and auth scope, such as for teams and projects @@ -45364,13 +48150,13 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1NetworkPolicy PatchNamespacedNetworkPolicy1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1ReplicaSet PatchNamespacedReplicaSet2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchNamespacedNetworkPolicy1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedReplicaSet2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified NetworkPolicy + /// partially update the specified ReplicaSet /// /// /// The operations group for this extension method. @@ -45378,7 +48164,7 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// /// - /// name of the NetworkPolicy + /// name of the ReplicaSet /// /// /// object name and auth scope, such as for teams and projects @@ -45389,239 +48175,458 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedNetworkPolicy1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedReplicaSet2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedNetworkPolicy1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedReplicaSet2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind NetworkPolicy + /// read scale of the specified ReplicaSet /// /// /// The operations group for this extension method. /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// + /// name of the Scale /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - public static V1NetworkPolicyList ListNetworkPolicyForAllNamespaces1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static Extensionsv1beta1Scale ReadNamespacedReplicaSetScale2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ListNetworkPolicyForAllNamespaces1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ReadNamespacedReplicaSetScale2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind NetworkPolicy + /// read scale of the specified ReplicaSet /// /// /// The operations group for this extension method. /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// + /// name of the Scale /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// /// /// The cancellation token. /// - public static async Task ListNetworkPolicyForAllNamespaces1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedReplicaSetScale2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNetworkPolicyForAllNamespaces1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedReplicaSetScale2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// get information of a group + /// replace scale of the specified ReplicaSet /// /// /// The operations group for this extension method. /// - public static V1APIGroup GetAPIGroup12(this IKubernetes operations) + /// + /// + /// + /// name of the Scale + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static Extensionsv1beta1Scale ReplaceNamespacedReplicaSetScale2(this IKubernetes operations, Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.GetAPIGroup12Async().GetAwaiter().GetResult(); + return operations.ReplaceNamespacedReplicaSetScale2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// get information of a group + /// replace scale of the specified ReplicaSet /// /// /// The operations group for this extension method. /// + /// + /// + /// + /// name of the Scale + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task GetAPIGroup12Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedReplicaSetScale2Async(this IKubernetes operations, Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIGroup12WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedReplicaSetScale2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// get available resources + /// partially update scale of the specified ReplicaSet /// /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources22(this IKubernetes operations) + /// + /// + /// + /// name of the Scale + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static Extensionsv1beta1Scale PatchNamespacedReplicaSetScale2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.GetAPIResources22Async().GetAwaiter().GetResult(); + return operations.PatchNamespacedReplicaSetScale2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// get available resources + /// partially update scale of the specified ReplicaSet /// /// /// The operations group for this extension method. /// - /// - /// The cancellation token. + /// /// - public static async Task GetAPIResources22Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + /// + /// name of the Scale + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchNamespacedReplicaSetScale2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources22WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedReplicaSetScale2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind PodDisruptionBudget + /// read status of the specified ReplicaSet + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the ReplicaSet + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1ReplicaSet ReadNamespacedReplicaSetStatus2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + { + return operations.ReadNamespacedReplicaSetStatus2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// read status of the specified ReplicaSet + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the ReplicaSet + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReadNamespacedReplicaSetStatus2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadNamespacedReplicaSetStatus2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace status of the specified ReplicaSet + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the ReplicaSet + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1ReplicaSet ReplaceNamespacedReplicaSetStatus2(this IKubernetes operations, V1beta1ReplicaSet body, string name, string namespaceParameter, string pretty = default(string)) + { + return operations.ReplaceNamespacedReplicaSetStatus2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace status of the specified ReplicaSet + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the ReplicaSet + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReplaceNamespacedReplicaSetStatus2Async(this IKubernetes operations, V1beta1ReplicaSet body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceNamespacedReplicaSetStatus2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update status of the specified ReplicaSet + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the ReplicaSet + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1ReplicaSet PatchNamespacedReplicaSetStatus2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + { + return operations.PatchNamespacedReplicaSetStatus2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update status of the specified ReplicaSet + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the ReplicaSet + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchNamespacedReplicaSetStatus2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchNamespacedReplicaSetStatus2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// read scale of the specified ReplicationControllerDummy + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the Scale + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static Extensionsv1beta1Scale ReadNamespacedReplicationControllerDummyScale(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + { + return operations.ReadNamespacedReplicationControllerDummyScaleAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// read scale of the specified ReplicationControllerDummy + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the Scale + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReadNamespacedReplicationControllerDummyScaleAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace scale of the specified ReplicationControllerDummy + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the Scale + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static Extensionsv1beta1Scale ReplaceNamespacedReplicationControllerDummyScale(this IKubernetes operations, Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string)) + { + return operations.ReplaceNamespacedReplicationControllerDummyScaleAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace scale of the specified ReplicationControllerDummy + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the Scale + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReplaceNamespacedReplicationControllerDummyScaleAsync(this IKubernetes operations, Extensionsv1beta1Scale body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update scale of the specified ReplicationControllerDummy + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the Scale + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static Extensionsv1beta1Scale PatchNamespacedReplicationControllerDummyScale(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + { + return operations.PatchNamespacedReplicationControllerDummyScaleAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update scale of the specified ReplicationControllerDummy /// /// /// The operations group for this extension method. /// + /// + /// + /// + /// name of the Scale + /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchNamespacedReplicationControllerDummyScaleAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// list or watch objects of kind NetworkPolicy + /// + /// + /// The operations group for this extension method. + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -45629,11 +48634,19 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -45669,6 +48682,9 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -45685,23 +48701,17 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1PodDisruptionBudgetList ListNamespacedPodDisruptionBudget(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1NetworkPolicyList ListNetworkPolicyForAllNamespaces(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListNamespacedPodDisruptionBudgetAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNetworkPolicyForAllNamespacesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind PodDisruptionBudget + /// list or watch objects of kind NetworkPolicy /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -45709,11 +48719,19 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -45749,6 +48767,9 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -45765,73 +48786,23 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ListNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListNamespacedPodDisruptionBudgetWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a PodDisruptionBudget - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1PodDisruptionBudget CreateNamespacedPodDisruptionBudget(this IKubernetes operations, V1beta1PodDisruptionBudget body, string namespaceParameter, string pretty = default(string)) - { - return operations.CreateNamespacedPodDisruptionBudgetAsync(body, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a PodDisruptionBudget - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task CreateNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, V1beta1PodDisruptionBudget body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNetworkPolicyForAllNamespacesAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedPodDisruptionBudgetWithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNetworkPolicyForAllNamespacesWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of PodDisruptionBudget + /// list or watch objects of kind PodSecurityPolicy /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -45839,11 +48810,19 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -45898,20 +48877,17 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedPodDisruptionBudget(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static Extensionsv1beta1PodSecurityPolicyList ListPodSecurityPolicy(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedPodDisruptionBudgetAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListPodSecurityPolicyAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of PodDisruptionBudget + /// list or watch objects of kind PodSecurityPolicy /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -45919,11 +48895,19 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -45981,61 +48965,37 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListPodSecurityPolicyAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedPodDisruptionBudgetWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListPodSecurityPolicyWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified PodDisruptionBudget + /// create a PodSecurityPolicy /// /// /// The operations group for this extension method. /// - /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. + /// /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1PodDisruptionBudget ReadNamespacedPodDisruptionBudget(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static Extensionsv1beta1PodSecurityPolicy CreatePodSecurityPolicy(this IKubernetes operations, Extensionsv1beta1PodSecurityPolicy body, string pretty = default(string)) { - return operations.ReadNamespacedPodDisruptionBudgetAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.CreatePodSecurityPolicyAsync(body, pretty).GetAwaiter().GetResult(); } /// - /// read the specified PodDisruptionBudget + /// create a PodSecurityPolicy /// /// /// The operations group for this extension method. /// - /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. + /// /// /// /// If 'true', then the output is pretty printed. @@ -46043,49 +49003,175 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreatePodSecurityPolicyAsync(this IKubernetes operations, Extensionsv1beta1PodSecurityPolicy body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedPodDisruptionBudgetWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreatePodSecurityPolicyWithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified PodDisruptionBudget + /// delete collection of PodSecurityPolicy /// /// /// The operations group for this extension method. /// - /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// name of the PodDisruptionBudget + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1PodDisruptionBudget ReplaceNamespacedPodDisruptionBudget(this IKubernetes operations, V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string pretty = default(string)) + public static V1Status DeleteCollectionPodSecurityPolicy(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ReplaceNamespacedPodDisruptionBudgetAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionPodSecurityPolicyAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified PodDisruptionBudget + /// delete collection of PodSecurityPolicy /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// If 'true', then the output is pretty printed. @@ -46093,93 +49179,55 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionPodSecurityPolicyAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedPodDisruptionBudgetWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionPodSecurityPolicyWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a PodDisruptionBudget + /// read the specified PodSecurityPolicy /// /// /// The operations group for this extension method. /// - /// - /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. + /// name of the PodSecurityPolicy /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. /// /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedPodDisruptionBudget(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static Extensionsv1beta1PodSecurityPolicy ReadPodSecurityPolicy(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.DeleteNamespacedPodDisruptionBudgetAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.ReadPodSecurityPolicyAsync(name, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// delete a PodDisruptionBudget + /// read the specified PodSecurityPolicy /// /// /// The operations group for this extension method. /// - /// - /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. + /// name of the PodSecurityPolicy /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. /// /// /// If 'true', then the output is pretty printed. @@ -46187,16 +49235,16 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadPodSecurityPolicyAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedPodDisruptionBudgetWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadPodSecurityPolicyWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified PodDisruptionBudget + /// replace the specified PodSecurityPolicy /// /// /// The operations group for this extension method. @@ -46204,21 +49252,18 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PodSecurityPolicy /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1PodDisruptionBudget PatchNamespacedPodDisruptionBudget(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static Extensionsv1beta1PodSecurityPolicy ReplacePodSecurityPolicy(this IKubernetes operations, Extensionsv1beta1PodSecurityPolicy body, string name, string pretty = default(string)) { - return operations.PatchNamespacedPodDisruptionBudgetAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplacePodSecurityPolicyAsync(body, name, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified PodDisruptionBudget + /// replace the specified PodSecurityPolicy /// /// /// The operations group for this extension method. @@ -46226,10 +49271,7 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PodSecurityPolicy /// /// /// If 'true', then the output is pretty printed. @@ -46237,62 +49279,63 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplacePodSecurityPolicyAsync(this IKubernetes operations, Extensionsv1beta1PodSecurityPolicy body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedPodDisruptionBudgetWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplacePodSecurityPolicyWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read status of the specified PodDisruptionBudget + /// delete a PodSecurityPolicy /// /// /// The operations group for this extension method. /// - /// - /// name of the PodDisruptionBudget + /// /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// name of the PodSecurityPolicy /// - /// - /// If 'true', then the output is pretty printed. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - public static V1beta1PodDisruptionBudget ReadNamespacedPodDisruptionBudgetStatus(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedPodDisruptionBudgetStatusAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read status of the specified PodDisruptionBudget - /// - /// - /// The operations group for this extension method. + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. /// - /// - /// name of the PodDisruptionBudget + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// If 'true', then the output is pretty printed. /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedPodDisruptionBudgetStatusAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static V1Status DeletePodSecurityPolicy(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - using (var _result = await operations.ReadNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } + return operations.DeletePodSecurityPolicyAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// replace status of the specified PodDisruptionBudget + /// delete a PodSecurityPolicy /// /// /// The operations group for this extension method. @@ -46300,32 +49343,35 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. + /// name of the PodSecurityPolicy /// - public static V1beta1PodDisruptionBudget ReplaceNamespacedPodDisruptionBudgetStatus(this IKubernetes operations, V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReplaceNamespacedPodDisruptionBudgetStatusAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace status of the specified PodDisruptionBudget - /// - /// - /// The operations group for this extension method. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. /// - /// - /// name of the PodDisruptionBudget + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// If 'true', then the output is pretty printed. @@ -46333,16 +49379,16 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedPodDisruptionBudgetStatusAsync(this IKubernetes operations, V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeletePodSecurityPolicyAsync(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeletePodSecurityPolicyWithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update status of the specified PodDisruptionBudget + /// partially update the specified PodSecurityPolicy /// /// /// The operations group for this extension method. @@ -46350,21 +49396,18 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PodSecurityPolicy /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1PodDisruptionBudget PatchNamespacedPodDisruptionBudgetStatus(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static Extensionsv1beta1PodSecurityPolicy PatchPodSecurityPolicy(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) { - return operations.PatchNamespacedPodDisruptionBudgetStatusAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchPodSecurityPolicyAsync(body, name, pretty).GetAwaiter().GetResult(); } /// - /// partially update status of the specified PodDisruptionBudget + /// partially update the specified PodSecurityPolicy /// /// /// The operations group for this extension method. @@ -46372,10 +49415,7 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PodSecurityPolicy /// /// /// If 'true', then the output is pretty printed. @@ -46383,16 +49423,16 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedPodDisruptionBudgetStatusAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchPodSecurityPolicyAsync(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchPodSecurityPolicyWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind PodDisruptionBudget + /// list or watch objects of kind ReplicaSet /// /// /// The operations group for this extension method. @@ -46404,11 +49444,19 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -46463,13 +49511,13 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1beta1PodDisruptionBudgetList ListPodDisruptionBudgetForAllNamespaces(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static V1beta1ReplicaSetList ListReplicaSetForAllNamespaces2(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListPodDisruptionBudgetForAllNamespacesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ListReplicaSetForAllNamespaces2Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind PodDisruptionBudget + /// list or watch objects of kind ReplicaSet /// /// /// The operations group for this extension method. @@ -46481,11 +49529,19 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -46543,20 +49599,79 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListPodDisruptionBudgetForAllNamespacesAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListReplicaSetForAllNamespaces2Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListPodDisruptionBudgetForAllNamespacesWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListReplicaSetForAllNamespaces2WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind PodSecurityPolicy + /// get information of a group + /// + /// + /// The operations group for this extension method. + /// + public static V1APIGroup GetAPIGroup12(this IKubernetes operations) + { + return operations.GetAPIGroup12Async().GetAwaiter().GetResult(); + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetAPIGroup12Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIGroup12WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. + /// + public static V1APIResourceList GetAPIResources23(this IKubernetes operations) + { + return operations.GetAPIResources23Async().GetAwaiter().GetResult(); + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetAPIResources23Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIResources23WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// list or watch objects of kind NetworkPolicy /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -46564,11 +49679,19 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -46623,17 +49746,20 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Policyv1beta1PodSecurityPolicyList ListPodSecurityPolicy1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1NetworkPolicyList ListNamespacedNetworkPolicy1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListPodSecurityPolicy1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedNetworkPolicy1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind PodSecurityPolicy + /// list or watch objects of kind NetworkPolicy /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -46641,11 +49767,19 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -46703,58 +49837,67 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListPodSecurityPolicy1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedNetworkPolicy1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListPodSecurityPolicy1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedNetworkPolicy1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a PodSecurityPolicy + /// create a NetworkPolicy /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// - public static Policyv1beta1PodSecurityPolicy CreatePodSecurityPolicy1(this IKubernetes operations, Policyv1beta1PodSecurityPolicy body, string pretty = default(string)) + public static V1NetworkPolicy CreateNamespacedNetworkPolicy1(this IKubernetes operations, V1NetworkPolicy body, string namespaceParameter, string pretty = default(string)) { - return operations.CreatePodSecurityPolicy1Async(body, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedNetworkPolicy1Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// create a PodSecurityPolicy + /// create a NetworkPolicy /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task CreatePodSecurityPolicy1Async(this IKubernetes operations, Policyv1beta1PodSecurityPolicy body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedNetworkPolicy1Async(this IKubernetes operations, V1NetworkPolicy body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreatePodSecurityPolicy1WithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedNetworkPolicy1WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of PodSecurityPolicy + /// delete collection of NetworkPolicy /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -46762,11 +49905,19 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -46821,17 +49972,20 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionPodSecurityPolicy1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedNetworkPolicy1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionPodSecurityPolicy1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedNetworkPolicy1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of PodSecurityPolicy + /// delete collection of NetworkPolicy /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -46839,11 +49993,19 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -46901,22 +50063,25 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionPodSecurityPolicy1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedNetworkPolicy1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionPodSecurityPolicy1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedNetworkPolicy1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified PodSecurityPolicy + /// read the specified NetworkPolicy /// /// /// The operations group for this extension method. /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -46929,19 +50094,22 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Policyv1beta1PodSecurityPolicy ReadPodSecurityPolicy1(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1NetworkPolicy ReadNamespacedNetworkPolicy1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadPodSecurityPolicy1Async(name, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedNetworkPolicy1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified PodSecurityPolicy + /// read the specified NetworkPolicy /// /// /// The operations group for this extension method. /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -46957,16 +50125,16 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadPodSecurityPolicy1Async(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedNetworkPolicy1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadPodSecurityPolicy1WithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedNetworkPolicy1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified PodSecurityPolicy + /// replace the specified NetworkPolicy /// /// /// The operations group for this extension method. @@ -46974,18 +50142,21 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static Policyv1beta1PodSecurityPolicy ReplacePodSecurityPolicy1(this IKubernetes operations, Policyv1beta1PodSecurityPolicy body, string name, string pretty = default(string)) + public static V1NetworkPolicy ReplaceNamespacedNetworkPolicy1(this IKubernetes operations, V1NetworkPolicy body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplacePodSecurityPolicy1Async(body, name, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedNetworkPolicy1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified PodSecurityPolicy + /// replace the specified NetworkPolicy /// /// /// The operations group for this extension method. @@ -46993,7 +50164,10 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -47001,16 +50175,16 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplacePodSecurityPolicy1Async(this IKubernetes operations, Policyv1beta1PodSecurityPolicy body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedNetworkPolicy1Async(this IKubernetes operations, V1NetworkPolicy body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplacePodSecurityPolicy1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedNetworkPolicy1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a PodSecurityPolicy + /// delete a NetworkPolicy /// /// /// The operations group for this extension method. @@ -47018,7 +50192,16 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -47045,13 +50228,13 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeletePodSecurityPolicy1(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedNetworkPolicy1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeletePodSecurityPolicy1Async(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedNetworkPolicy1Async(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a PodSecurityPolicy + /// delete a NetworkPolicy /// /// /// The operations group for this extension method. @@ -47059,7 +50242,16 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -47089,16 +50281,16 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeletePodSecurityPolicy1Async(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedNetworkPolicy1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeletePodSecurityPolicy1WithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedNetworkPolicy1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified PodSecurityPolicy + /// partially update the specified NetworkPolicy /// /// /// The operations group for this extension method. @@ -47106,18 +50298,21 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static Policyv1beta1PodSecurityPolicy PatchPodSecurityPolicy1(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + public static V1NetworkPolicy PatchNamespacedNetworkPolicy1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchPodSecurityPolicy1Async(body, name, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedNetworkPolicy1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified PodSecurityPolicy + /// partially update the specified NetworkPolicy /// /// /// The operations group for this extension method. @@ -47125,7 +50320,10 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// /// - /// name of the PodSecurityPolicy + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -47133,9 +50331,185 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchPodSecurityPolicy1Async(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedNetworkPolicy1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchPodSecurityPolicy1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedNetworkPolicy1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// list or watch objects of kind NetworkPolicy + /// + /// + /// The operations group for this extension method. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + public static V1NetworkPolicyList ListNetworkPolicyForAllNamespaces1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + { + return operations.ListNetworkPolicyForAllNamespaces1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + } + + /// + /// list or watch objects of kind NetworkPolicy + /// + /// + /// The operations group for this extension method. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// The cancellation token. + /// + public static async Task ListNetworkPolicyForAllNamespaces1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListNetworkPolicyForAllNamespaces1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -47175,9 +50549,9 @@ public static V1APIGroup GetAPIGroup13(this IKubernetes operations) /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources23(this IKubernetes operations) + public static V1APIResourceList GetAPIResources24(this IKubernetes operations) { - return operations.GetAPIResources23Async().GetAwaiter().GetResult(); + return operations.GetAPIResources24Async().GetAwaiter().GetResult(); } /// @@ -47189,20 +50563,23 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task GetAPIResources23Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources24Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources23WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources24WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind ClusterRoleBinding + /// list or watch objects of kind PodDisruptionBudget /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -47210,11 +50587,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -47269,17 +50654,20 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1ClusterRoleBindingList ListClusterRoleBinding(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1PodDisruptionBudgetList ListNamespacedPodDisruptionBudget(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListClusterRoleBindingAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedPodDisruptionBudgetAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind ClusterRoleBinding + /// list or watch objects of kind PodDisruptionBudget /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -47287,11 +50675,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -47349,58 +50745,67 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListClusterRoleBindingAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListClusterRoleBindingWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedPodDisruptionBudgetWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a ClusterRoleBinding + /// create a PodDisruptionBudget /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// - public static V1ClusterRoleBinding CreateClusterRoleBinding(this IKubernetes operations, V1ClusterRoleBinding body, string pretty = default(string)) + public static V1beta1PodDisruptionBudget CreateNamespacedPodDisruptionBudget(this IKubernetes operations, V1beta1PodDisruptionBudget body, string namespaceParameter, string pretty = default(string)) { - return operations.CreateClusterRoleBindingAsync(body, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedPodDisruptionBudgetAsync(body, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// create a ClusterRoleBinding + /// create a PodDisruptionBudget /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task CreateClusterRoleBindingAsync(this IKubernetes operations, V1ClusterRoleBinding body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, V1beta1PodDisruptionBudget body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateClusterRoleBindingWithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedPodDisruptionBudgetWithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of ClusterRoleBinding + /// delete collection of PodDisruptionBudget /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -47408,11 +50813,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -47467,17 +50880,20 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionClusterRoleBinding(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedPodDisruptionBudget(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionClusterRoleBindingAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedPodDisruptionBudgetAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of ClusterRoleBinding + /// delete collection of PodDisruptionBudget /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -47485,11 +50901,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -47547,39 +50971,61 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionClusterRoleBindingAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionClusterRoleBindingWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedPodDisruptionBudgetWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified ClusterRoleBinding + /// read the specified PodDisruptionBudget /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRoleBinding + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. /// /// /// If 'true', then the output is pretty printed. /// - public static V1ClusterRoleBinding ReadClusterRoleBinding(this IKubernetes operations, string name, string pretty = default(string)) + public static V1beta1PodDisruptionBudget ReadNamespacedPodDisruptionBudget(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadClusterRoleBindingAsync(name, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedPodDisruptionBudgetAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified ClusterRoleBinding + /// read the specified PodDisruptionBudget /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRoleBinding + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. /// /// /// If 'true', then the output is pretty printed. @@ -47587,16 +51033,16 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadClusterRoleBindingAsync(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadClusterRoleBindingWithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedPodDisruptionBudgetWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified ClusterRoleBinding + /// replace the specified PodDisruptionBudget /// /// /// The operations group for this extension method. @@ -47604,18 +51050,21 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1ClusterRoleBinding ReplaceClusterRoleBinding(this IKubernetes operations, V1ClusterRoleBinding body, string name, string pretty = default(string)) + public static V1beta1PodDisruptionBudget ReplaceNamespacedPodDisruptionBudget(this IKubernetes operations, V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceClusterRoleBindingAsync(body, name, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedPodDisruptionBudgetAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified ClusterRoleBinding + /// replace the specified PodDisruptionBudget /// /// /// The operations group for this extension method. @@ -47623,7 +51072,10 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -47631,16 +51083,16 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceClusterRoleBindingAsync(this IKubernetes operations, V1ClusterRoleBinding body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceClusterRoleBindingWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedPodDisruptionBudgetWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a ClusterRoleBinding + /// delete a PodDisruptionBudget /// /// /// The operations group for this extension method. @@ -47648,7 +51100,16 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -47675,13 +51136,13 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteClusterRoleBinding(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedPodDisruptionBudget(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteClusterRoleBindingAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedPodDisruptionBudgetAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a ClusterRoleBinding + /// delete a PodDisruptionBudget /// /// /// The operations group for this extension method. @@ -47689,7 +51150,16 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -47719,16 +51189,16 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteClusterRoleBindingAsync(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteClusterRoleBindingWithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedPodDisruptionBudgetWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified PodDisruptionBudget /// /// /// The operations group for this extension method. @@ -47736,18 +51206,21 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1ClusterRoleBinding PatchClusterRoleBinding(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + public static V1beta1PodDisruptionBudget PatchNamespacedPodDisruptionBudget(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchClusterRoleBindingAsync(body, name, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedPodDisruptionBudgetAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified PodDisruptionBudget /// /// /// The operations group for this extension method. @@ -47755,7 +51228,10 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -47763,16 +51239,162 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchClusterRoleBindingAsync(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchClusterRoleBindingWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedPodDisruptionBudgetWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind ClusterRole + /// read status of the specified PodDisruptionBudget + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1PodDisruptionBudget ReadNamespacedPodDisruptionBudgetStatus(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + { + return operations.ReadNamespacedPodDisruptionBudgetStatusAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// read status of the specified PodDisruptionBudget + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReadNamespacedPodDisruptionBudgetStatusAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace status of the specified PodDisruptionBudget + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1PodDisruptionBudget ReplaceNamespacedPodDisruptionBudgetStatus(this IKubernetes operations, V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string pretty = default(string)) + { + return operations.ReplaceNamespacedPodDisruptionBudgetStatusAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace status of the specified PodDisruptionBudget + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReplaceNamespacedPodDisruptionBudgetStatusAsync(this IKubernetes operations, V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update status of the specified PodDisruptionBudget + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1PodDisruptionBudget PatchNamespacedPodDisruptionBudgetStatus(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + { + return operations.PatchNamespacedPodDisruptionBudgetStatusAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update status of the specified PodDisruptionBudget + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchNamespacedPodDisruptionBudgetStatusAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// list or watch objects of kind PodDisruptionBudget /// /// /// The operations group for this extension method. @@ -47784,11 +51406,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -47824,6 +51454,9 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -47840,16 +51473,104 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// + public static V1beta1PodDisruptionBudgetList ListPodDisruptionBudgetForAllNamespaces(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + { + return operations.ListPodDisruptionBudgetForAllNamespacesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + } + + /// + /// list or watch objects of kind PodDisruptionBudget + /// + /// + /// The operations group for this extension method. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// /// /// If 'true', then the output is pretty printed. /// - public static V1ClusterRoleList ListClusterRole(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// The cancellation token. + /// + public static async Task ListPodDisruptionBudgetForAllNamespacesAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - return operations.ListClusterRoleAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + using (var _result = await operations.ListPodDisruptionBudgetForAllNamespacesWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind PodSecurityPolicy /// /// /// The operations group for this extension method. @@ -47861,11 +51582,104 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static Policyv1beta1PodSecurityPolicyList ListPodSecurityPolicy1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + { + return operations.ListPodSecurityPolicy1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// list or watch objects of kind PodSecurityPolicy + /// + /// + /// The operations group for this extension method. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -47923,16 +51737,16 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListClusterRoleAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListPodSecurityPolicy1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListClusterRoleWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListPodSecurityPolicy1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a ClusterRole + /// create a PodSecurityPolicy /// /// /// The operations group for this extension method. @@ -47942,13 +51756,13 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1ClusterRole CreateClusterRole(this IKubernetes operations, V1ClusterRole body, string pretty = default(string)) + public static Policyv1beta1PodSecurityPolicy CreatePodSecurityPolicy1(this IKubernetes operations, Policyv1beta1PodSecurityPolicy body, string pretty = default(string)) { - return operations.CreateClusterRoleAsync(body, pretty).GetAwaiter().GetResult(); + return operations.CreatePodSecurityPolicy1Async(body, pretty).GetAwaiter().GetResult(); } /// - /// create a ClusterRole + /// create a PodSecurityPolicy /// /// /// The operations group for this extension method. @@ -47961,16 +51775,16 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateClusterRoleAsync(this IKubernetes operations, V1ClusterRole body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreatePodSecurityPolicy1Async(this IKubernetes operations, Policyv1beta1PodSecurityPolicy body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateClusterRoleWithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreatePodSecurityPolicy1WithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of ClusterRole + /// delete collection of PodSecurityPolicy /// /// /// The operations group for this extension method. @@ -47982,11 +51796,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -48041,13 +51863,13 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionClusterRole(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionPodSecurityPolicy1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionClusterRoleAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionPodSecurityPolicy1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of ClusterRole + /// delete collection of PodSecurityPolicy /// /// /// The operations group for this extension method. @@ -48059,11 +51881,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -48121,39 +51951,55 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionClusterRoleAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionPodSecurityPolicy1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionClusterRoleWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionPodSecurityPolicy1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified ClusterRole + /// read the specified PodSecurityPolicy /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRole + /// name of the PodSecurityPolicy + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. /// /// /// If 'true', then the output is pretty printed. /// - public static V1ClusterRole ReadClusterRole(this IKubernetes operations, string name, string pretty = default(string)) + public static Policyv1beta1PodSecurityPolicy ReadPodSecurityPolicy1(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadClusterRoleAsync(name, pretty).GetAwaiter().GetResult(); + return operations.ReadPodSecurityPolicy1Async(name, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified ClusterRole + /// read the specified PodSecurityPolicy /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRole + /// name of the PodSecurityPolicy + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. /// /// /// If 'true', then the output is pretty printed. @@ -48161,16 +52007,16 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadClusterRoleAsync(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadPodSecurityPolicy1Async(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadClusterRoleWithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadPodSecurityPolicy1WithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified ClusterRole + /// replace the specified PodSecurityPolicy /// /// /// The operations group for this extension method. @@ -48178,18 +52024,18 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the ClusterRole + /// name of the PodSecurityPolicy /// /// /// If 'true', then the output is pretty printed. /// - public static V1ClusterRole ReplaceClusterRole(this IKubernetes operations, V1ClusterRole body, string name, string pretty = default(string)) + public static Policyv1beta1PodSecurityPolicy ReplacePodSecurityPolicy1(this IKubernetes operations, Policyv1beta1PodSecurityPolicy body, string name, string pretty = default(string)) { - return operations.ReplaceClusterRoleAsync(body, name, pretty).GetAwaiter().GetResult(); + return operations.ReplacePodSecurityPolicy1Async(body, name, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified ClusterRole + /// replace the specified PodSecurityPolicy /// /// /// The operations group for this extension method. @@ -48197,7 +52043,7 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the ClusterRole + /// name of the PodSecurityPolicy /// /// /// If 'true', then the output is pretty printed. @@ -48205,16 +52051,16 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceClusterRoleAsync(this IKubernetes operations, V1ClusterRole body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplacePodSecurityPolicy1Async(this IKubernetes operations, Policyv1beta1PodSecurityPolicy body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceClusterRoleWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplacePodSecurityPolicy1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a ClusterRole + /// delete a PodSecurityPolicy /// /// /// The operations group for this extension method. @@ -48222,7 +52068,13 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the ClusterRole + /// name of the PodSecurityPolicy + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -48249,13 +52101,13 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteClusterRole(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeletePodSecurityPolicy1(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteClusterRoleAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeletePodSecurityPolicy1Async(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a ClusterRole + /// delete a PodSecurityPolicy /// /// /// The operations group for this extension method. @@ -48263,7 +52115,13 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the ClusterRole + /// name of the PodSecurityPolicy + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -48293,16 +52151,16 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteClusterRoleAsync(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeletePodSecurityPolicy1Async(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteClusterRoleWithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeletePodSecurityPolicy1WithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified ClusterRole + /// partially update the specified PodSecurityPolicy /// /// /// The operations group for this extension method. @@ -48310,18 +52168,18 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the ClusterRole + /// name of the PodSecurityPolicy /// /// /// If 'true', then the output is pretty printed. /// - public static V1ClusterRole PatchClusterRole(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + public static Policyv1beta1PodSecurityPolicy PatchPodSecurityPolicy1(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) { - return operations.PatchClusterRoleAsync(body, name, pretty).GetAwaiter().GetResult(); + return operations.PatchPodSecurityPolicy1Async(body, name, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified ClusterRole + /// partially update the specified PodSecurityPolicy /// /// /// The operations group for this extension method. @@ -48329,7 +52187,7 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the ClusterRole + /// name of the PodSecurityPolicy /// /// /// If 'true', then the output is pretty printed. @@ -48337,22 +52195,75 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchClusterRoleAsync(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchPodSecurityPolicy1Async(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchClusterRoleWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchPodSecurityPolicy1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind RoleBinding + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects + public static V1APIGroup GetAPIGroup14(this IKubernetes operations) + { + return operations.GetAPIGroup14Async().GetAwaiter().GetResult(); + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetAPIGroup14Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIGroup14WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. + /// + public static V1APIResourceList GetAPIResources25(this IKubernetes operations) + { + return operations.GetAPIResources25Async().GetAwaiter().GetResult(); + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetAPIResources25Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIResources25WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// list or watch objects of kind ClusterRoleBinding + /// + /// + /// The operations group for this extension method. /// /// /// The continue option should be set when retrieving more results from the @@ -48361,11 +52272,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -48420,20 +52339,17 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1RoleBindingList ListNamespacedRoleBinding(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1ClusterRoleBindingList ListClusterRoleBinding(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedRoleBindingAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListClusterRoleBindingAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind ClusterRoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -48441,11 +52357,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -48503,67 +52427,58 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedRoleBindingAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListClusterRoleBindingAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedRoleBindingWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListClusterRoleBindingWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a RoleBinding + /// create a ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// - public static V1RoleBinding CreateNamespacedRoleBinding(this IKubernetes operations, V1RoleBinding body, string namespaceParameter, string pretty = default(string)) + public static V1ClusterRoleBinding CreateClusterRoleBinding(this IKubernetes operations, V1ClusterRoleBinding body, string pretty = default(string)) { - return operations.CreateNamespacedRoleBindingAsync(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.CreateClusterRoleBindingAsync(body, pretty).GetAwaiter().GetResult(); } /// - /// create a RoleBinding + /// create a ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task CreateNamespacedRoleBindingAsync(this IKubernetes operations, V1RoleBinding body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateClusterRoleBindingAsync(this IKubernetes operations, V1ClusterRoleBinding body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedRoleBindingWithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateClusterRoleBindingWithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of RoleBinding + /// delete collection of ClusterRoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -48571,11 +52486,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -48630,20 +52553,17 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedRoleBinding(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionClusterRoleBinding(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedRoleBindingAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionClusterRoleBindingAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of RoleBinding + /// delete collection of ClusterRoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -48651,11 +52571,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -48713,45 +52641,39 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedRoleBindingAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionClusterRoleBindingAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedRoleBindingWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionClusterRoleBindingWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified RoleBinding + /// read the specified ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. /// - public static V1RoleBinding ReadNamespacedRoleBinding(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1ClusterRoleBinding ReadClusterRoleBinding(this IKubernetes operations, string name, string pretty = default(string)) { - return operations.ReadNamespacedRoleBindingAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadClusterRoleBindingAsync(name, pretty).GetAwaiter().GetResult(); } /// - /// read the specified RoleBinding + /// read the specified ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -48759,16 +52681,16 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedRoleBindingAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadClusterRoleBindingAsync(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedRoleBindingWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadClusterRoleBindingWithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified RoleBinding + /// replace the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -48776,21 +52698,18 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. /// - public static V1RoleBinding ReplaceNamespacedRoleBinding(this IKubernetes operations, V1RoleBinding body, string name, string namespaceParameter, string pretty = default(string)) + public static V1ClusterRoleBinding ReplaceClusterRoleBinding(this IKubernetes operations, V1ClusterRoleBinding body, string name, string pretty = default(string)) { - return operations.ReplaceNamespacedRoleBindingAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceClusterRoleBindingAsync(body, name, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified RoleBinding + /// replace the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -48798,10 +52717,7 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -48809,16 +52725,16 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedRoleBindingAsync(this IKubernetes operations, V1RoleBinding body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceClusterRoleBindingAsync(this IKubernetes operations, V1ClusterRoleBinding body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedRoleBindingWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceClusterRoleBindingWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a RoleBinding + /// delete a ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -48826,10 +52742,13 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the RoleBinding + /// name of the ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -48856,13 +52775,13 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedRoleBinding(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteClusterRoleBinding(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedRoleBindingAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteClusterRoleBindingAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a RoleBinding + /// delete a ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -48870,10 +52789,13 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the RoleBinding + /// name of the ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -48903,16 +52825,16 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedRoleBindingAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteClusterRoleBindingAsync(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedRoleBindingWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteClusterRoleBindingWithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified RoleBinding + /// partially update the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -48920,21 +52842,18 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. /// - public static V1RoleBinding PatchNamespacedRoleBinding(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V1ClusterRoleBinding PatchClusterRoleBinding(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) { - return operations.PatchNamespacedRoleBindingAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchClusterRoleBindingAsync(body, name, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified RoleBinding + /// partially update the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -48942,10 +52861,7 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -48953,23 +52869,20 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedRoleBindingAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchClusterRoleBindingAsync(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedRoleBindingWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchClusterRoleBindingWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Role + /// list or watch objects of kind ClusterRole /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -48977,11 +52890,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -49036,20 +52957,17 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1RoleList ListNamespacedRole(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1ClusterRoleList ListClusterRole(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedRoleAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListClusterRoleAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Role + /// list or watch objects of kind ClusterRole /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -49057,11 +52975,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -49119,67 +53045,58 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedRoleAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListClusterRoleAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedRoleWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListClusterRoleWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a Role + /// create a ClusterRole /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// - public static V1Role CreateNamespacedRole(this IKubernetes operations, V1Role body, string namespaceParameter, string pretty = default(string)) + public static V1ClusterRole CreateClusterRole(this IKubernetes operations, V1ClusterRole body, string pretty = default(string)) { - return operations.CreateNamespacedRoleAsync(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.CreateClusterRoleAsync(body, pretty).GetAwaiter().GetResult(); } /// - /// create a Role + /// create a ClusterRole /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task CreateNamespacedRoleAsync(this IKubernetes operations, V1Role body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateClusterRoleAsync(this IKubernetes operations, V1ClusterRole body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedRoleWithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateClusterRoleWithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of Role + /// delete collection of ClusterRole /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -49187,11 +53104,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -49246,20 +53171,17 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedRole(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionClusterRole(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedRoleAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionClusterRoleAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of Role + /// delete collection of ClusterRole /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -49267,11 +53189,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -49329,45 +53259,39 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedRoleAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionClusterRoleAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedRoleWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionClusterRoleWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified Role + /// read the specified ClusterRole /// /// /// The operations group for this extension method. /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. /// - public static V1Role ReadNamespacedRole(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1ClusterRole ReadClusterRole(this IKubernetes operations, string name, string pretty = default(string)) { - return operations.ReadNamespacedRoleAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadClusterRoleAsync(name, pretty).GetAwaiter().GetResult(); } /// - /// read the specified Role + /// read the specified ClusterRole /// /// /// The operations group for this extension method. /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -49375,16 +53299,16 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedRoleAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadClusterRoleAsync(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedRoleWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadClusterRoleWithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified Role + /// replace the specified ClusterRole /// /// /// The operations group for this extension method. @@ -49392,21 +53316,18 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. /// - public static V1Role ReplaceNamespacedRole(this IKubernetes operations, V1Role body, string name, string namespaceParameter, string pretty = default(string)) + public static V1ClusterRole ReplaceClusterRole(this IKubernetes operations, V1ClusterRole body, string name, string pretty = default(string)) { - return operations.ReplaceNamespacedRoleAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceClusterRoleAsync(body, name, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified Role + /// replace the specified ClusterRole /// /// /// The operations group for this extension method. @@ -49414,10 +53335,7 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -49425,16 +53343,16 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedRoleAsync(this IKubernetes operations, V1Role body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceClusterRoleAsync(this IKubernetes operations, V1ClusterRole body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedRoleWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceClusterRoleWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a Role + /// delete a ClusterRole /// /// /// The operations group for this extension method. @@ -49442,10 +53360,13 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the Role + /// name of the ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -49472,13 +53393,13 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedRole(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteClusterRole(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedRoleAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteClusterRoleAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a Role + /// delete a ClusterRole /// /// /// The operations group for this extension method. @@ -49486,10 +53407,13 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the Role + /// name of the ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -49519,16 +53443,16 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedRoleAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteClusterRoleAsync(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedRoleWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteClusterRoleWithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified Role + /// partially update the specified ClusterRole /// /// /// The operations group for this extension method. @@ -49536,21 +53460,18 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. /// - public static V1Role PatchNamespacedRole(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V1ClusterRole PatchClusterRole(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) { - return operations.PatchNamespacedRoleAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchClusterRoleAsync(body, name, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified Role + /// partially update the specified ClusterRole /// /// /// The operations group for this extension method. @@ -49558,10 +53479,7 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -49569,9 +53487,9 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedRoleAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchClusterRoleAsync(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedRoleWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchClusterRoleWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -49583,6 +53501,9 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -49590,11 +53511,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -49630,9 +53559,6 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -49649,9 +53575,12 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1RoleBindingList ListRoleBindingForAllNamespaces(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + /// + /// If 'true', then the output is pretty printed. + /// + public static V1RoleBindingList ListNamespacedRoleBinding(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListRoleBindingForAllNamespacesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ListNamespacedRoleBindingAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// @@ -49660,6 +53589,9 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -49667,11 +53599,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -49707,9 +53647,6 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -49726,23 +53663,73 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task ListRoleBindingForAllNamespacesAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedRoleBindingAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListRoleBindingForAllNamespacesWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedRoleBindingWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Role + /// create a RoleBinding + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1RoleBinding CreateNamespacedRoleBinding(this IKubernetes operations, V1RoleBinding body, string namespaceParameter, string pretty = default(string)) + { + return operations.CreateNamespacedRoleBindingAsync(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// create a RoleBinding + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task CreateNamespacedRoleBindingAsync(this IKubernetes operations, V1RoleBinding body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateNamespacedRoleBindingWithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete collection of RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -49750,11 +53737,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -49790,9 +53785,6 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -49809,17 +53801,23 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1RoleList ListRoleForAllNamespaces(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteCollectionNamespacedRoleBinding(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListRoleForAllNamespacesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedRoleBindingAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Role + /// delete collection of RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -49827,11 +53825,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -49867,9 +53873,6 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -49886,51 +53889,281 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task ListRoleForAllNamespacesAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedRoleBindingAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListRoleForAllNamespacesWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedRoleBindingWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// get available resources + /// read the specified RoleBinding /// /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources24(this IKubernetes operations) + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1RoleBinding ReadNamespacedRoleBinding(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.GetAPIResources24Async().GetAwaiter().GetResult(); + return operations.ReadNamespacedRoleBindingAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// get available resources + /// read the specified RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task GetAPIResources24Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedRoleBindingAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources24WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedRoleBindingWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind ClusterRoleBinding + /// replace the specified RoleBinding + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1RoleBinding ReplaceNamespacedRoleBinding(this IKubernetes operations, V1RoleBinding body, string name, string namespaceParameter, string pretty = default(string)) + { + return operations.ReplaceNamespacedRoleBindingAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace the specified RoleBinding + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReplaceNamespacedRoleBindingAsync(this IKubernetes operations, V1RoleBinding body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceNamespacedRoleBindingWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete a RoleBinding + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteNamespacedRoleBinding(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + { + return operations.DeleteNamespacedRoleBindingAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete a RoleBinding + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteNamespacedRoleBindingAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.DeleteNamespacedRoleBindingWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update the specified RoleBinding + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1RoleBinding PatchNamespacedRoleBinding(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + { + return operations.PatchNamespacedRoleBindingAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update the specified RoleBinding + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchNamespacedRoleBindingAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchNamespacedRoleBindingWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -49938,11 +54171,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -49997,17 +54238,20 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1ClusterRoleBindingList ListClusterRoleBinding1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1RoleList ListNamespacedRole(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListClusterRoleBinding1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedRoleAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind ClusterRoleBinding + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -50015,11 +54259,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -50077,58 +54329,67 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListClusterRoleBinding1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedRoleAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListClusterRoleBinding1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedRoleWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a ClusterRoleBinding + /// create a Role /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1ClusterRoleBinding CreateClusterRoleBinding1(this IKubernetes operations, V1alpha1ClusterRoleBinding body, string pretty = default(string)) + public static V1Role CreateNamespacedRole(this IKubernetes operations, V1Role body, string namespaceParameter, string pretty = default(string)) { - return operations.CreateClusterRoleBinding1Async(body, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedRoleAsync(body, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// create a ClusterRoleBinding + /// create a Role /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task CreateClusterRoleBinding1Async(this IKubernetes operations, V1alpha1ClusterRoleBinding body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedRoleAsync(this IKubernetes operations, V1Role body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateClusterRoleBinding1WithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedRoleWithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of ClusterRoleBinding + /// delete collection of Role /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -50136,11 +54397,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -50195,17 +54464,20 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionClusterRoleBinding1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedRole(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionClusterRoleBinding1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedRoleAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of ClusterRoleBinding + /// delete collection of Role /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -50213,11 +54485,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -50275,39 +54555,45 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionClusterRoleBinding1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedRoleAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionClusterRoleBinding1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedRoleWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified ClusterRoleBinding + /// read the specified Role /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1ClusterRoleBinding ReadClusterRoleBinding1(this IKubernetes operations, string name, string pretty = default(string)) + public static V1Role ReadNamespacedRole(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReadClusterRoleBinding1Async(name, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedRoleAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// read the specified ClusterRoleBinding + /// read the specified Role /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -50315,16 +54601,16 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadClusterRoleBinding1Async(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedRoleAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadClusterRoleBinding1WithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedRoleWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified ClusterRoleBinding + /// replace the specified Role /// /// /// The operations group for this extension method. @@ -50332,18 +54618,21 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1ClusterRoleBinding ReplaceClusterRoleBinding1(this IKubernetes operations, V1alpha1ClusterRoleBinding body, string name, string pretty = default(string)) + public static V1Role ReplaceNamespacedRole(this IKubernetes operations, V1Role body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceClusterRoleBinding1Async(body, name, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedRoleAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified ClusterRoleBinding + /// replace the specified Role /// /// /// The operations group for this extension method. @@ -50351,7 +54640,10 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -50359,16 +54651,16 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceClusterRoleBinding1Async(this IKubernetes operations, V1alpha1ClusterRoleBinding body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedRoleAsync(this IKubernetes operations, V1Role body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceClusterRoleBinding1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedRoleWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a ClusterRoleBinding + /// delete a Role /// /// /// The operations group for this extension method. @@ -50376,7 +54668,16 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -50403,13 +54704,13 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteClusterRoleBinding1(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedRole(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteClusterRoleBinding1Async(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedRoleAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a ClusterRoleBinding + /// delete a Role /// /// /// The operations group for this extension method. @@ -50417,7 +54718,16 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -50447,16 +54757,16 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteClusterRoleBinding1Async(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedRoleAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteClusterRoleBinding1WithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedRoleWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified Role /// /// /// The operations group for this extension method. @@ -50464,18 +54774,21 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1ClusterRoleBinding PatchClusterRoleBinding1(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + public static V1Role PatchNamespacedRole(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchClusterRoleBinding1Async(body, name, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedRoleAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified Role /// /// /// The operations group for this extension method. @@ -50483,7 +54796,10 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -50491,16 +54807,16 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchClusterRoleBinding1Async(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedRoleAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchClusterRoleBinding1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedRoleWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind RoleBinding /// /// /// The operations group for this extension method. @@ -50512,11 +54828,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -50552,6 +54876,9 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -50568,16 +54895,13 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1alpha1ClusterRoleList ListClusterRole1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1RoleBindingList ListRoleBindingForAllNamespaces(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListClusterRole1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListRoleBindingForAllNamespacesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind RoleBinding /// /// /// The operations group for this extension method. @@ -50589,11 +54913,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -50629,6 +54961,9 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -50645,87 +54980,54 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task ListClusterRole1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListRoleBindingForAllNamespacesAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListClusterRole1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListRoleBindingForAllNamespacesWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a ClusterRole + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1alpha1ClusterRole CreateClusterRole1(this IKubernetes operations, V1alpha1ClusterRole body, string pretty = default(string)) - { - return operations.CreateClusterRole1Async(body, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a ClusterRole - /// - /// - /// The operations group for this extension method. + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// If true, partially initialized resources are included in the response. /// - /// - /// The cancellation token. - /// - public static async Task CreateClusterRole1Async(this IKubernetes operations, V1alpha1ClusterRole body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateClusterRole1WithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete collection of ClusterRole - /// - /// - /// The operations group for this extension method. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// /// /// limit is a maximum number of responses to return for a list call. If more @@ -50750,6 +55052,9 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -50766,16 +55071,13 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteCollectionClusterRole1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1RoleList ListRoleForAllNamespaces(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.DeleteCollectionClusterRole1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListRoleForAllNamespacesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// delete collection of ClusterRole + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. @@ -50787,11 +55089,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -50827,6 +55137,9 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -50843,245 +55156,51 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteCollectionClusterRole1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteCollectionClusterRole1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read the specified ClusterRole - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the ClusterRole - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1alpha1ClusterRole ReadClusterRole1(this IKubernetes operations, string name, string pretty = default(string)) - { - return operations.ReadClusterRole1Async(name, pretty).GetAwaiter().GetResult(); - } - - /// - /// read the specified ClusterRole - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the ClusterRole - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadClusterRole1Async(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadClusterRole1WithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace the specified ClusterRole - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1alpha1ClusterRole ReplaceClusterRole1(this IKubernetes operations, V1alpha1ClusterRole body, string name, string pretty = default(string)) - { - return operations.ReplaceClusterRole1Async(body, name, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace the specified ClusterRole - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceClusterRole1Async(this IKubernetes operations, V1alpha1ClusterRole body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceClusterRole1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete a ClusterRole - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteClusterRole1(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) - { - return operations.DeleteClusterRole1Async(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete a ClusterRole - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task DeleteClusterRole1Async(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListRoleForAllNamespacesAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteClusterRole1WithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListRoleForAllNamespacesWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified ClusterRole + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1alpha1ClusterRole PatchClusterRole1(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + public static V1APIResourceList GetAPIResources26(this IKubernetes operations) { - return operations.PatchClusterRole1Async(body, name, pretty).GetAwaiter().GetResult(); + return operations.GetAPIResources26Async().GetAwaiter().GetResult(); } /// - /// partially update the specified ClusterRole + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task PatchClusterRole1Async(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources26Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchClusterRole1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources26WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind ClusterRoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -51089,11 +55208,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -51148,20 +55275,17 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1RoleBindingList ListNamespacedRoleBinding1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1alpha1ClusterRoleBindingList ListClusterRoleBinding1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedRoleBinding1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListClusterRoleBinding1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind ClusterRoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -51169,11 +55293,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -51231,67 +55363,58 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedRoleBinding1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListClusterRoleBinding1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedRoleBinding1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListClusterRoleBinding1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a RoleBinding + /// create a ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1RoleBinding CreateNamespacedRoleBinding1(this IKubernetes operations, V1alpha1RoleBinding body, string namespaceParameter, string pretty = default(string)) + public static V1alpha1ClusterRoleBinding CreateClusterRoleBinding1(this IKubernetes operations, V1alpha1ClusterRoleBinding body, string pretty = default(string)) { - return operations.CreateNamespacedRoleBinding1Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.CreateClusterRoleBinding1Async(body, pretty).GetAwaiter().GetResult(); } /// - /// create a RoleBinding + /// create a ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task CreateNamespacedRoleBinding1Async(this IKubernetes operations, V1alpha1RoleBinding body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateClusterRoleBinding1Async(this IKubernetes operations, V1alpha1ClusterRoleBinding body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedRoleBinding1WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateClusterRoleBinding1WithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of RoleBinding + /// delete collection of ClusterRoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -51299,11 +55422,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -51358,20 +55489,17 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedRoleBinding1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionClusterRoleBinding1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedRoleBinding1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionClusterRoleBinding1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of RoleBinding + /// delete collection of ClusterRoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -51379,11 +55507,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -51441,45 +55577,39 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedRoleBinding1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionClusterRoleBinding1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedRoleBinding1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionClusterRoleBinding1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified RoleBinding + /// read the specified ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1RoleBinding ReadNamespacedRoleBinding1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1alpha1ClusterRoleBinding ReadClusterRoleBinding1(this IKubernetes operations, string name, string pretty = default(string)) { - return operations.ReadNamespacedRoleBinding1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadClusterRoleBinding1Async(name, pretty).GetAwaiter().GetResult(); } /// - /// read the specified RoleBinding + /// read the specified ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -51487,16 +55617,16 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedRoleBinding1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadClusterRoleBinding1Async(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedRoleBinding1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadClusterRoleBinding1WithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified RoleBinding + /// replace the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -51504,21 +55634,18 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1RoleBinding ReplaceNamespacedRoleBinding1(this IKubernetes operations, V1alpha1RoleBinding body, string name, string namespaceParameter, string pretty = default(string)) + public static V1alpha1ClusterRoleBinding ReplaceClusterRoleBinding1(this IKubernetes operations, V1alpha1ClusterRoleBinding body, string name, string pretty = default(string)) { - return operations.ReplaceNamespacedRoleBinding1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceClusterRoleBinding1Async(body, name, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified RoleBinding + /// replace the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -51526,10 +55653,7 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -51537,16 +55661,16 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedRoleBinding1Async(this IKubernetes operations, V1alpha1RoleBinding body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceClusterRoleBinding1Async(this IKubernetes operations, V1alpha1ClusterRoleBinding body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedRoleBinding1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceClusterRoleBinding1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a RoleBinding + /// delete a ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -51554,10 +55678,13 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the RoleBinding + /// name of the ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -51584,13 +55711,13 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedRoleBinding1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteClusterRoleBinding1(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedRoleBinding1Async(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteClusterRoleBinding1Async(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a RoleBinding + /// delete a ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -51598,10 +55725,13 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the RoleBinding + /// name of the ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -51631,16 +55761,16 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedRoleBinding1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteClusterRoleBinding1Async(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedRoleBinding1WithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteClusterRoleBinding1WithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified RoleBinding + /// partially update the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -51648,21 +55778,18 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1RoleBinding PatchNamespacedRoleBinding1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V1alpha1ClusterRoleBinding PatchClusterRoleBinding1(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) { - return operations.PatchNamespacedRoleBinding1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchClusterRoleBinding1Async(body, name, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified RoleBinding + /// partially update the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -51670,10 +55797,7 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -51681,23 +55805,20 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedRoleBinding1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchClusterRoleBinding1Async(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedRoleBinding1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchClusterRoleBinding1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Role + /// list or watch objects of kind ClusterRole /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -51705,11 +55826,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -51764,20 +55893,17 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1RoleList ListNamespacedRole1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1alpha1ClusterRoleList ListClusterRole1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedRole1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListClusterRole1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Role + /// list or watch objects of kind ClusterRole /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -51785,11 +55911,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -51847,67 +55981,58 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedRole1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListClusterRole1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedRole1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListClusterRole1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a Role + /// create a ClusterRole /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1Role CreateNamespacedRole1(this IKubernetes operations, V1alpha1Role body, string namespaceParameter, string pretty = default(string)) + public static V1alpha1ClusterRole CreateClusterRole1(this IKubernetes operations, V1alpha1ClusterRole body, string pretty = default(string)) { - return operations.CreateNamespacedRole1Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.CreateClusterRole1Async(body, pretty).GetAwaiter().GetResult(); } /// - /// create a Role + /// create a ClusterRole /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task CreateNamespacedRole1Async(this IKubernetes operations, V1alpha1Role body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateClusterRole1Async(this IKubernetes operations, V1alpha1ClusterRole body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedRole1WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateClusterRole1WithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of Role + /// delete collection of ClusterRole /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -51915,11 +56040,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -51974,20 +56107,17 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedRole1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionClusterRole1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedRole1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionClusterRole1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of Role + /// delete collection of ClusterRole /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -51995,11 +56125,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -52057,45 +56195,39 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedRole1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionClusterRole1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedRole1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionClusterRole1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified Role + /// read the specified ClusterRole /// /// /// The operations group for this extension method. /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1Role ReadNamespacedRole1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1alpha1ClusterRole ReadClusterRole1(this IKubernetes operations, string name, string pretty = default(string)) { - return operations.ReadNamespacedRole1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadClusterRole1Async(name, pretty).GetAwaiter().GetResult(); } /// - /// read the specified Role + /// read the specified ClusterRole /// /// /// The operations group for this extension method. /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -52103,16 +56235,16 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedRole1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadClusterRole1Async(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedRole1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadClusterRole1WithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified Role + /// replace the specified ClusterRole /// /// /// The operations group for this extension method. @@ -52120,21 +56252,18 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1Role ReplaceNamespacedRole1(this IKubernetes operations, V1alpha1Role body, string name, string namespaceParameter, string pretty = default(string)) + public static V1alpha1ClusterRole ReplaceClusterRole1(this IKubernetes operations, V1alpha1ClusterRole body, string name, string pretty = default(string)) { - return operations.ReplaceNamespacedRole1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceClusterRole1Async(body, name, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified Role + /// replace the specified ClusterRole /// /// /// The operations group for this extension method. @@ -52142,10 +56271,7 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -52153,16 +56279,16 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedRole1Async(this IKubernetes operations, V1alpha1Role body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceClusterRole1Async(this IKubernetes operations, V1alpha1ClusterRole body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedRole1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceClusterRole1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a Role + /// delete a ClusterRole /// /// /// The operations group for this extension method. @@ -52170,10 +56296,13 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the Role + /// name of the ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -52200,13 +56329,13 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedRole1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteClusterRole1(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedRole1Async(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteClusterRole1Async(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a Role + /// delete a ClusterRole /// /// /// The operations group for this extension method. @@ -52214,10 +56343,13 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the Role + /// name of the ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -52247,16 +56379,16 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedRole1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteClusterRole1Async(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedRole1WithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteClusterRole1WithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified Role + /// partially update the specified ClusterRole /// /// /// The operations group for this extension method. @@ -52264,21 +56396,18 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1Role PatchNamespacedRole1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V1alpha1ClusterRole PatchClusterRole1(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) { - return operations.PatchNamespacedRole1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchClusterRole1Async(body, name, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified Role + /// partially update the specified ClusterRole /// /// /// The operations group for this extension method. @@ -52286,10 +56415,7 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -52297,9 +56423,9 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedRole1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchClusterRole1Async(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedRole1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchClusterRole1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -52311,6 +56437,9 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -52318,11 +56447,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -52358,9 +56495,94 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// If 'true', then the output is pretty printed. /// + public static V1alpha1RoleBindingList ListNamespacedRoleBinding1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + { + return operations.ListNamespacedRoleBinding1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// list or watch objects of kind RoleBinding + /// + /// + /// The operations group for this extension method. + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -52377,17 +56599,73 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1alpha1RoleBindingList ListRoleBindingForAllNamespaces1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ListNamespacedRoleBinding1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - return operations.ListRoleBindingForAllNamespaces1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + using (var _result = await operations.ListNamespacedRoleBinding1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// list or watch objects of kind RoleBinding + /// create a RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1RoleBinding CreateNamespacedRoleBinding1(this IKubernetes operations, V1alpha1RoleBinding body, string namespaceParameter, string pretty = default(string)) + { + return operations.CreateNamespacedRoleBinding1Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// create a RoleBinding + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task CreateNamespacedRoleBinding1Async(this IKubernetes operations, V1alpha1RoleBinding body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateNamespacedRoleBinding1WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete collection of RoleBinding + /// + /// + /// The operations group for this extension method. + /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -52395,11 +56673,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -52435,9 +56721,6 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -52454,23 +56737,23 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// The cancellation token. + /// + /// If 'true', then the output is pretty printed. /// - public static async Task ListRoleBindingForAllNamespaces1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static V1Status DeleteCollectionNamespacedRoleBinding1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - using (var _result = await operations.ListRoleBindingForAllNamespaces1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } + return operations.DeleteCollectionNamespacedRoleBinding1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Role + /// delete collection of RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -52478,11 +56761,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -52518,9 +56809,6 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -52537,128 +56825,281 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1alpha1RoleList ListRoleForAllNamespaces1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteCollectionNamespacedRoleBinding1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - return operations.ListRoleForAllNamespaces1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + using (var _result = await operations.DeleteCollectionNamespacedRoleBinding1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// list or watch objects of kind Role + /// read the specified RoleBinding /// /// /// The operations group for this extension method. /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// + /// name of the RoleBinding /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. + /// + /// object name and auth scope, such as for teams and projects /// - /// - /// If true, partially initialized resources are included in the response. + /// + /// If 'true', then the output is pretty printed. /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + public static V1alpha1RoleBinding ReadNamespacedRoleBinding1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + { + return operations.ReadNamespacedRoleBinding1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// read the specified RoleBinding + /// + /// + /// The operations group for this extension method. /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// + /// The cancellation token. /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + public static async Task ReadNamespacedRoleBinding1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadNamespacedRoleBinding1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace the specified RoleBinding + /// + /// + /// The operations group for this extension method. /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1RoleBinding ReplaceNamespacedRoleBinding1(this IKubernetes operations, V1alpha1RoleBinding body, string name, string namespaceParameter, string pretty = default(string)) + { + return operations.ReplaceNamespacedRoleBinding1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace the specified RoleBinding + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task ListRoleForAllNamespaces1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedRoleBinding1Async(this IKubernetes operations, V1alpha1RoleBinding body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListRoleForAllNamespaces1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedRoleBinding1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// get available resources + /// delete a RoleBinding /// /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources25(this IKubernetes operations) + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteNamespacedRoleBinding1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.GetAPIResources25Async().GetAwaiter().GetResult(); + return operations.DeleteNamespacedRoleBinding1Async(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// get available resources + /// delete a RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task GetAPIResources25Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedRoleBinding1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources25WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedRoleBinding1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind ClusterRoleBinding + /// partially update the specified RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1RoleBinding PatchNamespacedRoleBinding1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + { + return operations.PatchNamespacedRoleBinding1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update the specified RoleBinding + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchNamespacedRoleBinding1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchNamespacedRoleBinding1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// list or watch objects of kind Role + /// + /// + /// The operations group for this extension method. + /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -52666,11 +57107,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -52725,17 +57174,20 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ClusterRoleBindingList ListClusterRoleBinding2(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1alpha1RoleList ListNamespacedRole1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListClusterRoleBinding2Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedRole1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind ClusterRoleBinding + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -52743,11 +57195,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -52805,58 +57265,67 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListClusterRoleBinding2Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedRole1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListClusterRoleBinding2WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedRole1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a ClusterRoleBinding + /// create a Role /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ClusterRoleBinding CreateClusterRoleBinding2(this IKubernetes operations, V1beta1ClusterRoleBinding body, string pretty = default(string)) + public static V1alpha1Role CreateNamespacedRole1(this IKubernetes operations, V1alpha1Role body, string namespaceParameter, string pretty = default(string)) { - return operations.CreateClusterRoleBinding2Async(body, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedRole1Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// create a ClusterRoleBinding + /// create a Role /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task CreateClusterRoleBinding2Async(this IKubernetes operations, V1beta1ClusterRoleBinding body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedRole1Async(this IKubernetes operations, V1alpha1Role body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateClusterRoleBinding2WithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedRole1WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of ClusterRoleBinding + /// delete collection of Role /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -52864,11 +57333,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -52923,17 +57400,20 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionClusterRoleBinding2(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedRole1(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionClusterRoleBinding2Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedRole1Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of ClusterRoleBinding + /// delete collection of Role /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -52941,11 +57421,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -53003,39 +57491,45 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionClusterRoleBinding2Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedRole1Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionClusterRoleBinding2WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedRole1WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified ClusterRoleBinding + /// read the specified Role /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ClusterRoleBinding ReadClusterRoleBinding2(this IKubernetes operations, string name, string pretty = default(string)) + public static V1alpha1Role ReadNamespacedRole1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReadClusterRoleBinding2Async(name, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedRole1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// read the specified ClusterRoleBinding + /// read the specified Role /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -53043,16 +57537,16 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadClusterRoleBinding2Async(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedRole1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadClusterRoleBinding2WithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedRole1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified ClusterRoleBinding + /// replace the specified Role /// /// /// The operations group for this extension method. @@ -53060,18 +57554,21 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ClusterRoleBinding ReplaceClusterRoleBinding2(this IKubernetes operations, V1beta1ClusterRoleBinding body, string name, string pretty = default(string)) + public static V1alpha1Role ReplaceNamespacedRole1(this IKubernetes operations, V1alpha1Role body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceClusterRoleBinding2Async(body, name, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedRole1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified ClusterRoleBinding + /// replace the specified Role /// /// /// The operations group for this extension method. @@ -53079,7 +57576,10 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -53087,16 +57587,16 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceClusterRoleBinding2Async(this IKubernetes operations, V1beta1ClusterRoleBinding body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedRole1Async(this IKubernetes operations, V1alpha1Role body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceClusterRoleBinding2WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedRole1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a ClusterRoleBinding + /// delete a Role /// /// /// The operations group for this extension method. @@ -53104,7 +57604,16 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -53131,13 +57640,13 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteClusterRoleBinding2(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedRole1(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteClusterRoleBinding2Async(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedRole1Async(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a ClusterRoleBinding + /// delete a Role /// /// /// The operations group for this extension method. @@ -53145,7 +57654,16 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -53175,16 +57693,16 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteClusterRoleBinding2Async(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedRole1Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteClusterRoleBinding2WithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedRole1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified Role /// /// /// The operations group for this extension method. @@ -53192,18 +57710,21 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ClusterRoleBinding PatchClusterRoleBinding2(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + public static V1alpha1Role PatchNamespacedRole1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchClusterRoleBinding2Async(body, name, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedRole1Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified Role /// /// /// The operations group for this extension method. @@ -53211,7 +57732,10 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -53219,16 +57743,16 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchClusterRoleBinding2Async(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedRole1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchClusterRoleBinding2WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedRole1WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind RoleBinding /// /// /// The operations group for this extension method. @@ -53240,11 +57764,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -53280,6 +57812,9 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -53296,16 +57831,13 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1ClusterRoleList ListClusterRole2(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1alpha1RoleBindingList ListRoleBindingForAllNamespaces1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListClusterRole2Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListRoleBindingForAllNamespaces1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind RoleBinding /// /// /// The operations group for this extension method. @@ -53317,11 +57849,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -53357,6 +57897,9 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -53373,60 +57916,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task ListClusterRole2Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListClusterRole2WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a ClusterRole - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1ClusterRole CreateClusterRole2(this IKubernetes operations, V1beta1ClusterRole body, string pretty = default(string)) - { - return operations.CreateClusterRole2Async(body, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a ClusterRole - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateClusterRole2Async(this IKubernetes operations, V1beta1ClusterRole body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListRoleBindingForAllNamespaces1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateClusterRole2WithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListRoleBindingForAllNamespaces1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of ClusterRole + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. @@ -53438,11 +57940,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -53478,6 +57988,9 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -53494,16 +58007,13 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteCollectionClusterRole2(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1alpha1RoleList ListRoleForAllNamespaces1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.DeleteCollectionClusterRole2Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListRoleForAllNamespaces1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// delete collection of ClusterRole + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. @@ -53515,11 +58025,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -53555,6 +58073,9 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -53571,245 +58092,51 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task DeleteCollectionClusterRole2Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteCollectionClusterRole2WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read the specified ClusterRole - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the ClusterRole - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1ClusterRole ReadClusterRole2(this IKubernetes operations, string name, string pretty = default(string)) - { - return operations.ReadClusterRole2Async(name, pretty).GetAwaiter().GetResult(); - } - - /// - /// read the specified ClusterRole - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the ClusterRole - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadClusterRole2Async(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadClusterRole2WithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace the specified ClusterRole - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1ClusterRole ReplaceClusterRole2(this IKubernetes operations, V1beta1ClusterRole body, string name, string pretty = default(string)) - { - return operations.ReplaceClusterRole2Async(body, name, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace the specified ClusterRole - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceClusterRole2Async(this IKubernetes operations, V1beta1ClusterRole body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceClusterRole2WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete a ClusterRole - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteClusterRole2(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) - { - return operations.DeleteClusterRole2Async(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete a ClusterRole - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteClusterRole2Async(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListRoleForAllNamespaces1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteClusterRole2WithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListRoleForAllNamespaces1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified ClusterRole + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1ClusterRole PatchClusterRole2(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + public static V1APIResourceList GetAPIResources27(this IKubernetes operations) { - return operations.PatchClusterRole2Async(body, name, pretty).GetAwaiter().GetResult(); + return operations.GetAPIResources27Async().GetAwaiter().GetResult(); } /// - /// partially update the specified ClusterRole + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task PatchClusterRole2Async(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources27Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchClusterRole2WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources27WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind ClusterRoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -53817,11 +58144,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -53876,20 +58211,17 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1RoleBindingList ListNamespacedRoleBinding2(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1ClusterRoleBindingList ListClusterRoleBinding2(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedRoleBinding2Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListClusterRoleBinding2Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind ClusterRoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -53897,11 +58229,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -53959,67 +58299,58 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedRoleBinding2Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListClusterRoleBinding2Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedRoleBinding2WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListClusterRoleBinding2WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a RoleBinding + /// create a ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1RoleBinding CreateNamespacedRoleBinding2(this IKubernetes operations, V1beta1RoleBinding body, string namespaceParameter, string pretty = default(string)) + public static V1beta1ClusterRoleBinding CreateClusterRoleBinding2(this IKubernetes operations, V1beta1ClusterRoleBinding body, string pretty = default(string)) { - return operations.CreateNamespacedRoleBinding2Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.CreateClusterRoleBinding2Async(body, pretty).GetAwaiter().GetResult(); } /// - /// create a RoleBinding + /// create a ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task CreateNamespacedRoleBinding2Async(this IKubernetes operations, V1beta1RoleBinding body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateClusterRoleBinding2Async(this IKubernetes operations, V1beta1ClusterRoleBinding body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedRoleBinding2WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateClusterRoleBinding2WithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of RoleBinding + /// delete collection of ClusterRoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -54027,11 +58358,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -54086,20 +58425,17 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedRoleBinding2(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionClusterRoleBinding2(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedRoleBinding2Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionClusterRoleBinding2Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of RoleBinding + /// delete collection of ClusterRoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -54107,11 +58443,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -54169,45 +58513,39 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedRoleBinding2Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionClusterRoleBinding2Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedRoleBinding2WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionClusterRoleBinding2WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified RoleBinding + /// read the specified ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1RoleBinding ReadNamespacedRoleBinding2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1ClusterRoleBinding ReadClusterRoleBinding2(this IKubernetes operations, string name, string pretty = default(string)) { - return operations.ReadNamespacedRoleBinding2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadClusterRoleBinding2Async(name, pretty).GetAwaiter().GetResult(); } /// - /// read the specified RoleBinding + /// read the specified ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -54215,16 +58553,16 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedRoleBinding2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadClusterRoleBinding2Async(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedRoleBinding2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadClusterRoleBinding2WithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified RoleBinding + /// replace the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -54232,21 +58570,18 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1RoleBinding ReplaceNamespacedRoleBinding2(this IKubernetes operations, V1beta1RoleBinding body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1ClusterRoleBinding ReplaceClusterRoleBinding2(this IKubernetes operations, V1beta1ClusterRoleBinding body, string name, string pretty = default(string)) { - return operations.ReplaceNamespacedRoleBinding2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceClusterRoleBinding2Async(body, name, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified RoleBinding + /// replace the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -54254,10 +58589,7 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -54265,16 +58597,16 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedRoleBinding2Async(this IKubernetes operations, V1beta1RoleBinding body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceClusterRoleBinding2Async(this IKubernetes operations, V1beta1ClusterRoleBinding body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedRoleBinding2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceClusterRoleBinding2WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a RoleBinding + /// delete a ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -54282,10 +58614,13 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the RoleBinding + /// name of the ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -54312,13 +58647,13 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedRoleBinding2(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteClusterRoleBinding2(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedRoleBinding2Async(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteClusterRoleBinding2Async(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a RoleBinding + /// delete a ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -54326,10 +58661,13 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the RoleBinding + /// name of the ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -54359,16 +58697,16 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedRoleBinding2Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteClusterRoleBinding2Async(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedRoleBinding2WithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteClusterRoleBinding2WithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified RoleBinding + /// partially update the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -54376,21 +58714,18 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1RoleBinding PatchNamespacedRoleBinding2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1ClusterRoleBinding PatchClusterRoleBinding2(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) { - return operations.PatchNamespacedRoleBinding2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchClusterRoleBinding2Async(body, name, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified RoleBinding + /// partially update the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -54398,10 +58733,7 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -54409,23 +58741,20 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedRoleBinding2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchClusterRoleBinding2Async(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedRoleBinding2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchClusterRoleBinding2WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Role + /// list or watch objects of kind ClusterRole /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -54433,11 +58762,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -54492,20 +58829,17 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1RoleList ListNamespacedRole2(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1ClusterRoleList ListClusterRole2(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedRole2Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListClusterRole2Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Role + /// list or watch objects of kind ClusterRole /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -54513,11 +58847,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -54575,67 +58917,58 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedRole2Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListClusterRole2Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedRole2WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListClusterRole2WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a Role + /// create a ClusterRole /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Role CreateNamespacedRole2(this IKubernetes operations, V1beta1Role body, string namespaceParameter, string pretty = default(string)) + public static V1beta1ClusterRole CreateClusterRole2(this IKubernetes operations, V1beta1ClusterRole body, string pretty = default(string)) { - return operations.CreateNamespacedRole2Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.CreateClusterRole2Async(body, pretty).GetAwaiter().GetResult(); } /// - /// create a Role + /// create a ClusterRole /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task CreateNamespacedRole2Async(this IKubernetes operations, V1beta1Role body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateClusterRole2Async(this IKubernetes operations, V1beta1ClusterRole body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedRole2WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateClusterRole2WithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of Role + /// delete collection of ClusterRole /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -54643,11 +58976,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -54702,20 +59043,17 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedRole2(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionClusterRole2(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedRole2Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionClusterRole2Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of Role + /// delete collection of ClusterRole /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -54723,11 +59061,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -54785,45 +59131,39 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedRole2Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionClusterRole2Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedRole2WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionClusterRole2WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified Role + /// read the specified ClusterRole /// /// /// The operations group for this extension method. /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Role ReadNamespacedRole2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1ClusterRole ReadClusterRole2(this IKubernetes operations, string name, string pretty = default(string)) { - return operations.ReadNamespacedRole2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadClusterRole2Async(name, pretty).GetAwaiter().GetResult(); } /// - /// read the specified Role + /// read the specified ClusterRole /// /// /// The operations group for this extension method. /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -54831,16 +59171,16 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedRole2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadClusterRole2Async(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedRole2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadClusterRole2WithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified Role + /// replace the specified ClusterRole /// /// /// The operations group for this extension method. @@ -54848,21 +59188,18 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Role ReplaceNamespacedRole2(this IKubernetes operations, V1beta1Role body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1ClusterRole ReplaceClusterRole2(this IKubernetes operations, V1beta1ClusterRole body, string name, string pretty = default(string)) { - return operations.ReplaceNamespacedRole2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReplaceClusterRole2Async(body, name, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified Role + /// replace the specified ClusterRole /// /// /// The operations group for this extension method. @@ -54870,10 +59207,7 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -54881,16 +59215,16 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedRole2Async(this IKubernetes operations, V1beta1Role body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceClusterRole2Async(this IKubernetes operations, V1beta1ClusterRole body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedRole2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceClusterRole2WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a Role + /// delete a ClusterRole /// /// /// The operations group for this extension method. @@ -54898,10 +59232,13 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the Role + /// name of the ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -54928,13 +59265,13 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedRole2(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteClusterRole2(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedRole2Async(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteClusterRole2Async(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a Role + /// delete a ClusterRole /// /// /// The operations group for this extension method. @@ -54942,10 +59279,13 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the Role + /// name of the ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -54975,16 +59315,16 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedRole2Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteClusterRole2Async(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedRole2WithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteClusterRole2WithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified Role + /// partially update the specified ClusterRole /// /// /// The operations group for this extension method. @@ -54992,21 +59332,18 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Role PatchNamespacedRole2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1ClusterRole PatchClusterRole2(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) { - return operations.PatchNamespacedRole2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.PatchClusterRole2Async(body, name, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified Role + /// partially update the specified ClusterRole /// /// /// The operations group for this extension method. @@ -55014,10 +59351,7 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -55025,9 +59359,9 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedRole2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchClusterRole2Async(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedRole2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchClusterRole2WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -55039,6 +59373,9 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -55046,11 +59383,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -55086,9 +59431,94 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// If 'true', then the output is pretty printed. /// + public static V1beta1RoleBindingList ListNamespacedRoleBinding2(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + { + return operations.ListNamespacedRoleBinding2Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// list or watch objects of kind RoleBinding + /// + /// + /// The operations group for this extension method. + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -55105,17 +59535,73 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1beta1RoleBindingList ListRoleBindingForAllNamespaces2(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ListNamespacedRoleBinding2Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - return operations.ListRoleBindingForAllNamespaces2Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + using (var _result = await operations.ListNamespacedRoleBinding2WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// list or watch objects of kind RoleBinding + /// create a RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1RoleBinding CreateNamespacedRoleBinding2(this IKubernetes operations, V1beta1RoleBinding body, string namespaceParameter, string pretty = default(string)) + { + return operations.CreateNamespacedRoleBinding2Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// create a RoleBinding + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task CreateNamespacedRoleBinding2Async(this IKubernetes operations, V1beta1RoleBinding body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateNamespacedRoleBinding2WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete collection of RoleBinding + /// + /// + /// The operations group for this extension method. + /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -55123,11 +59609,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -55163,9 +59657,6 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -55182,23 +59673,23 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// The cancellation token. + /// + /// If 'true', then the output is pretty printed. /// - public static async Task ListRoleBindingForAllNamespaces2Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static V1Status DeleteCollectionNamespacedRoleBinding2(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - using (var _result = await operations.ListRoleBindingForAllNamespaces2WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } + return operations.DeleteCollectionNamespacedRoleBinding2Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Role + /// delete collection of RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -55206,11 +59697,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -55246,9 +59745,6 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -55265,156 +59761,281 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1beta1RoleList ListRoleForAllNamespaces2(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteCollectionNamespacedRoleBinding2Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - return operations.ListRoleForAllNamespaces2Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + using (var _result = await operations.DeleteCollectionNamespacedRoleBinding2WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// list or watch objects of kind Role + /// read the specified RoleBinding /// /// /// The operations group for this extension method. /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// + /// name of the RoleBinding /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. + /// + /// object name and auth scope, such as for teams and projects /// - /// - /// If true, partially initialized resources are included in the response. + /// + /// If 'true', then the output is pretty printed. /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + public static V1beta1RoleBinding ReadNamespacedRoleBinding2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + { + return operations.ReadNamespacedRoleBinding2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// read the specified RoleBinding + /// + /// + /// The operations group for this extension method. /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// + /// The cancellation token. /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + public static async Task ReadNamespacedRoleBinding2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadNamespacedRoleBinding2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace the specified RoleBinding + /// + /// + /// The operations group for this extension method. /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1RoleBinding ReplaceNamespacedRoleBinding2(this IKubernetes operations, V1beta1RoleBinding body, string name, string namespaceParameter, string pretty = default(string)) + { + return operations.ReplaceNamespacedRoleBinding2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace the specified RoleBinding + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task ListRoleForAllNamespaces2Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedRoleBinding2Async(this IKubernetes operations, V1beta1RoleBinding body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListRoleForAllNamespaces2WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedRoleBinding2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// get information of a group + /// delete a RoleBinding /// /// /// The operations group for this extension method. /// - public static V1APIGroup GetAPIGroup14(this IKubernetes operations) + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteNamespacedRoleBinding2(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.GetAPIGroup14Async().GetAwaiter().GetResult(); + return operations.DeleteNamespacedRoleBinding2Async(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// get information of a group + /// delete a RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task GetAPIGroup14Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedRoleBinding2Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIGroup14WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedRoleBinding2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// get available resources + /// partially update the specified RoleBinding /// /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources26(this IKubernetes operations) + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1RoleBinding PatchNamespacedRoleBinding2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.GetAPIResources26Async().GetAwaiter().GetResult(); + return operations.PatchNamespacedRoleBinding2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// get available resources + /// partially update the specified RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task GetAPIResources26Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedRoleBinding2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources26WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedRoleBinding2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind PriorityClass + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -55422,11 +60043,19 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -55481,17 +60110,20 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1PriorityClassList ListPriorityClass(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1RoleList ListNamespacedRole2(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListPriorityClassAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedRole2Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind PriorityClass + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -55499,11 +60131,19 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -55561,58 +60201,67 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListPriorityClassAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedRole2Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListPriorityClassWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedRole2WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a PriorityClass + /// create a Role /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1PriorityClass CreatePriorityClass(this IKubernetes operations, V1alpha1PriorityClass body, string pretty = default(string)) + public static V1beta1Role CreateNamespacedRole2(this IKubernetes operations, V1beta1Role body, string namespaceParameter, string pretty = default(string)) { - return operations.CreatePriorityClassAsync(body, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedRole2Async(body, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// create a PriorityClass + /// create a Role /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task CreatePriorityClassAsync(this IKubernetes operations, V1alpha1PriorityClass body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedRole2Async(this IKubernetes operations, V1beta1Role body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreatePriorityClassWithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedRole2WithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of PriorityClass + /// delete collection of Role /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -55620,11 +60269,19 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -55679,17 +60336,20 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionPriorityClass(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedRole2(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionPriorityClassAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedRole2Async(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of PriorityClass + /// delete collection of Role /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -55697,11 +60357,19 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -55759,55 +60427,45 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionPriorityClassAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedRole2Async(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionPriorityClassWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedRole2WithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified PriorityClass + /// read the specified Role /// /// /// The operations group for this extension method. /// /// - /// name of the PriorityClass - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. + /// name of the Role /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1PriorityClass ReadPriorityClass(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1Role ReadNamespacedRole2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReadPriorityClassAsync(name, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedRole2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// read the specified PriorityClass + /// read the specified Role /// /// /// The operations group for this extension method. /// /// - /// name of the PriorityClass - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. + /// name of the Role /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -55815,16 +60473,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadPriorityClassAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedRole2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadPriorityClassWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedRole2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified PriorityClass + /// replace the specified Role /// /// /// The operations group for this extension method. @@ -55832,18 +60490,21 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the PriorityClass + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1PriorityClass ReplacePriorityClass(this IKubernetes operations, V1alpha1PriorityClass body, string name, string pretty = default(string)) + public static V1beta1Role ReplaceNamespacedRole2(this IKubernetes operations, V1beta1Role body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplacePriorityClassAsync(body, name, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedRole2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified PriorityClass + /// replace the specified Role /// /// /// The operations group for this extension method. @@ -55851,7 +60512,10 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the PriorityClass + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -55859,16 +60523,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplacePriorityClassAsync(this IKubernetes operations, V1alpha1PriorityClass body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedRole2Async(this IKubernetes operations, V1beta1Role body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplacePriorityClassWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedRole2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a PriorityClass + /// delete a Role /// /// /// The operations group for this extension method. @@ -55876,7 +60540,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the PriorityClass + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -55903,13 +60576,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeletePriorityClass(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedRole2(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeletePriorityClassAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedRole2Async(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a PriorityClass + /// delete a Role /// /// /// The operations group for this extension method. @@ -55917,7 +60590,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the PriorityClass + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -55947,16 +60629,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeletePriorityClassAsync(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedRole2Async(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeletePriorityClassWithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedRole2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified PriorityClass + /// partially update the specified Role /// /// /// The operations group for this extension method. @@ -55964,18 +60646,21 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the PriorityClass + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1PriorityClass PatchPriorityClass(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + public static V1beta1Role PatchNamespacedRole2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchPriorityClassAsync(body, name, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedRole2Async(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified PriorityClass + /// partially update the specified Role /// /// /// The operations group for this extension method. @@ -55983,7 +60668,10 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the PriorityClass + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -55991,79 +60679,20 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchPriorityClassAsync(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchPriorityClassWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - public static V1APIGroup GetAPIGroup15(this IKubernetes operations) - { - return operations.GetAPIGroup15Async().GetAwaiter().GetResult(); - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIGroup15Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIGroup15WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - public static V1APIResourceList GetAPIResources27(this IKubernetes operations) - { - return operations.GetAPIResources27Async().GetAwaiter().GetResult(); - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIResources27Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedRole2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources27WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedRole2WithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind PodPreset + /// list or watch objects of kind RoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -56071,11 +60700,19 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -56111,6 +60748,9 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -56127,23 +60767,17 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1alpha1PodPresetList ListNamespacedPodPreset(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1RoleBindingList ListRoleBindingForAllNamespaces2(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListNamespacedPodPresetAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListRoleBindingForAllNamespaces2Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind PodPreset + /// list or watch objects of kind RoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -56151,11 +60785,19 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -56191,6 +60833,9 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -56207,73 +60852,23 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task ListNamespacedPodPresetAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListRoleBindingForAllNamespaces2Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedPodPresetWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListRoleBindingForAllNamespaces2WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a PodPreset + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1alpha1PodPreset CreateNamespacedPodPreset(this IKubernetes operations, V1alpha1PodPreset body, string namespaceParameter, string pretty = default(string)) - { - return operations.CreateNamespacedPodPresetAsync(body, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a PodPreset - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateNamespacedPodPresetAsync(this IKubernetes operations, V1alpha1PodPreset body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateNamespacedPodPresetWithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete collection of PodPreset - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -56281,11 +60876,19 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -56321,6 +60924,9 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -56337,23 +60943,17 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteCollectionNamespacedPodPreset(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1RoleList ListRoleForAllNamespaces2(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.DeleteCollectionNamespacedPodPresetAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListRoleForAllNamespaces2Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// delete collection of PodPreset + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -56361,11 +60961,19 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -56401,6 +61009,9 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -56417,278 +61028,75 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteCollectionNamespacedPodPresetAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteCollectionNamespacedPodPresetWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read the specified PodPreset - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1alpha1PodPreset ReadNamespacedPodPreset(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) - { - return operations.ReadNamespacedPodPresetAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); - } - - /// - /// read the specified PodPreset - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedPodPresetAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedPodPresetWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace the specified PodPreset - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1alpha1PodPreset ReplaceNamespacedPodPreset(this IKubernetes operations, V1alpha1PodPreset body, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReplaceNamespacedPodPresetAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace the specified PodPreset - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task ReplaceNamespacedPodPresetAsync(this IKubernetes operations, V1alpha1PodPreset body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListRoleForAllNamespaces2Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedPodPresetWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListRoleForAllNamespaces2WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a PodPreset + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteNamespacedPodPreset(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1APIGroup GetAPIGroup15(this IKubernetes operations) { - return operations.DeleteNamespacedPodPresetAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.GetAPIGroup15Async().GetAwaiter().GetResult(); } /// - /// delete a PodPreset + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task DeleteNamespacedPodPresetAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIGroup15Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedPodPresetWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIGroup15WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified PodPreset + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1alpha1PodPreset PatchNamespacedPodPreset(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) + public static V1APIResourceList GetAPIResources28(this IKubernetes operations) { - return operations.PatchNamespacedPodPresetAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.GetAPIResources28Async().GetAwaiter().GetResult(); } /// - /// partially update the specified PodPreset + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task PatchNamespacedPodPresetAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources28Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedPodPresetWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources28WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind PodPreset + /// list or watch objects of kind PriorityClass /// /// /// The operations group for this extension method. @@ -56700,11 +61108,19 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -56740,9 +61156,6 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -56759,13 +61172,16 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1alpha1PodPresetList ListPodPresetForAllNamespaces(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1PriorityClassList ListPriorityClass(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListPodPresetForAllNamespacesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ListPriorityClassAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind PodPreset + /// list or watch objects of kind PriorityClass /// /// /// The operations group for this extension method. @@ -56777,11 +61193,19 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -56817,9 +61241,6 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -56836,75 +61257,60 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task ListPodPresetForAllNamespacesAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListPriorityClassAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListPodPresetForAllNamespacesWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListPriorityClassWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// get information of a group + /// create a PriorityClass /// /// /// The operations group for this extension method. /// - public static V1APIGroup GetAPIGroup16(this IKubernetes operations) - { - return operations.GetAPIGroup16Async().GetAwaiter().GetResult(); - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. + /// /// - /// - /// The cancellation token. + /// + /// If 'true', then the output is pretty printed. /// - public static async Task GetAPIGroup16Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static V1alpha1PriorityClass CreatePriorityClass(this IKubernetes operations, V1alpha1PriorityClass body, string pretty = default(string)) { - using (var _result = await operations.GetAPIGroup16WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } + return operations.CreatePriorityClassAsync(body, pretty).GetAwaiter().GetResult(); } /// - /// get available resources + /// create a PriorityClass /// /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources28(this IKubernetes operations) - { - return operations.GetAPIResources28Async().GetAwaiter().GetResult(); - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. + /// + /// + /// + /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task GetAPIResources28Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreatePriorityClassAsync(this IKubernetes operations, V1alpha1PriorityClass body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources28WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreatePriorityClassWithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind StorageClass + /// delete collection of PriorityClass /// /// /// The operations group for this extension method. @@ -56916,11 +61322,19 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -56975,13 +61389,13 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1StorageClassList ListStorageClass(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionPriorityClass(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListStorageClassAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionPriorityClassAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind StorageClass + /// delete collection of PriorityClass /// /// /// The operations group for this extension method. @@ -56993,11 +61407,19 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -57055,37 +61477,55 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListStorageClassAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionPriorityClassAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListStorageClassWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionPriorityClassWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a StorageClass + /// read the specified PriorityClass /// /// /// The operations group for this extension method. /// - /// + /// + /// name of the PriorityClass + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. /// /// /// If 'true', then the output is pretty printed. /// - public static V1StorageClass CreateStorageClass(this IKubernetes operations, V1StorageClass body, string pretty = default(string)) + public static V1alpha1PriorityClass ReadPriorityClass(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.CreateStorageClassAsync(body, pretty).GetAwaiter().GetResult(); + return operations.ReadPriorityClassAsync(name, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// create a StorageClass + /// read the specified PriorityClass /// /// /// The operations group for this extension method. /// - /// + /// + /// name of the PriorityClass + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. /// /// /// If 'true', then the output is pretty printed. @@ -57093,284 +61533,74 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateStorageClassAsync(this IKubernetes operations, V1StorageClass body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadPriorityClassAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateStorageClassWithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadPriorityClassWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of StorageClass + /// replace the specified PriorityClass /// /// /// The operations group for this extension method. /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// If true, partially initialized resources are included in the response. + /// /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// + /// name of the PriorityClass /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + public static V1alpha1PriorityClass ReplacePriorityClass(this IKubernetes operations, V1alpha1PriorityClass body, string name, string pretty = default(string)) + { + return operations.ReplacePriorityClassAsync(body, name, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace the specified PriorityClass + /// + /// + /// The operations group for this extension method. /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// name of the PriorityClass /// /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionStorageClass(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + /// + /// The cancellation token. + /// + public static async Task ReplacePriorityClassAsync(this IKubernetes operations, V1alpha1PriorityClass body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - return operations.DeleteCollectionStorageClassAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + using (var _result = await operations.ReplacePriorityClassWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// delete collection of StorageClass + /// delete a PriorityClass /// /// /// The operations group for this extension method. /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. + /// + /// name of the PriorityClass /// - /// - /// If true, partially initialized resources are included in the response. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteCollectionStorageClassAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteCollectionStorageClassWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read the specified StorageClass - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the StorageClass - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1StorageClass ReadStorageClass(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) - { - return operations.ReadStorageClassAsync(name, exact, export, pretty).GetAwaiter().GetResult(); - } - - /// - /// read the specified StorageClass - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the StorageClass - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadStorageClassAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadStorageClassWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace the specified StorageClass - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the StorageClass - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1StorageClass ReplaceStorageClass(this IKubernetes operations, V1StorageClass body, string name, string pretty = default(string)) - { - return operations.ReplaceStorageClassAsync(body, name, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace the specified StorageClass - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the StorageClass - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceStorageClassAsync(this IKubernetes operations, V1StorageClass body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceStorageClassWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete a StorageClass - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the StorageClass + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -57397,13 +61627,13 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteStorageClass(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeletePriorityClass(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteStorageClassAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeletePriorityClassAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a StorageClass + /// delete a PriorityClass /// /// /// The operations group for this extension method. @@ -57411,7 +61641,13 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// /// - /// name of the StorageClass + /// name of the PriorityClass + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -57441,16 +61677,16 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteStorageClassAsync(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeletePriorityClassAsync(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteStorageClassWithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeletePriorityClassWithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified StorageClass + /// partially update the specified PriorityClass /// /// /// The operations group for this extension method. @@ -57458,18 +61694,18 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// /// - /// name of the StorageClass + /// name of the PriorityClass /// /// /// If 'true', then the output is pretty printed. /// - public static V1StorageClass PatchStorageClass(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + public static V1alpha1PriorityClass PatchPriorityClass(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) { - return operations.PatchStorageClassAsync(body, name, pretty).GetAwaiter().GetResult(); + return operations.PatchPriorityClassAsync(body, name, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified StorageClass + /// partially update the specified PriorityClass /// /// /// The operations group for this extension method. @@ -57477,7 +61713,7 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// /// - /// name of the StorageClass + /// name of the PriorityClass /// /// /// If 'true', then the output is pretty printed. @@ -57485,9 +61721,9 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchStorageClassAsync(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchPriorityClassAsync(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchStorageClassWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchPriorityClassWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -57522,7 +61758,7 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) } /// - /// list or watch objects of kind VolumeAttachment + /// list or watch objects of kind PriorityClass /// /// /// The operations group for this extension method. @@ -57534,11 +61770,19 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -57593,13 +61837,13 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1VolumeAttachmentList ListVolumeAttachment(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1PriorityClassList ListPriorityClass1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListVolumeAttachmentAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListPriorityClass1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind VolumeAttachment + /// list or watch objects of kind PriorityClass /// /// /// The operations group for this extension method. @@ -57611,11 +61855,19 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -57673,16 +61925,16 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListVolumeAttachmentAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListPriorityClass1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListVolumeAttachmentWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListPriorityClass1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a VolumeAttachment + /// create a PriorityClass /// /// /// The operations group for this extension method. @@ -57692,13 +61944,13 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1VolumeAttachment CreateVolumeAttachment(this IKubernetes operations, V1alpha1VolumeAttachment body, string pretty = default(string)) + public static V1beta1PriorityClass CreatePriorityClass1(this IKubernetes operations, V1beta1PriorityClass body, string pretty = default(string)) { - return operations.CreateVolumeAttachmentAsync(body, pretty).GetAwaiter().GetResult(); + return operations.CreatePriorityClass1Async(body, pretty).GetAwaiter().GetResult(); } /// - /// create a VolumeAttachment + /// create a PriorityClass /// /// /// The operations group for this extension method. @@ -57711,16 +61963,16 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateVolumeAttachmentAsync(this IKubernetes operations, V1alpha1VolumeAttachment body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreatePriorityClass1Async(this IKubernetes operations, V1beta1PriorityClass body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateVolumeAttachmentWithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreatePriorityClass1WithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of VolumeAttachment + /// delete collection of PriorityClass /// /// /// The operations group for this extension method. @@ -57732,11 +61984,19 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -57791,13 +62051,13 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionVolumeAttachment(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionPriorityClass1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionVolumeAttachmentAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionPriorityClass1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of VolumeAttachment + /// delete collection of PriorityClass /// /// /// The operations group for this extension method. @@ -57809,11 +62069,19 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -57871,22 +62139,22 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionVolumeAttachmentAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionPriorityClass1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionVolumeAttachmentWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionPriorityClass1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified VolumeAttachment + /// read the specified PriorityClass /// /// /// The operations group for this extension method. /// /// - /// name of the VolumeAttachment + /// name of the PriorityClass /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -57899,19 +62167,19 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1VolumeAttachment ReadVolumeAttachment(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1PriorityClass ReadPriorityClass1(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadVolumeAttachmentAsync(name, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadPriorityClass1Async(name, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified VolumeAttachment + /// read the specified PriorityClass /// /// /// The operations group for this extension method. /// /// - /// name of the VolumeAttachment + /// name of the PriorityClass /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -57927,16 +62195,16 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadVolumeAttachmentAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadPriorityClass1Async(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadVolumeAttachmentWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadPriorityClass1WithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified VolumeAttachment + /// replace the specified PriorityClass /// /// /// The operations group for this extension method. @@ -57944,18 +62212,18 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// /// - /// name of the VolumeAttachment + /// name of the PriorityClass /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1VolumeAttachment ReplaceVolumeAttachment(this IKubernetes operations, V1alpha1VolumeAttachment body, string name, string pretty = default(string)) + public static V1beta1PriorityClass ReplacePriorityClass1(this IKubernetes operations, V1beta1PriorityClass body, string name, string pretty = default(string)) { - return operations.ReplaceVolumeAttachmentAsync(body, name, pretty).GetAwaiter().GetResult(); + return operations.ReplacePriorityClass1Async(body, name, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified VolumeAttachment + /// replace the specified PriorityClass /// /// /// The operations group for this extension method. @@ -57963,7 +62231,7 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// /// - /// name of the VolumeAttachment + /// name of the PriorityClass /// /// /// If 'true', then the output is pretty printed. @@ -57971,16 +62239,16 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceVolumeAttachmentAsync(this IKubernetes operations, V1alpha1VolumeAttachment body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplacePriorityClass1Async(this IKubernetes operations, V1beta1PriorityClass body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceVolumeAttachmentWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplacePriorityClass1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a VolumeAttachment + /// delete a PriorityClass /// /// /// The operations group for this extension method. @@ -57988,48 +62256,60 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// /// - /// name of the VolumeAttachment - /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteVolumeAttachment(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) - { - return operations.DeleteVolumeAttachmentAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete a VolumeAttachment - /// - /// - /// The operations group for this extension method. - /// - /// + /// name of the PriorityClass /// - /// - /// name of the VolumeAttachment + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeletePriorityClass1(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + { + return operations.DeletePriorityClass1Async(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete a PriorityClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the PriorityClass + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -58059,16 +62339,16 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteVolumeAttachmentAsync(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeletePriorityClass1Async(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteVolumeAttachmentWithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeletePriorityClass1WithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified VolumeAttachment + /// partially update the specified PriorityClass /// /// /// The operations group for this extension method. @@ -58076,18 +62356,18 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// /// - /// name of the VolumeAttachment + /// name of the PriorityClass /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1VolumeAttachment PatchVolumeAttachment(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + public static V1beta1PriorityClass PatchPriorityClass1(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) { - return operations.PatchVolumeAttachmentAsync(body, name, pretty).GetAwaiter().GetResult(); + return operations.PatchPriorityClass1Async(body, name, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified VolumeAttachment + /// partially update the specified PriorityClass /// /// /// The operations group for this extension method. @@ -58095,7 +62375,7 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// /// - /// name of the VolumeAttachment + /// name of the PriorityClass /// /// /// If 'true', then the output is pretty printed. @@ -58103,9 +62383,37 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchVolumeAttachmentAsync(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchPriorityClass1Async(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchVolumeAttachmentWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchPriorityClass1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. + /// + public static V1APIGroup GetAPIGroup16(this IKubernetes operations) + { + return operations.GetAPIGroup16Async().GetAwaiter().GetResult(); + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetAPIGroup16Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIGroup16WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -58140,11 +62448,14 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) } /// - /// list or watch objects of kind StorageClass + /// list or watch objects of kind PodPreset /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -58152,11 +62463,19 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -58211,17 +62530,20 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1StorageClassList ListStorageClass1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1alpha1PodPresetList ListNamespacedPodPreset(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListStorageClass1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedPodPresetAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind StorageClass + /// list or watch objects of kind PodPreset /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -58229,11 +62551,19 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -58291,58 +62621,67 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListStorageClass1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedPodPresetAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListStorageClass1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedPodPresetWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a StorageClass + /// create a PodPreset /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1StorageClass CreateStorageClass1(this IKubernetes operations, V1beta1StorageClass body, string pretty = default(string)) + public static V1alpha1PodPreset CreateNamespacedPodPreset(this IKubernetes operations, V1alpha1PodPreset body, string namespaceParameter, string pretty = default(string)) { - return operations.CreateStorageClass1Async(body, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedPodPresetAsync(body, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// create a StorageClass + /// create a PodPreset /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task CreateStorageClass1Async(this IKubernetes operations, V1beta1StorageClass body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedPodPresetAsync(this IKubernetes operations, V1alpha1PodPreset body, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateStorageClass1WithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedPodPresetWithHttpMessagesAsync(body, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of StorageClass + /// delete collection of PodPreset /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -58350,11 +62689,19 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -58409,17 +62756,20 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionStorageClass1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedPodPreset(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionStorageClass1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedPodPresetAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of StorageClass + /// delete collection of PodPreset /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// The continue option should be set when retrieving more results from the /// server. Since this value is server defined, clients may only use the @@ -58427,11 +62777,19 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -58489,22 +62847,25 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionStorageClass1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedPodPresetAsync(this IKubernetes operations, string namespaceParameter, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionStorageClass1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedPodPresetWithHttpMessagesAsync(namespaceParameter, continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified StorageClass + /// read the specified PodPreset /// /// /// The operations group for this extension method. /// /// - /// name of the StorageClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -58517,19 +62878,22 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1StorageClass ReadStorageClass1(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1alpha1PodPreset ReadNamespacedPodPreset(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadStorageClass1Async(name, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedPodPresetAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified StorageClass + /// read the specified PodPreset /// /// /// The operations group for this extension method. /// /// - /// name of the StorageClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -58545,16 +62909,16 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadStorageClass1Async(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedPodPresetAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadStorageClass1WithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedPodPresetWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified StorageClass + /// replace the specified PodPreset /// /// /// The operations group for this extension method. @@ -58562,18 +62926,21 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// /// - /// name of the StorageClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1StorageClass ReplaceStorageClass1(this IKubernetes operations, V1beta1StorageClass body, string name, string pretty = default(string)) + public static V1alpha1PodPreset ReplaceNamespacedPodPreset(this IKubernetes operations, V1alpha1PodPreset body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReplaceStorageClass1Async(body, name, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedPodPresetAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified StorageClass + /// replace the specified PodPreset /// /// /// The operations group for this extension method. @@ -58581,7 +62948,10 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// /// - /// name of the StorageClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -58589,16 +62959,16 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceStorageClass1Async(this IKubernetes operations, V1beta1StorageClass body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedPodPresetAsync(this IKubernetes operations, V1alpha1PodPreset body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceStorageClass1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedPodPresetWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a StorageClass + /// delete a PodPreset /// /// /// The operations group for this extension method. @@ -58606,7 +62976,16 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// /// - /// name of the StorageClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -58633,13 +63012,13 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteStorageClass1(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedPodPreset(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteStorageClass1Async(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedPodPresetAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a StorageClass + /// delete a PodPreset /// /// /// The operations group for this extension method. @@ -58647,7 +63026,16 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// /// - /// name of the StorageClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -58677,16 +63065,16 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteStorageClass1Async(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedPodPresetAsync(this IKubernetes operations, V1DeleteOptions body, string name, string namespaceParameter, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteStorageClass1WithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedPodPresetWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified StorageClass + /// partially update the specified PodPreset /// /// /// The operations group for this extension method. @@ -58694,18 +63082,21 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// /// - /// name of the StorageClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1StorageClass PatchStorageClass1(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + public static V1alpha1PodPreset PatchNamespacedPodPreset(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string)) { - return operations.PatchStorageClass1Async(body, name, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedPodPresetAsync(body, name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified StorageClass + /// partially update the specified PodPreset /// /// /// The operations group for this extension method. @@ -58713,7 +63104,10 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// /// - /// name of the StorageClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -58721,16 +63115,16 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchStorageClass1Async(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedPodPresetAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchStorageClass1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedPodPresetWithHttpMessagesAsync(body, name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind VolumeAttachment + /// list or watch objects of kind PodPreset /// /// /// The operations group for this extension method. @@ -58742,11 +63136,19 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -58782,6 +63184,9 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -58798,16 +63203,13 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1VolumeAttachmentList ListVolumeAttachment1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1alpha1PodPresetList ListPodPresetForAllNamespaces(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListVolumeAttachment1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListPodPresetForAllNamespacesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind VolumeAttachment + /// list or watch objects of kind PodPreset /// /// /// The operations group for this extension method. @@ -58819,11 +63221,19 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -58859,6 +63269,9 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -58875,60 +63288,75 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task ListVolumeAttachment1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListPodPresetForAllNamespacesAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListVolumeAttachment1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListPodPresetForAllNamespacesWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a VolumeAttachment + /// get information of a group /// /// /// The operations group for this extension method. /// - /// + public static V1APIGroup GetAPIGroup17(this IKubernetes operations) + { + return operations.GetAPIGroup17Async().GetAwaiter().GetResult(); + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// The cancellation token. /// - public static V1beta1VolumeAttachment CreateVolumeAttachment1(this IKubernetes operations, V1beta1VolumeAttachment body, string pretty = default(string)) + public static async Task GetAPIGroup17Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - return operations.CreateVolumeAttachment1Async(body, pretty).GetAwaiter().GetResult(); + using (var _result = await operations.GetAPIGroup17WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// create a VolumeAttachment + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// If 'true', then the output is pretty printed. + public static V1APIResourceList GetAPIResources31(this IKubernetes operations) + { + return operations.GetAPIResources31Async().GetAwaiter().GetResult(); + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. /// /// /// The cancellation token. /// - public static async Task CreateVolumeAttachment1Async(this IKubernetes operations, V1beta1VolumeAttachment body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources31Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateVolumeAttachment1WithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources31WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of VolumeAttachment + /// list or watch objects of kind StorageClass /// /// /// The operations group for this extension method. @@ -58940,11 +63368,19 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -58999,13 +63435,13 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionVolumeAttachment1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1StorageClassList ListStorageClass(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionVolumeAttachment1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListStorageClassAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of VolumeAttachment + /// list or watch objects of kind StorageClass /// /// /// The operations group for this extension method. @@ -59017,11 +63453,19 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// (except for the value of continue) and the server may reject a continue /// value it does not recognize. If the specified continue value is no longer /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server the server will respond with a 410 - /// ResourceExpired error indicating the client must restart their list without - /// the continue field. This field is not supported when watch is true. Clients - /// may start a watch from the last resourceVersion value returned by the - /// server and not miss any modifications. + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// A selector to restrict the list of returned objects by their fields. @@ -59079,22 +63523,236 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionVolumeAttachment1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListStorageClassAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionVolumeAttachment1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListStorageClassWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified VolumeAttachment + /// create a StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1StorageClass CreateStorageClass(this IKubernetes operations, V1StorageClass body, string pretty = default(string)) + { + return operations.CreateStorageClassAsync(body, pretty).GetAwaiter().GetResult(); + } + + /// + /// create a StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task CreateStorageClassAsync(this IKubernetes operations, V1StorageClass body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateStorageClassWithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete collection of StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteCollectionStorageClass(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + { + return operations.DeleteCollectionStorageClassAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete collection of StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteCollectionStorageClassAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.DeleteCollectionStorageClassWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// read the specified StorageClass /// /// /// The operations group for this extension method. /// /// - /// name of the VolumeAttachment + /// name of the StorageClass /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -59107,19 +63765,19 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1VolumeAttachment ReadVolumeAttachment1(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1StorageClass ReadStorageClass(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadVolumeAttachment1Async(name, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadStorageClassAsync(name, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified VolumeAttachment + /// read the specified StorageClass /// /// /// The operations group for this extension method. /// /// - /// name of the VolumeAttachment + /// name of the StorageClass /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -59135,16 +63793,16 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadVolumeAttachment1Async(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadStorageClassAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadVolumeAttachment1WithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadStorageClassWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified VolumeAttachment + /// replace the specified StorageClass /// /// /// The operations group for this extension method. @@ -59152,18 +63810,18 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// /// - /// name of the VolumeAttachment + /// name of the StorageClass /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1VolumeAttachment ReplaceVolumeAttachment1(this IKubernetes operations, V1beta1VolumeAttachment body, string name, string pretty = default(string)) + public static V1StorageClass ReplaceStorageClass(this IKubernetes operations, V1StorageClass body, string name, string pretty = default(string)) { - return operations.ReplaceVolumeAttachment1Async(body, name, pretty).GetAwaiter().GetResult(); + return operations.ReplaceStorageClassAsync(body, name, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified VolumeAttachment + /// replace the specified StorageClass /// /// /// The operations group for this extension method. @@ -59171,7 +63829,7 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// /// - /// name of the VolumeAttachment + /// name of the StorageClass /// /// /// If 'true', then the output is pretty printed. @@ -59179,16 +63837,16 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceVolumeAttachment1Async(this IKubernetes operations, V1beta1VolumeAttachment body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceStorageClassAsync(this IKubernetes operations, V1StorageClass body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceVolumeAttachment1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceStorageClassWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a VolumeAttachment + /// delete a StorageClass /// /// /// The operations group for this extension method. @@ -59196,7 +63854,2800 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// /// - /// name of the VolumeAttachment + /// name of the StorageClass + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteStorageClass(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + { + return operations.DeleteStorageClassAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete a StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the StorageClass + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteStorageClassAsync(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.DeleteStorageClassWithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update the specified StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the StorageClass + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1StorageClass PatchStorageClass(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + { + return operations.PatchStorageClassAsync(body, name, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update the specified StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the StorageClass + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchStorageClassAsync(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchStorageClassWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. + /// + public static V1APIResourceList GetAPIResources32(this IKubernetes operations) + { + return operations.GetAPIResources32Async().GetAwaiter().GetResult(); + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetAPIResources32Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIResources32WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// list or watch objects of kind VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1VolumeAttachmentList ListVolumeAttachment(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + { + return operations.ListVolumeAttachmentAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// list or watch objects of kind VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ListVolumeAttachmentAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListVolumeAttachmentWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// create a VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1VolumeAttachment CreateVolumeAttachment(this IKubernetes operations, V1alpha1VolumeAttachment body, string pretty = default(string)) + { + return operations.CreateVolumeAttachmentAsync(body, pretty).GetAwaiter().GetResult(); + } + + /// + /// create a VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task CreateVolumeAttachmentAsync(this IKubernetes operations, V1alpha1VolumeAttachment body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateVolumeAttachmentWithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete collection of VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteCollectionVolumeAttachment(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + { + return operations.DeleteCollectionVolumeAttachmentAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete collection of VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteCollectionVolumeAttachmentAsync(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.DeleteCollectionVolumeAttachmentWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// read the specified VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the VolumeAttachment + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1VolumeAttachment ReadVolumeAttachment(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + { + return operations.ReadVolumeAttachmentAsync(name, exact, export, pretty).GetAwaiter().GetResult(); + } + + /// + /// read the specified VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the VolumeAttachment + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReadVolumeAttachmentAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadVolumeAttachmentWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace the specified VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1VolumeAttachment ReplaceVolumeAttachment(this IKubernetes operations, V1alpha1VolumeAttachment body, string name, string pretty = default(string)) + { + return operations.ReplaceVolumeAttachmentAsync(body, name, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace the specified VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReplaceVolumeAttachmentAsync(this IKubernetes operations, V1alpha1VolumeAttachment body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceVolumeAttachmentWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete a VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteVolumeAttachment(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + { + return operations.DeleteVolumeAttachmentAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete a VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteVolumeAttachmentAsync(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.DeleteVolumeAttachmentWithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update the specified VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1VolumeAttachment PatchVolumeAttachment(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + { + return operations.PatchVolumeAttachmentAsync(body, name, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update the specified VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchVolumeAttachmentAsync(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchVolumeAttachmentWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. + /// + public static V1APIResourceList GetAPIResources33(this IKubernetes operations) + { + return operations.GetAPIResources33Async().GetAwaiter().GetResult(); + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetAPIResources33Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIResources33WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// list or watch objects of kind StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1StorageClassList ListStorageClass1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + { + return operations.ListStorageClass1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// list or watch objects of kind StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ListStorageClass1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListStorageClass1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// create a StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1StorageClass CreateStorageClass1(this IKubernetes operations, V1beta1StorageClass body, string pretty = default(string)) + { + return operations.CreateStorageClass1Async(body, pretty).GetAwaiter().GetResult(); + } + + /// + /// create a StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task CreateStorageClass1Async(this IKubernetes operations, V1beta1StorageClass body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateStorageClass1WithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete collection of StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteCollectionStorageClass1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + { + return operations.DeleteCollectionStorageClass1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete collection of StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteCollectionStorageClass1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.DeleteCollectionStorageClass1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// read the specified StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the StorageClass + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1StorageClass ReadStorageClass1(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + { + return operations.ReadStorageClass1Async(name, exact, export, pretty).GetAwaiter().GetResult(); + } + + /// + /// read the specified StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the StorageClass + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReadStorageClass1Async(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadStorageClass1WithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace the specified StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the StorageClass + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1StorageClass ReplaceStorageClass1(this IKubernetes operations, V1beta1StorageClass body, string name, string pretty = default(string)) + { + return operations.ReplaceStorageClass1Async(body, name, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace the specified StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the StorageClass + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReplaceStorageClass1Async(this IKubernetes operations, V1beta1StorageClass body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceStorageClass1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete a StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the StorageClass + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteStorageClass1(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + { + return operations.DeleteStorageClass1Async(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete a StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the StorageClass + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteStorageClass1Async(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.DeleteStorageClass1WithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update the specified StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the StorageClass + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1StorageClass PatchStorageClass1(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + { + return operations.PatchStorageClass1Async(body, name, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update the specified StorageClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the StorageClass + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchStorageClass1Async(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchStorageClass1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// list or watch objects of kind VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1VolumeAttachmentList ListVolumeAttachment1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + { + return operations.ListVolumeAttachment1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// list or watch objects of kind VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ListVolumeAttachment1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListVolumeAttachment1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// create a VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1VolumeAttachment CreateVolumeAttachment1(this IKubernetes operations, V1beta1VolumeAttachment body, string pretty = default(string)) + { + return operations.CreateVolumeAttachment1Async(body, pretty).GetAwaiter().GetResult(); + } + + /// + /// create a VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task CreateVolumeAttachment1Async(this IKubernetes operations, V1beta1VolumeAttachment body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateVolumeAttachment1WithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete collection of VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteCollectionVolumeAttachment1(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + { + return operations.DeleteCollectionVolumeAttachment1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete collection of VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// If true, partially initialized resources are included in the response. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteCollectionVolumeAttachment1Async(this IKubernetes operations, string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.DeleteCollectionVolumeAttachment1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// read the specified VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the VolumeAttachment + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1VolumeAttachment ReadVolumeAttachment1(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + { + return operations.ReadVolumeAttachment1Async(name, exact, export, pretty).GetAwaiter().GetResult(); + } + + /// + /// read the specified VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the VolumeAttachment + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReadVolumeAttachment1Async(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadVolumeAttachment1WithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace the specified VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1VolumeAttachment ReplaceVolumeAttachment1(this IKubernetes operations, V1beta1VolumeAttachment body, string name, string pretty = default(string)) + { + return operations.ReplaceVolumeAttachment1Async(body, name, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace the specified VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReplaceVolumeAttachment1Async(this IKubernetes operations, V1beta1VolumeAttachment body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceVolumeAttachment1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete a VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteVolumeAttachment1(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + { + return operations.DeleteVolumeAttachment1Async(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete a VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// The duration in seconds before the object should be deleted. Value must be + /// non-negative integer. The value zero indicates delete immediately. If this + /// value is nil, the default grace period for the specified type will be used. + /// Defaults to a per object value if not specified. zero means delete + /// immediately. + /// + /// + /// Deprecated: please use the PropagationPolicy, this field will be deprecated + /// in 1.7. Should the dependent objects be orphaned. If true/false, the + /// "orphan" finalizer will be added to/removed from the object's finalizers + /// list. Either this field or PropagationPolicy may be set, but not both. + /// + /// + /// Whether and how garbage collection will be performed. Either this field or + /// OrphanDependents may be set, but not both. The default policy is decided by + /// the existing finalizer set in the metadata.finalizers and the + /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteVolumeAttachment1Async(this IKubernetes operations, V1DeleteOptions body, string name, string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.DeleteVolumeAttachment1WithHttpMessagesAsync(body, name, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update the specified VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1VolumeAttachment PatchVolumeAttachment1(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + { + return operations.PatchVolumeAttachment1Async(body, name, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update the specified VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchVolumeAttachment1Async(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchVolumeAttachment1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// The operations group for this extension method. + /// + public static void LogFileListHandler(this IKubernetes operations) + { + operations.LogFileListHandlerAsync().GetAwaiter().GetResult(); + } + + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task LogFileListHandlerAsync(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.LogFileListHandlerWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// The operations group for this extension method. + /// + /// + /// path to the log + /// + public static void LogFileHandler(this IKubernetes operations, string logpath) + { + operations.LogFileHandlerAsync(logpath).GetAwaiter().GetResult(); + } + + /// + /// The operations group for this extension method. + /// + /// + /// path to the log + /// + /// + /// The cancellation token. + /// + public static async Task LogFileHandlerAsync(this IKubernetes operations, string logpath, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.LogFileHandlerWithHttpMessagesAsync(logpath, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// get the code version + /// + /// + /// The operations group for this extension method. + /// + public static VersionInfo GetCode(this IKubernetes operations) + { + return operations.GetCodeAsync().GetAwaiter().GetResult(); + } + + /// + /// get the code version + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetCodeAsync(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetCodeWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Creates a namespace scoped Custom object + /// + /// + /// The operations group for this extension method. + /// + /// + /// The JSON schema of the Resource to create. + /// + /// + /// The custom resource's group name + /// + /// + /// The custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// The custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static object CreateNamespacedCustomObject(this IKubernetes operations, object body, string group, string version, string namespaceParameter, string plural, string pretty = default(string)) + { + return operations.CreateNamespacedCustomObjectAsync(body, group, version, namespaceParameter, plural, pretty).GetAwaiter().GetResult(); + } + + /// + /// Creates a namespace scoped Custom object + /// + /// + /// The operations group for this extension method. + /// + /// + /// The JSON schema of the Resource to create. + /// + /// + /// The custom resource's group name + /// + /// + /// The custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// The custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task CreateNamespacedCustomObjectAsync(this IKubernetes operations, object body, string group, string version, string namespaceParameter, string plural, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateNamespacedCustomObjectWithHttpMessagesAsync(body, group, version, namespaceParameter, plural, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// list or watch namespace scoped custom objects + /// + /// + /// The operations group for this extension method. + /// + /// + /// The custom resource's group name + /// + /// + /// The custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// The custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static object ListNamespacedCustomObject(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string)) + { + return operations.ListNamespacedCustomObjectAsync(group, version, namespaceParameter, plural, labelSelector, resourceVersion, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// list or watch namespace scoped custom objects + /// + /// + /// The operations group for this extension method. + /// + /// + /// The custom resource's group name + /// + /// + /// The custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// The custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ListNamespacedCustomObjectAsync(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListNamespacedCustomObjectWithHttpMessagesAsync(group, version, namespaceParameter, plural, labelSelector, resourceVersion, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Creates a cluster scoped Custom object + /// + /// + /// The operations group for this extension method. + /// + /// + /// The JSON schema of the Resource to create. + /// + /// + /// The custom resource's group name + /// + /// + /// The custom resource's version + /// + /// + /// The custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static object CreateClusterCustomObject(this IKubernetes operations, object body, string group, string version, string plural, string pretty = default(string)) + { + return operations.CreateClusterCustomObjectAsync(body, group, version, plural, pretty).GetAwaiter().GetResult(); + } + + /// + /// Creates a cluster scoped Custom object + /// + /// + /// The operations group for this extension method. + /// + /// + /// The JSON schema of the Resource to create. + /// + /// + /// The custom resource's group name + /// + /// + /// The custom resource's version + /// + /// + /// The custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task CreateClusterCustomObjectAsync(this IKubernetes operations, object body, string group, string version, string plural, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateClusterCustomObjectWithHttpMessagesAsync(body, group, version, plural, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// list or watch cluster scoped custom objects + /// + /// + /// The operations group for this extension method. + /// + /// + /// The custom resource's group name + /// + /// + /// The custom resource's version + /// + /// + /// The custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static object ListClusterCustomObject(this IKubernetes operations, string group, string version, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string)) + { + return operations.ListClusterCustomObjectAsync(group, version, plural, labelSelector, resourceVersion, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// list or watch cluster scoped custom objects + /// + /// + /// The operations group for this extension method. + /// + /// + /// The custom resource's group name + /// + /// + /// The custom resource's version + /// + /// + /// The custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ListClusterCustomObjectAsync(this IKubernetes operations, string group, string version, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListClusterCustomObjectWithHttpMessagesAsync(group, version, plural, labelSelector, resourceVersion, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace status of the cluster scoped specified custom object + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name + /// + public static object ReplaceClusterCustomObjectStatus(this IKubernetes operations, object body, string group, string version, string plural, string name) + { + return operations.ReplaceClusterCustomObjectStatusAsync(body, group, version, plural, name).GetAwaiter().GetResult(); + } + + /// + /// replace status of the cluster scoped specified custom object + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name + /// + /// + /// The cancellation token. + /// + public static async Task ReplaceClusterCustomObjectStatusAsync(this IKubernetes operations, object body, string group, string version, string plural, string name, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceClusterCustomObjectStatusWithHttpMessagesAsync(body, group, version, plural, name, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update status of the specified cluster scoped custom object + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name + /// + public static object PatchClusterCustomObjectStatus(this IKubernetes operations, object body, string group, string version, string plural, string name) + { + return operations.PatchClusterCustomObjectStatusAsync(body, group, version, plural, name).GetAwaiter().GetResult(); + } + + /// + /// partially update status of the specified cluster scoped custom object + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name + /// + /// + /// The cancellation token. + /// + public static async Task PatchClusterCustomObjectStatusAsync(this IKubernetes operations, object body, string group, string version, string plural, string name, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchClusterCustomObjectStatusWithHttpMessagesAsync(body, group, version, plural, name, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// read status of the specified cluster scoped custom object + /// + /// + /// The operations group for this extension method. + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name + /// + public static object GetClusterCustomObjectStatus(this IKubernetes operations, string group, string version, string plural, string name) + { + return operations.GetClusterCustomObjectStatusAsync(group, version, plural, name).GetAwaiter().GetResult(); + } + + /// + /// read status of the specified cluster scoped custom object + /// + /// + /// The operations group for this extension method. + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name + /// + /// + /// The cancellation token. + /// + public static async Task GetClusterCustomObjectStatusAsync(this IKubernetes operations, string group, string version, string plural, string name, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetClusterCustomObjectStatusWithHttpMessagesAsync(group, version, plural, name, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace the specified namespace scoped custom object + /// + /// + /// The operations group for this extension method. + /// + /// + /// The JSON schema of the Resource to replace. + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name + /// + public static object ReplaceNamespacedCustomObject(this IKubernetes operations, object body, string group, string version, string namespaceParameter, string plural, string name) + { + return operations.ReplaceNamespacedCustomObjectAsync(body, group, version, namespaceParameter, plural, name).GetAwaiter().GetResult(); + } + + /// + /// replace the specified namespace scoped custom object + /// + /// + /// The operations group for this extension method. + /// + /// + /// The JSON schema of the Resource to replace. + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name + /// + /// + /// The cancellation token. + /// + public static async Task ReplaceNamespacedCustomObjectAsync(this IKubernetes operations, object body, string group, string version, string namespaceParameter, string plural, string name, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceNamespacedCustomObjectWithHttpMessagesAsync(body, group, version, namespaceParameter, plural, name, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// patch the specified namespace scoped custom object + /// + /// + /// The operations group for this extension method. + /// + /// + /// The JSON schema of the Resource to patch. + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name + /// + public static object PatchNamespacedCustomObject(this IKubernetes operations, object body, string group, string version, string namespaceParameter, string plural, string name) + { + return operations.PatchNamespacedCustomObjectAsync(body, group, version, namespaceParameter, plural, name).GetAwaiter().GetResult(); + } + + /// + /// patch the specified namespace scoped custom object + /// + /// + /// The operations group for this extension method. + /// + /// + /// The JSON schema of the Resource to patch. + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name + /// + /// + /// The cancellation token. + /// + public static async Task PatchNamespacedCustomObjectAsync(this IKubernetes operations, object body, string group, string version, string namespaceParameter, string plural, string name, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchNamespacedCustomObjectWithHttpMessagesAsync(body, group, version, namespaceParameter, plural, name, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Deletes the specified namespace scoped custom object + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -59215,29 +66666,36 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// Whether and how garbage collection will be performed. Either this field or /// OrphanDependents may be set, but not both. The default policy is decided by /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. + /// resource-specific default policy. /// - public static V1Status DeleteVolumeAttachment1(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static object DeleteNamespacedCustomObject(this IKubernetes operations, V1DeleteOptions body, string group, string version, string namespaceParameter, string plural, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string)) { - return operations.DeleteVolumeAttachment1Async(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedCustomObjectAsync(body, group, version, namespaceParameter, plural, name, gracePeriodSeconds, orphanDependents, propagationPolicy).GetAwaiter().GetResult(); } /// - /// delete a VolumeAttachment + /// Deletes the specified namespace scoped custom object /// /// /// The operations group for this extension method. /// /// /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// /// - /// name of the VolumeAttachment + /// the custom object's name /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -59256,440 +66714,432 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// Whether and how garbage collection will be performed. Either this field or /// OrphanDependents may be set, but not both. The default policy is decided by /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. + /// resource-specific default policy. /// /// /// The cancellation token. /// - public static async Task DeleteVolumeAttachment1Async(this IKubernetes operations, V1DeleteOptions body, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedCustomObjectAsync(this IKubernetes operations, V1DeleteOptions body, string group, string version, string namespaceParameter, string plural, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteVolumeAttachment1WithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedCustomObjectWithHttpMessagesAsync(body, group, version, namespaceParameter, plural, name, gracePeriodSeconds, orphanDependents, propagationPolicy, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified VolumeAttachment + /// Returns a namespace scoped custom object /// /// /// The operations group for this extension method. /// - /// + /// + /// the custom resource's group /// - /// - /// name of the VolumeAttachment + /// + /// the custom resource's version /// - /// - /// If 'true', then the output is pretty printed. + /// + /// The custom resource's namespace /// - public static V1beta1VolumeAttachment PatchVolumeAttachment1(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name + /// + public static object GetNamespacedCustomObject(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string name) { - return operations.PatchVolumeAttachment1Async(body, name, pretty).GetAwaiter().GetResult(); + return operations.GetNamespacedCustomObjectAsync(group, version, namespaceParameter, plural, name).GetAwaiter().GetResult(); } /// - /// partially update the specified VolumeAttachment + /// Returns a namespace scoped custom object /// /// /// The operations group for this extension method. /// - /// + /// + /// the custom resource's group /// - /// - /// name of the VolumeAttachment + /// + /// the custom resource's version /// - /// - /// If 'true', then the output is pretty printed. + /// + /// The custom resource's namespace + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name /// /// /// The cancellation token. /// - public static async Task PatchVolumeAttachment1Async(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetNamespacedCustomObjectAsync(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string name, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchVolumeAttachment1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetNamespacedCustomObjectWithHttpMessagesAsync(group, version, namespaceParameter, plural, name, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } + /// + /// replace scale of the specified namespace scoped custom object + /// /// /// The operations group for this extension method. /// - public static void LogFileListHandler(this IKubernetes operations) - { - operations.LogFileListHandlerAsync().GetAwaiter().GetResult(); - } - - /// - /// The operations group for this extension method. + /// /// - /// - /// The cancellation token. + /// + /// the custom resource's group /// - public static async Task LogFileListHandlerAsync(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - (await operations.LogFileListHandlerWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)).Dispose(); - } - - /// - /// The operations group for this extension method. + /// + /// the custom resource's version /// - /// - /// path to the log + /// + /// The custom resource's namespace /// - public static void LogFileHandler(this IKubernetes operations, string logpath) + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name + /// + public static object ReplaceNamespacedCustomObjectScale(this IKubernetes operations, object body, string group, string version, string namespaceParameter, string plural, string name) { - operations.LogFileHandlerAsync(logpath).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedCustomObjectScaleAsync(body, group, version, namespaceParameter, plural, name).GetAwaiter().GetResult(); } + /// + /// replace scale of the specified namespace scoped custom object + /// /// /// The operations group for this extension method. /// - /// - /// path to the log + /// + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name /// /// /// The cancellation token. /// - public static async Task LogFileHandlerAsync(this IKubernetes operations, string logpath, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedCustomObjectScaleAsync(this IKubernetes operations, object body, string group, string version, string namespaceParameter, string plural, string name, CancellationToken cancellationToken = default(CancellationToken)) { - (await operations.LogFileHandlerWithHttpMessagesAsync(logpath, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.ReplaceNamespacedCustomObjectScaleWithHttpMessagesAsync(body, group, version, namespaceParameter, plural, name, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// get the code version + /// partially update scale of the specified namespace scoped custom object /// /// /// The operations group for this extension method. /// - public static VersionInfo GetCode(this IKubernetes operations) + /// + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name + /// + public static object PatchNamespacedCustomObjectScale(this IKubernetes operations, object body, string group, string version, string namespaceParameter, string plural, string name) { - return operations.GetCodeAsync().GetAwaiter().GetResult(); + return operations.PatchNamespacedCustomObjectScaleAsync(body, group, version, namespaceParameter, plural, name).GetAwaiter().GetResult(); } /// - /// get the code version + /// partially update scale of the specified namespace scoped custom object /// /// /// The operations group for this extension method. /// + /// + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// The custom resource's namespace + /// + /// + /// the custom resource's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name + /// /// /// The cancellation token. /// - public static async Task GetCodeAsync(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedCustomObjectScaleAsync(this IKubernetes operations, object body, string group, string version, string namespaceParameter, string plural, string name, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetCodeWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedCustomObjectScaleWithHttpMessagesAsync(body, group, version, namespaceParameter, plural, name, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Creates a cluster scoped Custom object + /// read scale of the specified namespace scoped custom object /// /// /// The operations group for this extension method. /// - /// - /// The JSON schema of the Resource to create. - /// /// - /// The custom resource's group name + /// the custom resource's group /// /// - /// The custom resource's version + /// the custom resource's version + /// + /// + /// The custom resource's namespace /// /// - /// The custom resource's plural name. For TPRs this would be lowercase plural + /// the custom resource's plural name. For TPRs this would be lowercase plural /// kind. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom object's name /// - public static object CreateClusterCustomObject(this IKubernetes operations, object body, string group, string version, string plural, string pretty = default(string)) + public static object GetNamespacedCustomObjectScale(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string name) { - return operations.CreateClusterCustomObjectAsync(body, group, version, plural, pretty).GetAwaiter().GetResult(); + return operations.GetNamespacedCustomObjectScaleAsync(group, version, namespaceParameter, plural, name).GetAwaiter().GetResult(); } /// - /// Creates a cluster scoped Custom object + /// read scale of the specified namespace scoped custom object /// /// /// The operations group for this extension method. /// - /// - /// The JSON schema of the Resource to create. - /// /// - /// The custom resource's group name + /// the custom resource's group /// /// - /// The custom resource's version + /// the custom resource's version + /// + /// + /// The custom resource's namespace /// /// - /// The custom resource's plural name. For TPRs this would be lowercase plural + /// the custom resource's plural name. For TPRs this would be lowercase plural /// kind. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom object's name /// /// /// The cancellation token. /// - public static async Task CreateClusterCustomObjectAsync(this IKubernetes operations, object body, string group, string version, string plural, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetNamespacedCustomObjectScaleAsync(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string name, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateClusterCustomObjectWithHttpMessagesAsync(body, group, version, plural, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetNamespacedCustomObjectScaleWithHttpMessagesAsync(group, version, namespaceParameter, plural, name, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch cluster scoped custom objects + /// replace scale of the specified cluster scoped custom object /// /// /// The operations group for this extension method. /// + /// + /// /// - /// The custom resource's group name + /// the custom resource's group /// /// - /// The custom resource's version + /// the custom resource's version /// /// - /// The custom resource's plural name. For TPRs this would be lowercase plural + /// the custom resource's plural name. For TPRs this would be lowercase plural /// kind. /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. - /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom object's name /// - public static object ListClusterCustomObject(this IKubernetes operations, string group, string version, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string)) + public static object ReplaceClusterCustomObjectScale(this IKubernetes operations, object body, string group, string version, string plural, string name) { - return operations.ListClusterCustomObjectAsync(group, version, plural, labelSelector, resourceVersion, watch, pretty).GetAwaiter().GetResult(); + return operations.ReplaceClusterCustomObjectScaleAsync(body, group, version, plural, name).GetAwaiter().GetResult(); } /// - /// list or watch cluster scoped custom objects + /// replace scale of the specified cluster scoped custom object /// /// /// The operations group for this extension method. /// + /// + /// /// - /// The custom resource's group name + /// the custom resource's group /// /// - /// The custom resource's version + /// the custom resource's version /// /// - /// The custom resource's plural name. For TPRs this would be lowercase plural + /// the custom resource's plural name. For TPRs this would be lowercase plural /// kind. /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. - /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom object's name /// /// /// The cancellation token. /// - public static async Task ListClusterCustomObjectAsync(this IKubernetes operations, string group, string version, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceClusterCustomObjectScaleAsync(this IKubernetes operations, object body, string group, string version, string plural, string name, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListClusterCustomObjectWithHttpMessagesAsync(group, version, plural, labelSelector, resourceVersion, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceClusterCustomObjectScaleWithHttpMessagesAsync(body, group, version, plural, name, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Creates a namespace scoped Custom object + /// partially update scale of the specified cluster scoped custom object /// /// /// The operations group for this extension method. /// /// - /// The JSON schema of the Resource to create. /// /// - /// The custom resource's group name + /// the custom resource's group /// /// - /// The custom resource's version - /// - /// - /// The custom resource's namespace + /// the custom resource's version /// /// - /// The custom resource's plural name. For TPRs this would be lowercase plural + /// the custom resource's plural name. For TPRs this would be lowercase plural /// kind. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom object's name /// - public static object CreateNamespacedCustomObject(this IKubernetes operations, object body, string group, string version, string namespaceParameter, string plural, string pretty = default(string)) + public static object PatchClusterCustomObjectScale(this IKubernetes operations, object body, string group, string version, string plural, string name) { - return operations.CreateNamespacedCustomObjectAsync(body, group, version, namespaceParameter, plural, pretty).GetAwaiter().GetResult(); + return operations.PatchClusterCustomObjectScaleAsync(body, group, version, plural, name).GetAwaiter().GetResult(); } /// - /// Creates a namespace scoped Custom object + /// partially update scale of the specified cluster scoped custom object /// /// /// The operations group for this extension method. /// /// - /// The JSON schema of the Resource to create. /// /// - /// The custom resource's group name + /// the custom resource's group /// /// - /// The custom resource's version - /// - /// - /// The custom resource's namespace + /// the custom resource's version /// /// - /// The custom resource's plural name. For TPRs this would be lowercase plural + /// the custom resource's plural name. For TPRs this would be lowercase plural /// kind. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom object's name /// /// /// The cancellation token. /// - public static async Task CreateNamespacedCustomObjectAsync(this IKubernetes operations, object body, string group, string version, string namespaceParameter, string plural, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchClusterCustomObjectScaleAsync(this IKubernetes operations, object body, string group, string version, string plural, string name, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedCustomObjectWithHttpMessagesAsync(body, group, version, namespaceParameter, plural, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchClusterCustomObjectScaleWithHttpMessagesAsync(body, group, version, plural, name, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch namespace scoped custom objects + /// read scale of the specified custom object /// /// /// The operations group for this extension method. /// /// - /// The custom resource's group name + /// the custom resource's group /// /// - /// The custom resource's version - /// - /// - /// The custom resource's namespace + /// the custom resource's version /// /// - /// The custom resource's plural name. For TPRs this would be lowercase plural + /// the custom resource's plural name. For TPRs this would be lowercase plural /// kind. /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. - /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom object's name /// - public static object ListNamespacedCustomObject(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string)) + public static object GetClusterCustomObjectScale(this IKubernetes operations, string group, string version, string plural, string name) { - return operations.ListNamespacedCustomObjectAsync(group, version, namespaceParameter, plural, labelSelector, resourceVersion, watch, pretty).GetAwaiter().GetResult(); + return operations.GetClusterCustomObjectScaleAsync(group, version, plural, name).GetAwaiter().GetResult(); } /// - /// list or watch namespace scoped custom objects + /// read scale of the specified custom object /// /// /// The operations group for this extension method. /// /// - /// The custom resource's group name + /// the custom resource's group /// /// - /// The custom resource's version - /// - /// - /// The custom resource's namespace + /// the custom resource's version /// /// - /// The custom resource's plural name. For TPRs this would be lowercase plural + /// the custom resource's plural name. For TPRs this would be lowercase plural /// kind. /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. - /// - /// - /// If 'true', then the output is pretty printed. + /// + /// the custom object's name /// /// /// The cancellation token. /// - public static async Task ListNamespacedCustomObjectAsync(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetClusterCustomObjectScaleAsync(this IKubernetes operations, string group, string version, string plural, string name, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedCustomObjectWithHttpMessagesAsync(group, version, namespaceParameter, plural, labelSelector, resourceVersion, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetClusterCustomObjectScaleWithHttpMessagesAsync(group, version, plural, name, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -59966,79 +67416,12 @@ public static object GetClusterCustomObject(this IKubernetes operations, string } /// - /// replace the specified namespace scoped custom object - /// - /// - /// The operations group for this extension method. - /// - /// - /// The JSON schema of the Resource to replace. - /// - /// - /// the custom resource's group - /// - /// - /// the custom resource's version - /// - /// - /// The custom resource's namespace - /// - /// - /// the custom resource's plural name. For TPRs this would be lowercase plural - /// kind. - /// - /// - /// the custom object's name - /// - public static object ReplaceNamespacedCustomObject(this IKubernetes operations, object body, string group, string version, string namespaceParameter, string plural, string name) - { - return operations.ReplaceNamespacedCustomObjectAsync(body, group, version, namespaceParameter, plural, name).GetAwaiter().GetResult(); - } - - /// - /// replace the specified namespace scoped custom object - /// - /// - /// The operations group for this extension method. - /// - /// - /// The JSON schema of the Resource to replace. - /// - /// - /// the custom resource's group - /// - /// - /// the custom resource's version - /// - /// - /// The custom resource's namespace - /// - /// - /// the custom resource's plural name. For TPRs this would be lowercase plural - /// kind. - /// - /// - /// the custom object's name - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedCustomObjectAsync(this IKubernetes operations, object body, string group, string version, string namespaceParameter, string plural, string name, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedCustomObjectWithHttpMessagesAsync(body, group, version, namespaceParameter, plural, name, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// patch the specified namespace scoped custom object + /// replace status of the specified namespace scoped custom object /// /// /// The operations group for this extension method. /// /// - /// The JSON schema of the Resource to patch. /// /// /// the custom resource's group @@ -60056,19 +67439,18 @@ public static object ReplaceNamespacedCustomObject(this IKubernetes operations, /// /// the custom object's name /// - public static object PatchNamespacedCustomObject(this IKubernetes operations, object body, string group, string version, string namespaceParameter, string plural, string name) + public static object ReplaceNamespacedCustomObjectStatus(this IKubernetes operations, object body, string group, string version, string namespaceParameter, string plural, string name) { - return operations.PatchNamespacedCustomObjectAsync(body, group, version, namespaceParameter, plural, name).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedCustomObjectStatusAsync(body, group, version, namespaceParameter, plural, name).GetAwaiter().GetResult(); } /// - /// patch the specified namespace scoped custom object + /// replace status of the specified namespace scoped custom object /// /// /// The operations group for this extension method. /// /// - /// The JSON schema of the Resource to patch. /// /// /// the custom resource's group @@ -60089,16 +67471,16 @@ public static object PatchNamespacedCustomObject(this IKubernetes operations, ob /// /// The cancellation token. /// - public static async Task PatchNamespacedCustomObjectAsync(this IKubernetes operations, object body, string group, string version, string namespaceParameter, string plural, string name, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedCustomObjectStatusAsync(this IKubernetes operations, object body, string group, string version, string namespaceParameter, string plural, string name, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedCustomObjectWithHttpMessagesAsync(body, group, version, namespaceParameter, plural, name, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedCustomObjectStatusWithHttpMessagesAsync(body, group, version, namespaceParameter, plural, name, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Deletes the specified namespace scoped custom object + /// partially update status of the specified namespace scoped custom object /// /// /// The operations group for this extension method. @@ -60121,32 +67503,13 @@ public static object PatchNamespacedCustomObject(this IKubernetes operations, ob /// /// the custom object's name /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. - /// - public static object DeleteNamespacedCustomObject(this IKubernetes operations, V1DeleteOptions body, string group, string version, string namespaceParameter, string plural, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string)) + public static object PatchNamespacedCustomObjectStatus(this IKubernetes operations, object body, string group, string version, string namespaceParameter, string plural, string name) { - return operations.DeleteNamespacedCustomObjectAsync(body, group, version, namespaceParameter, plural, name, gracePeriodSeconds, orphanDependents, propagationPolicy).GetAwaiter().GetResult(); + return operations.PatchNamespacedCustomObjectStatusAsync(body, group, version, namespaceParameter, plural, name).GetAwaiter().GetResult(); } /// - /// Deletes the specified namespace scoped custom object + /// partially update status of the specified namespace scoped custom object /// /// /// The operations group for this extension method. @@ -60169,38 +67532,19 @@ public static object PatchNamespacedCustomObject(this IKubernetes operations, ob /// /// the custom object's name /// - /// - /// The duration in seconds before the object should be deleted. Value must be - /// non-negative integer. The value zero indicates delete immediately. If this - /// value is nil, the default grace period for the specified type will be used. - /// Defaults to a per object value if not specified. zero means delete - /// immediately. - /// - /// - /// Deprecated: please use the PropagationPolicy, this field will be deprecated - /// in 1.7. Should the dependent objects be orphaned. If true/false, the - /// "orphan" finalizer will be added to/removed from the object's finalizers - /// list. Either this field or PropagationPolicy may be set, but not both. - /// - /// - /// Whether and how garbage collection will be performed. Either this field or - /// OrphanDependents may be set, but not both. The default policy is decided by - /// the existing finalizer set in the metadata.finalizers and the - /// resource-specific default policy. - /// /// /// The cancellation token. /// - public static async Task DeleteNamespacedCustomObjectAsync(this IKubernetes operations, V1DeleteOptions body, string group, string version, string namespaceParameter, string plural, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedCustomObjectStatusAsync(this IKubernetes operations, object body, string group, string version, string namespaceParameter, string plural, string name, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedCustomObjectWithHttpMessagesAsync(body, group, version, namespaceParameter, plural, name, gracePeriodSeconds, orphanDependents, propagationPolicy, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedCustomObjectStatusWithHttpMessagesAsync(body, group, version, namespaceParameter, plural, name, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Returns a namespace scoped custom object + /// read status of the specified namespace scoped custom object /// /// /// The operations group for this extension method. @@ -60221,13 +67565,13 @@ public static object PatchNamespacedCustomObject(this IKubernetes operations, ob /// /// the custom object's name /// - public static object GetNamespacedCustomObject(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string name) + public static object GetNamespacedCustomObjectStatus(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string name) { - return operations.GetNamespacedCustomObjectAsync(group, version, namespaceParameter, plural, name).GetAwaiter().GetResult(); + return operations.GetNamespacedCustomObjectStatusAsync(group, version, namespaceParameter, plural, name).GetAwaiter().GetResult(); } /// - /// Returns a namespace scoped custom object + /// read status of the specified namespace scoped custom object /// /// /// The operations group for this extension method. @@ -60251,9 +67595,9 @@ public static object GetNamespacedCustomObject(this IKubernetes operations, stri /// /// The cancellation token. /// - public static async Task GetNamespacedCustomObjectAsync(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string name, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetNamespacedCustomObjectStatusAsync(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string name, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetNamespacedCustomObjectWithHttpMessagesAsync(group, version, namespaceParameter, plural, name, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetNamespacedCustomObjectStatusWithHttpMessagesAsync(group, version, namespaceParameter, plural, name, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } diff --git a/src/KubernetesClient/generated/ModelExtensions.cs b/src/KubernetesClient/generated/ModelExtensions.cs index becaaf50e..323712610 100644 --- a/src/KubernetesClient/generated/ModelExtensions.cs +++ b/src/KubernetesClient/generated/ModelExtensions.cs @@ -322,6 +322,20 @@ public partial class V2beta1HorizontalPodAutoscalerList : IKubernetesObject public const string KubeGroup = "autoscaling"; } + public partial class V2beta2HorizontalPodAutoscaler : IKubernetesObject + { + public const string KubeApiVersion = "v2beta2"; + public const string KubeKind = "HorizontalPodAutoscaler"; + public const string KubeGroup = "autoscaling"; + } + + public partial class V2beta2HorizontalPodAutoscalerList : IKubernetesObject + { + public const string KubeApiVersion = "v2beta2"; + public const string KubeKind = "HorizontalPodAutoscalerList"; + public const string KubeGroup = "autoscaling"; + } + public partial class V1Job : IKubernetesObject { public const string KubeApiVersion = "v1"; @@ -378,6 +392,20 @@ public partial class V1beta1CertificateSigningRequestList : IKubernetesObject public const string KubeGroup = "certificates.k8s.io"; } + public partial class V1beta1Lease : IKubernetesObject + { + public const string KubeApiVersion = "v1beta1"; + public const string KubeKind = "Lease"; + public const string KubeGroup = "coordination.k8s.io"; + } + + public partial class V1beta1LeaseList : IKubernetesObject + { + public const string KubeApiVersion = "v1beta1"; + public const string KubeKind = "LeaseList"; + public const string KubeGroup = "coordination.k8s.io"; + } + public partial class V1Binding : IKubernetesObject { public const string KubeApiVersion = "v1"; @@ -476,13 +504,6 @@ public partial class V1Node : IKubernetesObject public const string KubeGroup = ""; } - public partial class V1NodeConfigSource : IKubernetesObject - { - public const string KubeApiVersion = "v1"; - public const string KubeKind = "NodeConfigSource"; - public const string KubeGroup = ""; - } - public partial class V1NodeList : IKubernetesObject { public const string KubeApiVersion = "v1"; @@ -903,6 +924,20 @@ public partial class V1alpha1PriorityClassList : IKubernetesObject public const string KubeGroup = "scheduling.k8s.io"; } + public partial class V1beta1PriorityClass : IKubernetesObject + { + public const string KubeApiVersion = "v1beta1"; + public const string KubeKind = "PriorityClass"; + public const string KubeGroup = "scheduling.k8s.io"; + } + + public partial class V1beta1PriorityClassList : IKubernetesObject + { + public const string KubeApiVersion = "v1beta1"; + public const string KubeKind = "PriorityClassList"; + public const string KubeGroup = "scheduling.k8s.io"; + } + public partial class V1alpha1PodPreset : IKubernetesObject { public const string KubeApiVersion = "v1alpha1"; @@ -973,6 +1008,20 @@ public partial class V1beta1VolumeAttachmentList : IKubernetesObject public const string KubeGroup = "storage.k8s.io"; } + public partial class V1beta1CustomResourceDefinition : IKubernetesObject + { + public const string KubeApiVersion = "v1beta1"; + public const string KubeKind = "CustomResourceDefinition"; + public const string KubeGroup = "apiextensions.k8s.io"; + } + + public partial class V1beta1CustomResourceDefinitionList : IKubernetesObject + { + public const string KubeApiVersion = "v1beta1"; + public const string KubeKind = "CustomResourceDefinitionList"; + public const string KubeGroup = "apiextensions.k8s.io"; + } + public partial class V1APIGroup : IKubernetesObject { public const string KubeApiVersion = "v1"; @@ -1015,4 +1064,32 @@ public partial class V1Status : IKubernetesObject public const string KubeGroup = ""; } + public partial class V1APIService : IKubernetesObject + { + public const string KubeApiVersion = "v1"; + public const string KubeKind = "APIService"; + public const string KubeGroup = "apiregistration.k8s.io"; + } + + public partial class V1APIServiceList : IKubernetesObject + { + public const string KubeApiVersion = "v1"; + public const string KubeKind = "APIServiceList"; + public const string KubeGroup = "apiregistration.k8s.io"; + } + + public partial class V1beta1APIService : IKubernetesObject + { + public const string KubeApiVersion = "v1beta1"; + public const string KubeKind = "APIService"; + public const string KubeGroup = "apiregistration.k8s.io"; + } + + public partial class V1beta1APIServiceList : IKubernetesObject + { + public const string KubeApiVersion = "v1beta1"; + public const string KubeKind = "APIServiceList"; + public const string KubeGroup = "apiregistration.k8s.io"; + } + } diff --git a/src/KubernetesClient/generated/Models/Appsv1beta1RollingUpdateDeployment.cs b/src/KubernetesClient/generated/Models/Appsv1beta1RollingUpdateDeployment.cs index f27defea9..989436e81 100644 --- a/src/KubernetesClient/generated/Models/Appsv1beta1RollingUpdateDeployment.cs +++ b/src/KubernetesClient/generated/Models/Appsv1beta1RollingUpdateDeployment.cs @@ -32,10 +32,10 @@ public Appsv1beta1RollingUpdateDeployment() /// absolute number (ex: 5) or a percentage of desired pods (ex: 10%). /// This can not be 0 if MaxUnavailable is 0. Absolute number is /// calculated from percentage by rounding up. Defaults to 25%. - /// Example: when this is set to 30%, the new RC can be scaled up - /// immediately when the rolling update starts, such that the total + /// Example: when this is set to 30%, the new ReplicaSet can be scaled + /// up immediately when the rolling update starts, such that the total /// number of old and new pods do not exceed 130% of desired pods. Once - /// old pods have been killed, new RC can be scaled up further, + /// old pods have been killed, new ReplicaSet can be scaled up further, /// ensuring that total number of pods running at any time during the /// update is atmost 130% of desired pods. /// The maximum number of pods that can be @@ -43,11 +43,12 @@ public Appsv1beta1RollingUpdateDeployment() /// 5) or a percentage of desired pods (ex: 10%). Absolute number is /// calculated from percentage by rounding down. This can not be 0 if /// MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, - /// the old RC can be scaled down to 70% of desired pods immediately - /// when the rolling update starts. Once new pods are ready, old RC can - /// be scaled down further, followed by scaling up the new RC, ensuring - /// that the total number of pods available at all times during the - /// update is at least 70% of desired pods. + /// the old ReplicaSet can be scaled down to 70% of desired pods + /// immediately when the rolling update starts. Once new pods are + /// ready, old ReplicaSet can be scaled down further, followed by + /// scaling up the new ReplicaSet, ensuring that the total number of + /// pods available at all times during the update is at least 70% of + /// desired pods. public Appsv1beta1RollingUpdateDeployment(IntstrIntOrString maxSurge = default(IntstrIntOrString), IntstrIntOrString maxUnavailable = default(IntstrIntOrString)) { MaxSurge = maxSurge; @@ -66,12 +67,12 @@ public Appsv1beta1RollingUpdateDeployment() /// or a percentage of desired pods (ex: 10%). This can not be 0 if /// MaxUnavailable is 0. Absolute number is calculated from percentage /// by rounding up. Defaults to 25%. Example: when this is set to 30%, - /// the new RC can be scaled up immediately when the rolling update - /// starts, such that the total number of old and new pods do not - /// exceed 130% of desired pods. Once old pods have been killed, new RC - /// can be scaled up further, ensuring that total number of pods - /// running at any time during the update is atmost 130% of desired - /// pods. + /// the new ReplicaSet can be scaled up immediately when the rolling + /// update starts, such that the total number of old and new pods do + /// not exceed 130% of desired pods. Once old pods have been killed, + /// new ReplicaSet can be scaled up further, ensuring that total number + /// of pods running at any time during the update is atmost 130% of + /// desired pods. /// [JsonProperty(PropertyName = "maxSurge")] public IntstrIntOrString MaxSurge { get; set; } @@ -81,12 +82,12 @@ public Appsv1beta1RollingUpdateDeployment() /// during the update. Value can be an absolute number (ex: 5) or a /// percentage of desired pods (ex: 10%). Absolute number is calculated /// from percentage by rounding down. This can not be 0 if MaxSurge is - /// 0. Defaults to 25%. Example: when this is set to 30%, the old RC - /// can be scaled down to 70% of desired pods immediately when the - /// rolling update starts. Once new pods are ready, old RC can be - /// scaled down further, followed by scaling up the new RC, ensuring - /// that the total number of pods available at all times during the - /// update is at least 70% of desired pods. + /// 0. Defaults to 25%. Example: when this is set to 30%, the old + /// ReplicaSet can be scaled down to 70% of desired pods immediately + /// when the rolling update starts. Once new pods are ready, old + /// ReplicaSet can be scaled down further, followed by scaling up the + /// new ReplicaSet, ensuring that the total number of pods available at + /// all times during the update is at least 70% of desired pods. /// [JsonProperty(PropertyName = "maxUnavailable")] public IntstrIntOrString MaxUnavailable { get; set; } diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1AllowedFlexVolume.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1AllowedFlexVolume.cs index a38454ee5..c33fdb7fa 100644 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1AllowedFlexVolume.cs +++ b/src/KubernetesClient/generated/Models/Extensionsv1beta1AllowedFlexVolume.cs @@ -12,7 +12,7 @@ namespace k8s.Models /// /// AllowedFlexVolume represents a single Flexvolume that is allowed to be - /// used. + /// used. Deprecated: use AllowedFlexVolume from policy API Group instead. /// public partial class Extensionsv1beta1AllowedFlexVolume { @@ -29,7 +29,7 @@ public Extensionsv1beta1AllowedFlexVolume() /// Initializes a new instance of the /// Extensionsv1beta1AllowedFlexVolume class. /// - /// Driver is the name of the Flexvolume + /// driver is the name of the Flexvolume /// driver. public Extensionsv1beta1AllowedFlexVolume(string driver) { diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1AllowedHostPath.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1AllowedHostPath.cs index 90c4d2f6f..c4cdaf191 100644 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1AllowedHostPath.cs +++ b/src/KubernetesClient/generated/Models/Extensionsv1beta1AllowedHostPath.cs @@ -10,8 +10,9 @@ namespace k8s.Models using System.Linq; /// - /// defines the host volume conditions that will be enabled by a policy for - /// pods to use. It requires the path prefix to be defined. + /// AllowedHostPath defines the host volume conditions that will be enabled + /// by a policy for pods to use. It requires the path prefix to be defined. + /// Deprecated: use AllowedHostPath from policy API Group instead. /// public partial class Extensionsv1beta1AllowedHostPath { @@ -28,15 +29,19 @@ public Extensionsv1beta1AllowedHostPath() /// Initializes a new instance of the Extensionsv1beta1AllowedHostPath /// class. /// - /// is the path prefix that the host volume - /// must match. It does not support `*`. Trailing slashes are trimmed - /// when validating the path prefix with a host path. + /// pathPrefix is the path prefix that the + /// host volume must match. It does not support `*`. Trailing slashes + /// are trimmed when validating the path prefix with a host path. /// /// Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` /// would not allow `/food` or `/etc/foo` - public Extensionsv1beta1AllowedHostPath(string pathPrefix = default(string)) + /// when set to true, will allow host + /// volumes matching the pathPrefix only if all volume mounts are + /// readOnly. + public Extensionsv1beta1AllowedHostPath(string pathPrefix = default(string), bool? readOnlyProperty = default(bool?)) { PathPrefix = pathPrefix; + ReadOnlyProperty = readOnlyProperty; CustomInit(); } @@ -46,9 +51,9 @@ public Extensionsv1beta1AllowedHostPath() partial void CustomInit(); /// - /// Gets or sets is the path prefix that the host volume must match. It - /// does not support `*`. Trailing slashes are trimmed when validating - /// the path prefix with a host path. + /// Gets or sets pathPrefix is the path prefix that the host volume + /// must match. It does not support `*`. Trailing slashes are trimmed + /// when validating the path prefix with a host path. /// /// Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` /// would not allow `/food` or `/etc/foo` @@ -56,5 +61,12 @@ public Extensionsv1beta1AllowedHostPath() [JsonProperty(PropertyName = "pathPrefix")] public string PathPrefix { get; set; } + /// + /// Gets or sets when set to true, will allow host volumes matching the + /// pathPrefix only if all volume mounts are readOnly. + /// + [JsonProperty(PropertyName = "readOnly")] + public bool? ReadOnlyProperty { get; set; } + } } diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentSpec.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentSpec.cs index 78ee09d39..acfd0029b 100644 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentSpec.cs +++ b/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentSpec.cs @@ -43,7 +43,8 @@ public Extensionsv1beta1DeploymentSpec() /// deployments and a condition with a ProgressDeadlineExceeded reason /// will be surfaced in the deployment status. Note that progress will /// not be estimated during the time a deployment is paused. This is - /// not set by default. + /// set to the max value of int32 (i.e. 2147483647) by default, which + /// means "no deadline". /// Number of desired pods. This is a pointer to /// distinguish between explicit zero and not specified. Defaults to /// 1. @@ -98,7 +99,9 @@ public Extensionsv1beta1DeploymentSpec() /// controller will continue to process failed deployments and a /// condition with a ProgressDeadlineExceeded reason will be surfaced /// in the deployment status. Note that progress will not be estimated - /// during the time a deployment is paused. This is not set by default. + /// during the time a deployment is paused. This is set to the max + /// value of int32 (i.e. 2147483647) by default, which means "no + /// deadline". /// [JsonProperty(PropertyName = "progressDeadlineSeconds")] public int? ProgressDeadlineSeconds { get; set; } diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1FSGroupStrategyOptions.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1FSGroupStrategyOptions.cs index b594cfc17..290941eda 100644 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1FSGroupStrategyOptions.cs +++ b/src/KubernetesClient/generated/Models/Extensionsv1beta1FSGroupStrategyOptions.cs @@ -13,7 +13,8 @@ namespace k8s.Models /// /// FSGroupStrategyOptions defines the strategy type and options used to - /// create the strategy. + /// create the strategy. Deprecated: use FSGroupStrategyOptions from policy + /// API Group instead. /// public partial class Extensionsv1beta1FSGroupStrategyOptions { @@ -30,10 +31,10 @@ public Extensionsv1beta1FSGroupStrategyOptions() /// Initializes a new instance of the /// Extensionsv1beta1FSGroupStrategyOptions class. /// - /// Ranges are the allowed ranges of fs groups. + /// ranges are the allowed ranges of fs groups. /// If you would like to force a single fs group then supply a single - /// range with the same start and end. - /// Rule is the strategy that will dictate what + /// range with the same start and end. Required for MustRunAs. + /// rule is the strategy that will dictate what /// FSGroup is used in the SecurityContext. public Extensionsv1beta1FSGroupStrategyOptions(IList ranges = default(IList), string rule = default(string)) { @@ -50,7 +51,7 @@ public Extensionsv1beta1FSGroupStrategyOptions() /// /// Gets or sets ranges are the allowed ranges of fs groups. If you /// would like to force a single fs group then supply a single range - /// with the same start and end. + /// with the same start and end. Required for MustRunAs. /// [JsonProperty(PropertyName = "ranges")] public IList Ranges { get; set; } diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1HostPortRange.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1HostPortRange.cs index 12077ad75..f1dfcf40c 100644 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1HostPortRange.cs +++ b/src/KubernetesClient/generated/Models/Extensionsv1beta1HostPortRange.cs @@ -10,9 +10,9 @@ namespace k8s.Models using System.Linq; /// - /// Host Port Range defines a range of host ports that will be enabled by a + /// HostPortRange defines a range of host ports that will be enabled by a /// policy for pods to use. It requires both the start and end to be - /// defined. + /// defined. Deprecated: use HostPortRange from policy API Group instead. /// public partial class Extensionsv1beta1HostPortRange { diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1IDRange.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1IDRange.cs index e23eee33b..823367bc5 100644 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1IDRange.cs +++ b/src/KubernetesClient/generated/Models/Extensionsv1beta1IDRange.cs @@ -10,7 +10,8 @@ namespace k8s.Models using System.Linq; /// - /// ID Range provides a min/max of an allowed range of IDs. + /// IDRange provides a min/max of an allowed range of IDs. Deprecated: use + /// IDRange from policy API Group instead. /// public partial class Extensionsv1beta1IDRange { @@ -25,8 +26,8 @@ public Extensionsv1beta1IDRange() /// /// Initializes a new instance of the Extensionsv1beta1IDRange class. /// - /// Max is the end of the range, inclusive. - /// Min is the start of the range, inclusive. + /// max is the end of the range, inclusive. + /// min is the start of the range, inclusive. public Extensionsv1beta1IDRange(long max, long min) { Max = max; diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicy.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicy.cs index 4c4a831d4..0adfaf53a 100644 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicy.cs +++ b/src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicy.cs @@ -10,8 +10,9 @@ namespace k8s.Models using System.Linq; /// - /// Pod Security Policy governs the ability to make requests that affect - /// the Security Context that will be applied to a pod and container. + /// PodSecurityPolicy governs the ability to make requests that affect the + /// Security Context that will be applied to a pod and container. + /// Deprecated: use PodSecurityPolicy from policy API Group instead. /// public partial class Extensionsv1beta1PodSecurityPolicy { diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicyList.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicyList.cs index 3f885960f..f5a182020 100644 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicyList.cs +++ b/src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicyList.cs @@ -13,7 +13,8 @@ namespace k8s.Models using System.Linq; /// - /// Pod Security Policy List is a list of PodSecurityPolicy objects. + /// PodSecurityPolicyList is a list of PodSecurityPolicy objects. + /// Deprecated: use PodSecurityPolicyList from policy API Group instead. /// public partial class Extensionsv1beta1PodSecurityPolicyList { @@ -30,7 +31,7 @@ public Extensionsv1beta1PodSecurityPolicyList() /// Initializes a new instance of the /// Extensionsv1beta1PodSecurityPolicyList class. /// - /// Items is a list of schema objects. + /// items is a list of schema objects. /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized /// schemas to the latest internal value, and may reject unrecognized diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicySpec.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicySpec.cs index f5a881e86..1996911eb 100644 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicySpec.cs +++ b/src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicySpec.cs @@ -13,7 +13,8 @@ namespace k8s.Models using System.Linq; /// - /// Pod Security Policy Spec defines the policy enforced. + /// PodSecurityPolicySpec defines the policy enforced. Deprecated: use + /// PodSecurityPolicySpec from policy API Group instead. /// public partial class Extensionsv1beta1PodSecurityPolicySpec { @@ -30,40 +31,62 @@ public Extensionsv1beta1PodSecurityPolicySpec() /// Initializes a new instance of the /// Extensionsv1beta1PodSecurityPolicySpec class. /// - /// FSGroup is the strategy that will dictate + /// fsGroup is the strategy that will dictate /// what fs group is used by the SecurityContext. /// runAsUser is the strategy that will dictate /// the allowable RunAsUser values that may be set. /// seLinux is the strategy that will dictate the /// allowable labels that may be set. - /// SupplementalGroups is the strategy + /// supplementalGroups is the strategy /// that will dictate what supplemental groups are used by the /// SecurityContext. - /// AllowPrivilegeEscalation + /// allowPrivilegeEscalation /// determines if a pod can request to allow privilege escalation. If /// unspecified, defaults to true. - /// AllowedCapabilities is a list of + /// allowedCapabilities is a list of /// capabilities that can be requested to add to the container. /// Capabilities in this field may be added at the pod author's /// discretion. You must not list a capability in both - /// AllowedCapabilities and RequiredDropCapabilities. - /// AllowedFlexVolumes is a whitelist + /// allowedCapabilities and requiredDropCapabilities. + /// allowedFlexVolumes is a whitelist /// of allowed Flexvolumes. Empty or nil indicates that all /// Flexvolumes may be used. This parameter is effective only when the - /// usage of the Flexvolumes is allowed in the "Volumes" field. - /// is a white list of allowed host - /// paths. Empty indicates that all host paths may be used. - /// DefaultAddCapabilities is the + /// usage of the Flexvolumes is allowed in the "volumes" field. + /// allowedHostPaths is a white list of + /// allowed host paths. Empty indicates that all host paths may be + /// used. + /// AllowedProcMountTypes is a + /// whitelist of allowed ProcMountTypes. Empty or nil indicates that + /// only the DefaultProcMountType may be used. This requires the + /// ProcMountType feature flag to be enabled. + /// allowedUnsafeSysctls is a list + /// of explicitly allowed unsafe sysctls, defaults to none. Each entry + /// is either a plain sysctl name or ends in "*" in which case it is + /// considered as a prefix of allowed sysctls. Single * means all + /// unsafe sysctls are allowed. Kubelet has to whitelist all allowed + /// unsafe sysctls explicitly to avoid rejection. + /// + /// Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. + /// "foo.*" allows "foo.bar", "foo.baz", etc. + /// defaultAddCapabilities is the /// default set of capabilities that will be added to the container /// unless the pod spec specifically drops the capability. You may not - /// list a capability in both DefaultAddCapabilities and - /// RequiredDropCapabilities. Capabilities added here are implicitly - /// allowed, and need not be included in the AllowedCapabilities + /// list a capability in both defaultAddCapabilities and + /// requiredDropCapabilities. Capabilities added here are implicitly + /// allowed, and need not be included in the allowedCapabilities /// list. /// DefaultAllowPrivilegeEscalation + /// name="defaultAllowPrivilegeEscalation">defaultAllowPrivilegeEscalation /// controls the default setting for whether a process can gain more /// privileges than its parent process. + /// forbiddenSysctls is a list of + /// explicitly forbidden sysctls, defaults to none. Each entry is + /// either a plain sysctl name or ends in "*" in which case it is + /// considered as a prefix of forbidden sysctls. Single * means all + /// sysctls are forbidden. + /// + /// Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. + /// "foo.*" forbids "foo.bar", "foo.baz", etc. /// hostIPC determines if the policy allows the /// use of HostIPC in the pod spec. /// hostNetwork determines if the policy @@ -74,25 +97,29 @@ public Extensionsv1beta1PodSecurityPolicySpec() /// are allowed to be exposed. /// privileged determines if a pod can request /// to be run as privileged. - /// ReadOnlyRootFilesystem when + /// readOnlyRootFilesystem when /// set to true will force containers to run with a read only root file /// system. If the container specifically requests to run with a /// non-read only root file system the PSP should deny the pod. If set /// to false the container may run with a read only root file system if /// it wishes but it will not be forced to. - /// RequiredDropCapabilities are + /// requiredDropCapabilities are /// the capabilities that will be dropped from the container. These /// are required to be dropped and cannot be added. /// volumes is a white list of allowed volume - /// plugins. Empty indicates that all plugins may be used. - public Extensionsv1beta1PodSecurityPolicySpec(Extensionsv1beta1FSGroupStrategyOptions fsGroup, Extensionsv1beta1RunAsUserStrategyOptions runAsUser, Extensionsv1beta1SELinuxStrategyOptions seLinux, Extensionsv1beta1SupplementalGroupsStrategyOptions supplementalGroups, bool? allowPrivilegeEscalation = default(bool?), IList allowedCapabilities = default(IList), IList allowedFlexVolumes = default(IList), IList allowedHostPaths = default(IList), IList defaultAddCapabilities = default(IList), bool? defaultAllowPrivilegeEscalation = default(bool?), bool? hostIPC = default(bool?), bool? hostNetwork = default(bool?), bool? hostPID = default(bool?), IList hostPorts = default(IList), bool? privileged = default(bool?), bool? readOnlyRootFilesystem = default(bool?), IList requiredDropCapabilities = default(IList), IList volumes = default(IList)) + /// plugins. Empty indicates that no volumes may be used. To allow all + /// volumes you may use '*'. + public Extensionsv1beta1PodSecurityPolicySpec(Extensionsv1beta1FSGroupStrategyOptions fsGroup, Extensionsv1beta1RunAsUserStrategyOptions runAsUser, Extensionsv1beta1SELinuxStrategyOptions seLinux, Extensionsv1beta1SupplementalGroupsStrategyOptions supplementalGroups, bool? allowPrivilegeEscalation = default(bool?), IList allowedCapabilities = default(IList), IList allowedFlexVolumes = default(IList), IList allowedHostPaths = default(IList), IList allowedProcMountTypes = default(IList), IList allowedUnsafeSysctls = default(IList), IList defaultAddCapabilities = default(IList), bool? defaultAllowPrivilegeEscalation = default(bool?), IList forbiddenSysctls = default(IList), bool? hostIPC = default(bool?), bool? hostNetwork = default(bool?), bool? hostPID = default(bool?), IList hostPorts = default(IList), bool? privileged = default(bool?), bool? readOnlyRootFilesystem = default(bool?), IList requiredDropCapabilities = default(IList), IList volumes = default(IList)) { AllowPrivilegeEscalation = allowPrivilegeEscalation; AllowedCapabilities = allowedCapabilities; AllowedFlexVolumes = allowedFlexVolumes; AllowedHostPaths = allowedHostPaths; + AllowedProcMountTypes = allowedProcMountTypes; + AllowedUnsafeSysctls = allowedUnsafeSysctls; DefaultAddCapabilities = defaultAddCapabilities; DefaultAllowPrivilegeEscalation = defaultAllowPrivilegeEscalation; + ForbiddenSysctls = forbiddenSysctls; FsGroup = fsGroup; HostIPC = hostIPC; HostNetwork = hostNetwork; @@ -125,8 +152,8 @@ public Extensionsv1beta1PodSecurityPolicySpec() /// Gets or sets allowedCapabilities is a list of capabilities that can /// be requested to add to the container. Capabilities in this field /// may be added at the pod author's discretion. You must not list a - /// capability in both AllowedCapabilities and - /// RequiredDropCapabilities. + /// capability in both allowedCapabilities and + /// requiredDropCapabilities. /// [JsonProperty(PropertyName = "allowedCapabilities")] public IList AllowedCapabilities { get; set; } @@ -135,25 +162,48 @@ public Extensionsv1beta1PodSecurityPolicySpec() /// Gets or sets allowedFlexVolumes is a whitelist of allowed /// Flexvolumes. Empty or nil indicates that all Flexvolumes may be /// used. This parameter is effective only when the usage of the - /// Flexvolumes is allowed in the "Volumes" field. + /// Flexvolumes is allowed in the "volumes" field. /// [JsonProperty(PropertyName = "allowedFlexVolumes")] public IList AllowedFlexVolumes { get; set; } /// - /// Gets or sets is a white list of allowed host paths. Empty indicates - /// that all host paths may be used. + /// Gets or sets allowedHostPaths is a white list of allowed host + /// paths. Empty indicates that all host paths may be used. /// [JsonProperty(PropertyName = "allowedHostPaths")] public IList AllowedHostPaths { get; set; } + /// + /// Gets or sets allowedProcMountTypes is a whitelist of allowed + /// ProcMountTypes. Empty or nil indicates that only the + /// DefaultProcMountType may be used. This requires the ProcMountType + /// feature flag to be enabled. + /// + [JsonProperty(PropertyName = "allowedProcMountTypes")] + public IList AllowedProcMountTypes { get; set; } + + /// + /// Gets or sets allowedUnsafeSysctls is a list of explicitly allowed + /// unsafe sysctls, defaults to none. Each entry is either a plain + /// sysctl name or ends in "*" in which case it is considered as a + /// prefix of allowed sysctls. Single * means all unsafe sysctls are + /// allowed. Kubelet has to whitelist all allowed unsafe sysctls + /// explicitly to avoid rejection. + /// + /// Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. + /// "foo.*" allows "foo.bar", "foo.baz", etc. + /// + [JsonProperty(PropertyName = "allowedUnsafeSysctls")] + public IList AllowedUnsafeSysctls { get; set; } + /// /// Gets or sets defaultAddCapabilities is the default set of /// capabilities that will be added to the container unless the pod /// spec specifically drops the capability. You may not list a - /// capability in both DefaultAddCapabilities and - /// RequiredDropCapabilities. Capabilities added here are implicitly - /// allowed, and need not be included in the AllowedCapabilities list. + /// capability in both defaultAddCapabilities and + /// requiredDropCapabilities. Capabilities added here are implicitly + /// allowed, and need not be included in the allowedCapabilities list. /// [JsonProperty(PropertyName = "defaultAddCapabilities")] public IList DefaultAddCapabilities { get; set; } @@ -167,7 +217,19 @@ public Extensionsv1beta1PodSecurityPolicySpec() public bool? DefaultAllowPrivilegeEscalation { get; set; } /// - /// Gets or sets fSGroup is the strategy that will dictate what fs + /// Gets or sets forbiddenSysctls is a list of explicitly forbidden + /// sysctls, defaults to none. Each entry is either a plain sysctl name + /// or ends in "*" in which case it is considered as a prefix of + /// forbidden sysctls. Single * means all sysctls are forbidden. + /// + /// Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. + /// "foo.*" forbids "foo.bar", "foo.baz", etc. + /// + [JsonProperty(PropertyName = "forbiddenSysctls")] + public IList ForbiddenSysctls { get; set; } + + /// + /// Gets or sets fsGroup is the strategy that will dictate what fs /// group is used by the SecurityContext. /// [JsonProperty(PropertyName = "fsGroup")] @@ -250,7 +312,8 @@ public Extensionsv1beta1PodSecurityPolicySpec() /// /// Gets or sets volumes is a white list of allowed volume plugins. - /// Empty indicates that all plugins may be used. + /// Empty indicates that no volumes may be used. To allow all volumes + /// you may use '*'. /// [JsonProperty(PropertyName = "volumes")] public IList Volumes { get; set; } diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1RunAsUserStrategyOptions.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1RunAsUserStrategyOptions.cs index a5aa55cbe..4aa16f1f9 100644 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1RunAsUserStrategyOptions.cs +++ b/src/KubernetesClient/generated/Models/Extensionsv1beta1RunAsUserStrategyOptions.cs @@ -13,8 +13,9 @@ namespace k8s.Models using System.Linq; /// - /// Run A sUser Strategy Options defines the strategy type and any options - /// used to create the strategy. + /// RunAsUserStrategyOptions defines the strategy type and any options used + /// to create the strategy. Deprecated: use RunAsUserStrategyOptions from + /// policy API Group instead. /// public partial class Extensionsv1beta1RunAsUserStrategyOptions { @@ -31,10 +32,12 @@ public Extensionsv1beta1RunAsUserStrategyOptions() /// Initializes a new instance of the /// Extensionsv1beta1RunAsUserStrategyOptions class. /// - /// Rule is the strategy that will dictate the + /// rule is the strategy that will dictate the /// allowable RunAsUser values that may be set. - /// Ranges are the allowed ranges of uids that may - /// be used. + /// ranges are the allowed ranges of uids that may + /// be used. If you would like to force a single uid then supply a + /// single range with the same start and end. Required for + /// MustRunAs. public Extensionsv1beta1RunAsUserStrategyOptions(string rule, IList ranges = default(IList)) { Ranges = ranges; @@ -49,7 +52,8 @@ public Extensionsv1beta1RunAsUserStrategyOptions() /// /// Gets or sets ranges are the allowed ranges of uids that may be - /// used. + /// used. If you would like to force a single uid then supply a single + /// range with the same start and end. Required for MustRunAs. /// [JsonProperty(PropertyName = "ranges")] public IList Ranges { get; set; } diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1SELinuxStrategyOptions.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1SELinuxStrategyOptions.cs index ffb4ae852..d46c1ee71 100644 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1SELinuxStrategyOptions.cs +++ b/src/KubernetesClient/generated/Models/Extensionsv1beta1SELinuxStrategyOptions.cs @@ -11,8 +11,9 @@ namespace k8s.Models using System.Linq; /// - /// SELinux Strategy Options defines the strategy type and any options - /// used to create the strategy. + /// SELinuxStrategyOptions defines the strategy type and any options used + /// to create the strategy. Deprecated: use SELinuxStrategyOptions from + /// policy API Group instead. /// public partial class Extensionsv1beta1SELinuxStrategyOptions { @@ -29,7 +30,7 @@ public Extensionsv1beta1SELinuxStrategyOptions() /// Initializes a new instance of the /// Extensionsv1beta1SELinuxStrategyOptions class. /// - /// type is the strategy that will dictate the + /// rule is the strategy that will dictate the /// allowable labels that may be set. /// seLinuxOptions required to run as; /// required for MustRunAs More info: @@ -47,7 +48,7 @@ public Extensionsv1beta1SELinuxStrategyOptions() partial void CustomInit(); /// - /// Gets or sets type is the strategy that will dictate the allowable + /// Gets or sets rule is the strategy that will dictate the allowable /// labels that may be set. /// [JsonProperty(PropertyName = "rule")] diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1SupplementalGroupsStrategyOptions.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1SupplementalGroupsStrategyOptions.cs index 459ac66cf..a519d215c 100644 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1SupplementalGroupsStrategyOptions.cs +++ b/src/KubernetesClient/generated/Models/Extensionsv1beta1SupplementalGroupsStrategyOptions.cs @@ -13,7 +13,8 @@ namespace k8s.Models /// /// SupplementalGroupsStrategyOptions defines the strategy type and options - /// used to create the strategy. + /// used to create the strategy. Deprecated: use + /// SupplementalGroupsStrategyOptions from policy API Group instead. /// public partial class Extensionsv1beta1SupplementalGroupsStrategyOptions { @@ -30,10 +31,11 @@ public Extensionsv1beta1SupplementalGroupsStrategyOptions() /// Initializes a new instance of the /// Extensionsv1beta1SupplementalGroupsStrategyOptions class. /// - /// Ranges are the allowed ranges of supplemental + /// ranges are the allowed ranges of supplemental /// groups. If you would like to force a single supplemental group - /// then supply a single range with the same start and end. - /// Rule is the strategy that will dictate what + /// then supply a single range with the same start and end. Required + /// for MustRunAs. + /// rule is the strategy that will dictate what /// supplemental groups is used in the SecurityContext. public Extensionsv1beta1SupplementalGroupsStrategyOptions(IList ranges = default(IList), string rule = default(string)) { @@ -50,7 +52,7 @@ public Extensionsv1beta1SupplementalGroupsStrategyOptions() /// /// Gets or sets ranges are the allowed ranges of supplemental groups. /// If you would like to force a single supplemental group then supply - /// a single range with the same start and end. + /// a single range with the same start and end. Required for MustRunAs. /// [JsonProperty(PropertyName = "ranges")] public IList Ranges { get; set; } diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1AllowedFlexVolume.cs b/src/KubernetesClient/generated/Models/Policyv1beta1AllowedFlexVolume.cs index d9791e5e0..b45976e00 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1AllowedFlexVolume.cs +++ b/src/KubernetesClient/generated/Models/Policyv1beta1AllowedFlexVolume.cs @@ -29,7 +29,7 @@ public Policyv1beta1AllowedFlexVolume() /// Initializes a new instance of the Policyv1beta1AllowedFlexVolume /// class. /// - /// Driver is the name of the Flexvolume + /// driver is the name of the Flexvolume /// driver. public Policyv1beta1AllowedFlexVolume(string driver) { diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1AllowedHostPath.cs b/src/KubernetesClient/generated/Models/Policyv1beta1AllowedHostPath.cs index 25da1c9ec..2c57f3cce 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1AllowedHostPath.cs +++ b/src/KubernetesClient/generated/Models/Policyv1beta1AllowedHostPath.cs @@ -10,8 +10,8 @@ namespace k8s.Models using System.Linq; /// - /// defines the host volume conditions that will be enabled by a policy for - /// pods to use. It requires the path prefix to be defined. + /// AllowedHostPath defines the host volume conditions that will be enabled + /// by a policy for pods to use. It requires the path prefix to be defined. /// public partial class Policyv1beta1AllowedHostPath { @@ -28,15 +28,19 @@ public Policyv1beta1AllowedHostPath() /// Initializes a new instance of the Policyv1beta1AllowedHostPath /// class. /// - /// is the path prefix that the host volume - /// must match. It does not support `*`. Trailing slashes are trimmed - /// when validating the path prefix with a host path. + /// pathPrefix is the path prefix that the + /// host volume must match. It does not support `*`. Trailing slashes + /// are trimmed when validating the path prefix with a host path. /// /// Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` /// would not allow `/food` or `/etc/foo` - public Policyv1beta1AllowedHostPath(string pathPrefix = default(string)) + /// when set to true, will allow host + /// volumes matching the pathPrefix only if all volume mounts are + /// readOnly. + public Policyv1beta1AllowedHostPath(string pathPrefix = default(string), bool? readOnlyProperty = default(bool?)) { PathPrefix = pathPrefix; + ReadOnlyProperty = readOnlyProperty; CustomInit(); } @@ -46,9 +50,9 @@ public Policyv1beta1AllowedHostPath() partial void CustomInit(); /// - /// Gets or sets is the path prefix that the host volume must match. It - /// does not support `*`. Trailing slashes are trimmed when validating - /// the path prefix with a host path. + /// Gets or sets pathPrefix is the path prefix that the host volume + /// must match. It does not support `*`. Trailing slashes are trimmed + /// when validating the path prefix with a host path. /// /// Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` /// would not allow `/food` or `/etc/foo` @@ -56,5 +60,12 @@ public Policyv1beta1AllowedHostPath() [JsonProperty(PropertyName = "pathPrefix")] public string PathPrefix { get; set; } + /// + /// Gets or sets when set to true, will allow host volumes matching the + /// pathPrefix only if all volume mounts are readOnly. + /// + [JsonProperty(PropertyName = "readOnly")] + public bool? ReadOnlyProperty { get; set; } + } } diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1FSGroupStrategyOptions.cs b/src/KubernetesClient/generated/Models/Policyv1beta1FSGroupStrategyOptions.cs index f421abb37..23fba2d98 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1FSGroupStrategyOptions.cs +++ b/src/KubernetesClient/generated/Models/Policyv1beta1FSGroupStrategyOptions.cs @@ -30,10 +30,10 @@ public Policyv1beta1FSGroupStrategyOptions() /// Initializes a new instance of the /// Policyv1beta1FSGroupStrategyOptions class. /// - /// Ranges are the allowed ranges of fs groups. + /// ranges are the allowed ranges of fs groups. /// If you would like to force a single fs group then supply a single - /// range with the same start and end. - /// Rule is the strategy that will dictate what + /// range with the same start and end. Required for MustRunAs. + /// rule is the strategy that will dictate what /// FSGroup is used in the SecurityContext. public Policyv1beta1FSGroupStrategyOptions(IList ranges = default(IList), string rule = default(string)) { @@ -50,7 +50,7 @@ public Policyv1beta1FSGroupStrategyOptions() /// /// Gets or sets ranges are the allowed ranges of fs groups. If you /// would like to force a single fs group then supply a single range - /// with the same start and end. + /// with the same start and end. Required for MustRunAs. /// [JsonProperty(PropertyName = "ranges")] public IList Ranges { get; set; } diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1HostPortRange.cs b/src/KubernetesClient/generated/Models/Policyv1beta1HostPortRange.cs index 721d3d0a7..76449c9d3 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1HostPortRange.cs +++ b/src/KubernetesClient/generated/Models/Policyv1beta1HostPortRange.cs @@ -10,7 +10,7 @@ namespace k8s.Models using System.Linq; /// - /// Host Port Range defines a range of host ports that will be enabled by a + /// HostPortRange defines a range of host ports that will be enabled by a /// policy for pods to use. It requires both the start and end to be /// defined. /// diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1IDRange.cs b/src/KubernetesClient/generated/Models/Policyv1beta1IDRange.cs index 8e6c08a24..469148217 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1IDRange.cs +++ b/src/KubernetesClient/generated/Models/Policyv1beta1IDRange.cs @@ -10,7 +10,7 @@ namespace k8s.Models using System.Linq; /// - /// ID Range provides a min/max of an allowed range of IDs. + /// IDRange provides a min/max of an allowed range of IDs. /// public partial class Policyv1beta1IDRange { @@ -25,8 +25,8 @@ public Policyv1beta1IDRange() /// /// Initializes a new instance of the Policyv1beta1IDRange class. /// - /// Max is the end of the range, inclusive. - /// Min is the start of the range, inclusive. + /// max is the end of the range, inclusive. + /// min is the start of the range, inclusive. public Policyv1beta1IDRange(long max, long min) { Max = max; diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicy.cs b/src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicy.cs index c49c1fd33..8abb3c92f 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicy.cs +++ b/src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicy.cs @@ -10,8 +10,8 @@ namespace k8s.Models using System.Linq; /// - /// Pod Security Policy governs the ability to make requests that affect - /// the Security Context that will be applied to a pod and container. + /// PodSecurityPolicy governs the ability to make requests that affect the + /// Security Context that will be applied to a pod and container. /// public partial class Policyv1beta1PodSecurityPolicy { diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicyList.cs b/src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicyList.cs index 8fdaa4d92..fd73dd4a3 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicyList.cs +++ b/src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicyList.cs @@ -13,7 +13,7 @@ namespace k8s.Models using System.Linq; /// - /// Pod Security Policy List is a list of PodSecurityPolicy objects. + /// PodSecurityPolicyList is a list of PodSecurityPolicy objects. /// public partial class Policyv1beta1PodSecurityPolicyList { @@ -30,7 +30,7 @@ public Policyv1beta1PodSecurityPolicyList() /// Initializes a new instance of the /// Policyv1beta1PodSecurityPolicyList class. /// - /// Items is a list of schema objects. + /// items is a list of schema objects. /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized /// schemas to the latest internal value, and may reject unrecognized diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicySpec.cs b/src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicySpec.cs index 62d3075a6..54b50de3d 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicySpec.cs +++ b/src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicySpec.cs @@ -13,7 +13,7 @@ namespace k8s.Models using System.Linq; /// - /// Pod Security Policy Spec defines the policy enforced. + /// PodSecurityPolicySpec defines the policy enforced. /// public partial class Policyv1beta1PodSecurityPolicySpec { @@ -30,40 +30,62 @@ public Policyv1beta1PodSecurityPolicySpec() /// Initializes a new instance of the /// Policyv1beta1PodSecurityPolicySpec class. /// - /// FSGroup is the strategy that will dictate + /// fsGroup is the strategy that will dictate /// what fs group is used by the SecurityContext. /// runAsUser is the strategy that will dictate /// the allowable RunAsUser values that may be set. /// seLinux is the strategy that will dictate the /// allowable labels that may be set. - /// SupplementalGroups is the strategy + /// supplementalGroups is the strategy /// that will dictate what supplemental groups are used by the /// SecurityContext. - /// AllowPrivilegeEscalation + /// allowPrivilegeEscalation /// determines if a pod can request to allow privilege escalation. If /// unspecified, defaults to true. - /// AllowedCapabilities is a list of + /// allowedCapabilities is a list of /// capabilities that can be requested to add to the container. /// Capabilities in this field may be added at the pod author's /// discretion. You must not list a capability in both - /// AllowedCapabilities and RequiredDropCapabilities. - /// AllowedFlexVolumes is a whitelist + /// allowedCapabilities and requiredDropCapabilities. + /// allowedFlexVolumes is a whitelist /// of allowed Flexvolumes. Empty or nil indicates that all /// Flexvolumes may be used. This parameter is effective only when the - /// usage of the Flexvolumes is allowed in the "Volumes" field. - /// is a white list of allowed host - /// paths. Empty indicates that all host paths may be used. - /// DefaultAddCapabilities is the + /// usage of the Flexvolumes is allowed in the "volumes" field. + /// allowedHostPaths is a white list of + /// allowed host paths. Empty indicates that all host paths may be + /// used. + /// AllowedProcMountTypes is a + /// whitelist of allowed ProcMountTypes. Empty or nil indicates that + /// only the DefaultProcMountType may be used. This requires the + /// ProcMountType feature flag to be enabled. + /// allowedUnsafeSysctls is a list + /// of explicitly allowed unsafe sysctls, defaults to none. Each entry + /// is either a plain sysctl name or ends in "*" in which case it is + /// considered as a prefix of allowed sysctls. Single * means all + /// unsafe sysctls are allowed. Kubelet has to whitelist all allowed + /// unsafe sysctls explicitly to avoid rejection. + /// + /// Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. + /// "foo.*" allows "foo.bar", "foo.baz", etc. + /// defaultAddCapabilities is the /// default set of capabilities that will be added to the container /// unless the pod spec specifically drops the capability. You may not - /// list a capability in both DefaultAddCapabilities and - /// RequiredDropCapabilities. Capabilities added here are implicitly - /// allowed, and need not be included in the AllowedCapabilities + /// list a capability in both defaultAddCapabilities and + /// requiredDropCapabilities. Capabilities added here are implicitly + /// allowed, and need not be included in the allowedCapabilities /// list. /// DefaultAllowPrivilegeEscalation + /// name="defaultAllowPrivilegeEscalation">defaultAllowPrivilegeEscalation /// controls the default setting for whether a process can gain more /// privileges than its parent process. + /// forbiddenSysctls is a list of + /// explicitly forbidden sysctls, defaults to none. Each entry is + /// either a plain sysctl name or ends in "*" in which case it is + /// considered as a prefix of forbidden sysctls. Single * means all + /// sysctls are forbidden. + /// + /// Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. + /// "foo.*" forbids "foo.bar", "foo.baz", etc. /// hostIPC determines if the policy allows the /// use of HostIPC in the pod spec. /// hostNetwork determines if the policy @@ -74,25 +96,29 @@ public Policyv1beta1PodSecurityPolicySpec() /// are allowed to be exposed. /// privileged determines if a pod can request /// to be run as privileged. - /// ReadOnlyRootFilesystem when + /// readOnlyRootFilesystem when /// set to true will force containers to run with a read only root file /// system. If the container specifically requests to run with a /// non-read only root file system the PSP should deny the pod. If set /// to false the container may run with a read only root file system if /// it wishes but it will not be forced to. - /// RequiredDropCapabilities are + /// requiredDropCapabilities are /// the capabilities that will be dropped from the container. These /// are required to be dropped and cannot be added. /// volumes is a white list of allowed volume - /// plugins. Empty indicates that all plugins may be used. - public Policyv1beta1PodSecurityPolicySpec(Policyv1beta1FSGroupStrategyOptions fsGroup, Policyv1beta1RunAsUserStrategyOptions runAsUser, Policyv1beta1SELinuxStrategyOptions seLinux, Policyv1beta1SupplementalGroupsStrategyOptions supplementalGroups, bool? allowPrivilegeEscalation = default(bool?), IList allowedCapabilities = default(IList), IList allowedFlexVolumes = default(IList), IList allowedHostPaths = default(IList), IList defaultAddCapabilities = default(IList), bool? defaultAllowPrivilegeEscalation = default(bool?), bool? hostIPC = default(bool?), bool? hostNetwork = default(bool?), bool? hostPID = default(bool?), IList hostPorts = default(IList), bool? privileged = default(bool?), bool? readOnlyRootFilesystem = default(bool?), IList requiredDropCapabilities = default(IList), IList volumes = default(IList)) + /// plugins. Empty indicates that no volumes may be used. To allow all + /// volumes you may use '*'. + public Policyv1beta1PodSecurityPolicySpec(Policyv1beta1FSGroupStrategyOptions fsGroup, Policyv1beta1RunAsUserStrategyOptions runAsUser, Policyv1beta1SELinuxStrategyOptions seLinux, Policyv1beta1SupplementalGroupsStrategyOptions supplementalGroups, bool? allowPrivilegeEscalation = default(bool?), IList allowedCapabilities = default(IList), IList allowedFlexVolumes = default(IList), IList allowedHostPaths = default(IList), IList allowedProcMountTypes = default(IList), IList allowedUnsafeSysctls = default(IList), IList defaultAddCapabilities = default(IList), bool? defaultAllowPrivilegeEscalation = default(bool?), IList forbiddenSysctls = default(IList), bool? hostIPC = default(bool?), bool? hostNetwork = default(bool?), bool? hostPID = default(bool?), IList hostPorts = default(IList), bool? privileged = default(bool?), bool? readOnlyRootFilesystem = default(bool?), IList requiredDropCapabilities = default(IList), IList volumes = default(IList)) { AllowPrivilegeEscalation = allowPrivilegeEscalation; AllowedCapabilities = allowedCapabilities; AllowedFlexVolumes = allowedFlexVolumes; AllowedHostPaths = allowedHostPaths; + AllowedProcMountTypes = allowedProcMountTypes; + AllowedUnsafeSysctls = allowedUnsafeSysctls; DefaultAddCapabilities = defaultAddCapabilities; DefaultAllowPrivilegeEscalation = defaultAllowPrivilegeEscalation; + ForbiddenSysctls = forbiddenSysctls; FsGroup = fsGroup; HostIPC = hostIPC; HostNetwork = hostNetwork; @@ -125,8 +151,8 @@ public Policyv1beta1PodSecurityPolicySpec() /// Gets or sets allowedCapabilities is a list of capabilities that can /// be requested to add to the container. Capabilities in this field /// may be added at the pod author's discretion. You must not list a - /// capability in both AllowedCapabilities and - /// RequiredDropCapabilities. + /// capability in both allowedCapabilities and + /// requiredDropCapabilities. /// [JsonProperty(PropertyName = "allowedCapabilities")] public IList AllowedCapabilities { get; set; } @@ -135,25 +161,48 @@ public Policyv1beta1PodSecurityPolicySpec() /// Gets or sets allowedFlexVolumes is a whitelist of allowed /// Flexvolumes. Empty or nil indicates that all Flexvolumes may be /// used. This parameter is effective only when the usage of the - /// Flexvolumes is allowed in the "Volumes" field. + /// Flexvolumes is allowed in the "volumes" field. /// [JsonProperty(PropertyName = "allowedFlexVolumes")] public IList AllowedFlexVolumes { get; set; } /// - /// Gets or sets is a white list of allowed host paths. Empty indicates - /// that all host paths may be used. + /// Gets or sets allowedHostPaths is a white list of allowed host + /// paths. Empty indicates that all host paths may be used. /// [JsonProperty(PropertyName = "allowedHostPaths")] public IList AllowedHostPaths { get; set; } + /// + /// Gets or sets allowedProcMountTypes is a whitelist of allowed + /// ProcMountTypes. Empty or nil indicates that only the + /// DefaultProcMountType may be used. This requires the ProcMountType + /// feature flag to be enabled. + /// + [JsonProperty(PropertyName = "allowedProcMountTypes")] + public IList AllowedProcMountTypes { get; set; } + + /// + /// Gets or sets allowedUnsafeSysctls is a list of explicitly allowed + /// unsafe sysctls, defaults to none. Each entry is either a plain + /// sysctl name or ends in "*" in which case it is considered as a + /// prefix of allowed sysctls. Single * means all unsafe sysctls are + /// allowed. Kubelet has to whitelist all allowed unsafe sysctls + /// explicitly to avoid rejection. + /// + /// Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. + /// "foo.*" allows "foo.bar", "foo.baz", etc. + /// + [JsonProperty(PropertyName = "allowedUnsafeSysctls")] + public IList AllowedUnsafeSysctls { get; set; } + /// /// Gets or sets defaultAddCapabilities is the default set of /// capabilities that will be added to the container unless the pod /// spec specifically drops the capability. You may not list a - /// capability in both DefaultAddCapabilities and - /// RequiredDropCapabilities. Capabilities added here are implicitly - /// allowed, and need not be included in the AllowedCapabilities list. + /// capability in both defaultAddCapabilities and + /// requiredDropCapabilities. Capabilities added here are implicitly + /// allowed, and need not be included in the allowedCapabilities list. /// [JsonProperty(PropertyName = "defaultAddCapabilities")] public IList DefaultAddCapabilities { get; set; } @@ -167,7 +216,19 @@ public Policyv1beta1PodSecurityPolicySpec() public bool? DefaultAllowPrivilegeEscalation { get; set; } /// - /// Gets or sets fSGroup is the strategy that will dictate what fs + /// Gets or sets forbiddenSysctls is a list of explicitly forbidden + /// sysctls, defaults to none. Each entry is either a plain sysctl name + /// or ends in "*" in which case it is considered as a prefix of + /// forbidden sysctls. Single * means all sysctls are forbidden. + /// + /// Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. + /// "foo.*" forbids "foo.bar", "foo.baz", etc. + /// + [JsonProperty(PropertyName = "forbiddenSysctls")] + public IList ForbiddenSysctls { get; set; } + + /// + /// Gets or sets fsGroup is the strategy that will dictate what fs /// group is used by the SecurityContext. /// [JsonProperty(PropertyName = "fsGroup")] @@ -250,7 +311,8 @@ public Policyv1beta1PodSecurityPolicySpec() /// /// Gets or sets volumes is a white list of allowed volume plugins. - /// Empty indicates that all plugins may be used. + /// Empty indicates that no volumes may be used. To allow all volumes + /// you may use '*'. /// [JsonProperty(PropertyName = "volumes")] public IList Volumes { get; set; } diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1RunAsUserStrategyOptions.cs b/src/KubernetesClient/generated/Models/Policyv1beta1RunAsUserStrategyOptions.cs index 11208c4dd..53bc748e8 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1RunAsUserStrategyOptions.cs +++ b/src/KubernetesClient/generated/Models/Policyv1beta1RunAsUserStrategyOptions.cs @@ -13,8 +13,8 @@ namespace k8s.Models using System.Linq; /// - /// Run A sUser Strategy Options defines the strategy type and any options - /// used to create the strategy. + /// RunAsUserStrategyOptions defines the strategy type and any options used + /// to create the strategy. /// public partial class Policyv1beta1RunAsUserStrategyOptions { @@ -31,10 +31,12 @@ public Policyv1beta1RunAsUserStrategyOptions() /// Initializes a new instance of the /// Policyv1beta1RunAsUserStrategyOptions class. /// - /// Rule is the strategy that will dictate the + /// rule is the strategy that will dictate the /// allowable RunAsUser values that may be set. - /// Ranges are the allowed ranges of uids that may - /// be used. + /// ranges are the allowed ranges of uids that may + /// be used. If you would like to force a single uid then supply a + /// single range with the same start and end. Required for + /// MustRunAs. public Policyv1beta1RunAsUserStrategyOptions(string rule, IList ranges = default(IList)) { Ranges = ranges; @@ -49,7 +51,8 @@ public Policyv1beta1RunAsUserStrategyOptions() /// /// Gets or sets ranges are the allowed ranges of uids that may be - /// used. + /// used. If you would like to force a single uid then supply a single + /// range with the same start and end. Required for MustRunAs. /// [JsonProperty(PropertyName = "ranges")] public IList Ranges { get; set; } diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1SELinuxStrategyOptions.cs b/src/KubernetesClient/generated/Models/Policyv1beta1SELinuxStrategyOptions.cs index 785a967d2..aa10683cb 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1SELinuxStrategyOptions.cs +++ b/src/KubernetesClient/generated/Models/Policyv1beta1SELinuxStrategyOptions.cs @@ -11,8 +11,8 @@ namespace k8s.Models using System.Linq; /// - /// SELinux Strategy Options defines the strategy type and any options - /// used to create the strategy. + /// SELinuxStrategyOptions defines the strategy type and any options used + /// to create the strategy. /// public partial class Policyv1beta1SELinuxStrategyOptions { @@ -29,7 +29,7 @@ public Policyv1beta1SELinuxStrategyOptions() /// Initializes a new instance of the /// Policyv1beta1SELinuxStrategyOptions class. /// - /// type is the strategy that will dictate the + /// rule is the strategy that will dictate the /// allowable labels that may be set. /// seLinuxOptions required to run as; /// required for MustRunAs More info: @@ -47,7 +47,7 @@ public Policyv1beta1SELinuxStrategyOptions() partial void CustomInit(); /// - /// Gets or sets type is the strategy that will dictate the allowable + /// Gets or sets rule is the strategy that will dictate the allowable /// labels that may be set. /// [JsonProperty(PropertyName = "rule")] diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1SupplementalGroupsStrategyOptions.cs b/src/KubernetesClient/generated/Models/Policyv1beta1SupplementalGroupsStrategyOptions.cs index 364699799..22777fc8a 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1SupplementalGroupsStrategyOptions.cs +++ b/src/KubernetesClient/generated/Models/Policyv1beta1SupplementalGroupsStrategyOptions.cs @@ -30,10 +30,11 @@ public Policyv1beta1SupplementalGroupsStrategyOptions() /// Initializes a new instance of the /// Policyv1beta1SupplementalGroupsStrategyOptions class. /// - /// Ranges are the allowed ranges of supplemental + /// ranges are the allowed ranges of supplemental /// groups. If you would like to force a single supplemental group - /// then supply a single range with the same start and end. - /// Rule is the strategy that will dictate what + /// then supply a single range with the same start and end. Required + /// for MustRunAs. + /// rule is the strategy that will dictate what /// supplemental groups is used in the SecurityContext. public Policyv1beta1SupplementalGroupsStrategyOptions(IList ranges = default(IList), string rule = default(string)) { @@ -50,7 +51,7 @@ public Policyv1beta1SupplementalGroupsStrategyOptions() /// /// Gets or sets ranges are the allowed ranges of supplemental groups. /// If you would like to force a single supplemental group then supply - /// a single range with the same start and end. + /// a single range with the same start and end. Required for MustRunAs. /// [JsonProperty(PropertyName = "ranges")] public IList Ranges { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1APIGroup.cs b/src/KubernetesClient/generated/Models/V1APIGroup.cs index f2276004c..557d3d639 100644 --- a/src/KubernetesClient/generated/Models/V1APIGroup.cs +++ b/src/KubernetesClient/generated/Models/V1APIGroup.cs @@ -30,17 +30,6 @@ public V1APIGroup() /// Initializes a new instance of the V1APIGroup class. /// /// name is the name of the group. - /// a map of client CIDR to - /// server address that is serving this group. This is to help clients - /// reach servers in the most network-efficient way possible. Clients - /// can use the appropriate server address as per the CIDR that they - /// match. In case of multiple matches, clients should use the longest - /// matching CIDR. The server returns only those CIDRs that it thinks - /// that the client can match. For example: the master will return an - /// internal IP CIDR only, if the client reaches the server using an - /// internal IP. Server looks at X-Forwarded-For header or X-Real-Ip - /// header or request.RemoteAddr (in that order) to get the client - /// IP. /// versions are the versions supported in this /// group. /// APIVersion defines the versioned schema of @@ -56,7 +45,18 @@ public V1APIGroup() /// preferredVersion is the version /// preferred by the API server, which probably is the storage /// version. - public V1APIGroup(string name, IList serverAddressByClientCIDRs, IList versions, string apiVersion = default(string), string kind = default(string), V1GroupVersionForDiscovery preferredVersion = default(V1GroupVersionForDiscovery)) + /// a map of client CIDR to + /// server address that is serving this group. This is to help clients + /// reach servers in the most network-efficient way possible. Clients + /// can use the appropriate server address as per the CIDR that they + /// match. In case of multiple matches, clients should use the longest + /// matching CIDR. The server returns only those CIDRs that it thinks + /// that the client can match. For example: the master will return an + /// internal IP CIDR only, if the client reaches the server using an + /// internal IP. Server looks at X-Forwarded-For header or X-Real-Ip + /// header or request.RemoteAddr (in that order) to get the client + /// IP. + public V1APIGroup(string name, IList versions, string apiVersion = default(string), string kind = default(string), V1GroupVersionForDiscovery preferredVersion = default(V1GroupVersionForDiscovery), IList serverAddressByClientCIDRs = default(IList)) { ApiVersion = apiVersion; Kind = kind; @@ -138,10 +138,6 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "Name"); } - if (ServerAddressByClientCIDRs == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "ServerAddressByClientCIDRs"); - } if (Versions == null) { throw new ValidationException(ValidationRules.CannotBeNull, "Versions"); diff --git a/src/KubernetesClient/generated/Models/V1APIServiceSpec.cs b/src/KubernetesClient/generated/Models/V1APIServiceSpec.cs index bb6af24a1..778e63187 100644 --- a/src/KubernetesClient/generated/Models/V1APIServiceSpec.cs +++ b/src/KubernetesClient/generated/Models/V1APIServiceSpec.cs @@ -28,9 +28,6 @@ public V1APIServiceSpec() /// /// Initializes a new instance of the V1APIServiceSpec class. /// - /// CABundle is a PEM encoded CA bundle which - /// will be used to validate an API server's serving - /// certificate. /// GroupPriorityMininum is the /// priority this group should have at least. Higher priority means /// that the group is preferred by clients over lower priority ones. @@ -50,10 +47,22 @@ public V1APIServiceSpec() /// VersionPriority controls the ordering /// of this API version inside of its group. Must be greater than /// zero. The primary sort is based on VersionPriority, ordered highest - /// to lowest (20 before 10). The secondary sort is based on the - /// alphabetical comparison of the name of the object. (v1.bar before - /// v1.foo) Since it's inside of a group, the number can be small, - /// probably in the 10s. + /// to lowest (20 before 10). Since it's inside of a group, the number + /// can be small, probably in the 10s. In case of equal version + /// priorities, the version string will be used to compute the order + /// inside a group. If the version string is "kube-like", it will sort + /// above non "kube-like" version strings, which are ordered + /// lexicographically. "Kube-like" versions start with a "v", then are + /// followed by a number (the major version), then optionally the + /// string "alpha" or "beta" and another number (the minor version). + /// These are sorted first by GA > beta > alpha (where GA is a + /// version with no suffix such as beta or alpha), and then by + /// comparing major version, then minor version. An example sorted list + /// of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, + /// v11alpha2, foo1, foo10. + /// CABundle is a PEM encoded CA bundle which + /// will be used to validate an API server's serving + /// certificate. /// Group is the API group name this server /// hosts /// InsecureSkipTLSVerify disables @@ -62,7 +71,7 @@ public V1APIServiceSpec() /// instead. /// Version is the API version this server hosts. /// For example, "v1" - public V1APIServiceSpec(byte[] caBundle, int groupPriorityMinimum, V1ServiceReference service, int versionPriority, string group = default(string), bool? insecureSkipTLSVerify = default(bool?), string version = default(string)) + public V1APIServiceSpec(int groupPriorityMinimum, V1ServiceReference service, int versionPriority, byte[] caBundle = default(byte[]), string group = default(string), bool? insecureSkipTLSVerify = default(bool?), string version = default(string)) { CaBundle = caBundle; Group = group; @@ -136,10 +145,19 @@ public V1APIServiceSpec() /// Gets or sets versionPriority controls the ordering of this API /// version inside of its group. Must be greater than zero. The /// primary sort is based on VersionPriority, ordered highest to lowest - /// (20 before 10). The secondary sort is based on the alphabetical - /// comparison of the name of the object. (v1.bar before v1.foo) Since - /// it's inside of a group, the number can be small, probably in the - /// 10s. + /// (20 before 10). Since it's inside of a group, the number can be + /// small, probably in the 10s. In case of equal version priorities, + /// the version string will be used to compute the order inside a + /// group. If the version string is "kube-like", it will sort above non + /// "kube-like" version strings, which are ordered lexicographically. + /// "Kube-like" versions start with a "v", then are followed by a + /// number (the major version), then optionally the string "alpha" or + /// "beta" and another number (the minor version). These are sorted + /// first by GA &gt; beta &gt; alpha (where GA is a version + /// with no suffix such as beta or alpha), and then by comparing major + /// version, then minor version. An example sorted list of versions: + /// v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, + /// foo1, foo10. /// [JsonProperty(PropertyName = "versionPriority")] public int VersionPriority { get; set; } @@ -152,10 +170,6 @@ public V1APIServiceSpec() /// public virtual void Validate() { - if (CaBundle == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "CaBundle"); - } if (Service == null) { throw new ValidationException(ValidationRules.CannotBeNull, "Service"); diff --git a/src/KubernetesClient/generated/Models/V1CSIPersistentVolumeSource.cs b/src/KubernetesClient/generated/Models/V1CSIPersistentVolumeSource.cs index 6c715bfae..0e0dc88a8 100644 --- a/src/KubernetesClient/generated/Models/V1CSIPersistentVolumeSource.cs +++ b/src/KubernetesClient/generated/Models/V1CSIPersistentVolumeSource.cs @@ -45,7 +45,7 @@ public V1CSIPersistentVolumeSource() /// passed. /// Filesystem type to mount. Must be a filesystem /// type supported by the host operating system. Ex. "ext4", "xfs", - /// "ntfs". Implicitly inferred to be "ext4" if unspecified. + /// "ntfs". /// NodePublishSecretRef is a /// reference to the secret object containing sensitive information to /// pass to the CSI driver to complete the CSI NodePublishVolume and @@ -103,7 +103,6 @@ public V1CSIPersistentVolumeSource() /// /// Gets or sets filesystem type to mount. Must be a filesystem type /// supported by the host operating system. Ex. "ext4", "xfs", "ntfs". - /// Implicitly inferred to be "ext4" if unspecified. /// [JsonProperty(PropertyName = "fsType")] public string FsType { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1CinderPersistentVolumeSource.cs b/src/KubernetesClient/generated/Models/V1CinderPersistentVolumeSource.cs new file mode 100644 index 000000000..f12aafcbb --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1CinderPersistentVolumeSource.cs @@ -0,0 +1,108 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Represents a cinder volume resource in Openstack. A Cinder volume must + /// exist before mounting to a container. The volume must also be in the + /// same region as the kubelet. Cinder volumes support ownership management + /// and SELinux relabeling. + /// + public partial class V1CinderPersistentVolumeSource + { + /// + /// Initializes a new instance of the V1CinderPersistentVolumeSource + /// class. + /// + public V1CinderPersistentVolumeSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1CinderPersistentVolumeSource + /// class. + /// + /// volume id used to identify the volume in + /// cinder More info: + /// https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + /// Filesystem type to mount. Must be a filesystem + /// type supported by the host operating system. Examples: "ext4", + /// "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + /// More info: + /// https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + /// Optional: Defaults to false + /// (read/write). ReadOnly here will force the ReadOnly setting in + /// VolumeMounts. More info: + /// https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + /// Optional: points to a secret object + /// containing parameters used to connect to OpenStack. + public V1CinderPersistentVolumeSource(string volumeID, string fsType = default(string), bool? readOnlyProperty = default(bool?), V1SecretReference secretRef = default(V1SecretReference)) + { + FsType = fsType; + ReadOnlyProperty = readOnlyProperty; + SecretRef = secretRef; + VolumeID = volumeID; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets filesystem type to mount. Must be a filesystem type + /// supported by the host operating system. Examples: "ext4", "xfs", + /// "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: + /// https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + /// + [JsonProperty(PropertyName = "fsType")] + public string FsType { get; set; } + + /// + /// Gets or sets optional: Defaults to false (read/write). ReadOnly + /// here will force the ReadOnly setting in VolumeMounts. More info: + /// https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + /// + [JsonProperty(PropertyName = "readOnly")] + public bool? ReadOnlyProperty { get; set; } + + /// + /// Gets or sets optional: points to a secret object containing + /// parameters used to connect to OpenStack. + /// + [JsonProperty(PropertyName = "secretRef")] + public V1SecretReference SecretRef { get; set; } + + /// + /// Gets or sets volume id used to identify the volume in cinder More + /// info: + /// https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + /// + [JsonProperty(PropertyName = "volumeID")] + public string VolumeID { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (VolumeID == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "VolumeID"); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1CinderVolumeSource.cs b/src/KubernetesClient/generated/Models/V1CinderVolumeSource.cs index 7eda9423f..956095c27 100644 --- a/src/KubernetesClient/generated/Models/V1CinderVolumeSource.cs +++ b/src/KubernetesClient/generated/Models/V1CinderVolumeSource.cs @@ -41,10 +41,13 @@ public V1CinderVolumeSource() /// (read/write). ReadOnly here will force the ReadOnly setting in /// VolumeMounts. More info: /// https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md - public V1CinderVolumeSource(string volumeID, string fsType = default(string), bool? readOnlyProperty = default(bool?)) + /// Optional: points to a secret object + /// containing parameters used to connect to OpenStack. + public V1CinderVolumeSource(string volumeID, string fsType = default(string), bool? readOnlyProperty = default(bool?), V1LocalObjectReference secretRef = default(V1LocalObjectReference)) { FsType = fsType; ReadOnlyProperty = readOnlyProperty; + SecretRef = secretRef; VolumeID = volumeID; CustomInit(); } @@ -71,6 +74,13 @@ public V1CinderVolumeSource() [JsonProperty(PropertyName = "readOnly")] public bool? ReadOnlyProperty { get; set; } + /// + /// Gets or sets optional: points to a secret object containing + /// parameters used to connect to OpenStack. + /// + [JsonProperty(PropertyName = "secretRef")] + public V1LocalObjectReference SecretRef { get; set; } + /// /// Gets or sets volume id used to identify the volume in cinder More /// info: diff --git a/src/KubernetesClient/generated/Models/V1ClusterRoleBinding.cs b/src/KubernetesClient/generated/Models/V1ClusterRoleBinding.cs index 7ab031f30..c7c3feb56 100644 --- a/src/KubernetesClient/generated/Models/V1ClusterRoleBinding.cs +++ b/src/KubernetesClient/generated/Models/V1ClusterRoleBinding.cs @@ -33,8 +33,6 @@ public V1ClusterRoleBinding() /// RoleRef can only reference a ClusterRole in /// the global namespace. If the RoleRef cannot be resolved, the /// Authorizer must return an error. - /// Subjects holds references to the objects the - /// role applies to. /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized /// schemas to the latest internal value, and may reject unrecognized @@ -46,7 +44,9 @@ public V1ClusterRoleBinding() /// CamelCase. More info: /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds /// Standard object's metadata. - public V1ClusterRoleBinding(V1RoleRef roleRef, IList subjects, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) + /// Subjects holds references to the objects the + /// role applies to. + public V1ClusterRoleBinding(V1RoleRef roleRef, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList subjects = default(IList)) { ApiVersion = apiVersion; Kind = kind; @@ -114,10 +114,6 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "RoleRef"); } - if (Subjects == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Subjects"); - } if (Metadata != null) { Metadata.Validate(); diff --git a/src/KubernetesClient/generated/Models/V1ConfigMapNodeConfigSource.cs b/src/KubernetesClient/generated/Models/V1ConfigMapNodeConfigSource.cs new file mode 100644 index 000000000..852bf9ffc --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1ConfigMapNodeConfigSource.cs @@ -0,0 +1,120 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// ConfigMapNodeConfigSource contains the information to reference a + /// ConfigMap as a config source for the Node. + /// + public partial class V1ConfigMapNodeConfigSource + { + /// + /// Initializes a new instance of the V1ConfigMapNodeConfigSource + /// class. + /// + public V1ConfigMapNodeConfigSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1ConfigMapNodeConfigSource + /// class. + /// + /// KubeletConfigKey declares which key + /// of the referenced ConfigMap corresponds to the KubeletConfiguration + /// structure This field is required in all cases. + /// Name is the metadata.name of the referenced + /// ConfigMap. This field is required in all cases. + /// Namespace is the metadata.namespace + /// of the referenced ConfigMap. This field is required in all + /// cases. + /// ResourceVersion is the + /// metadata.ResourceVersion of the referenced ConfigMap. This field is + /// forbidden in Node.Spec, and required in Node.Status. + /// UID is the metadata.UID of the referenced + /// ConfigMap. This field is forbidden in Node.Spec, and required in + /// Node.Status. + public V1ConfigMapNodeConfigSource(string kubeletConfigKey, string name, string namespaceProperty, string resourceVersion = default(string), string uid = default(string)) + { + KubeletConfigKey = kubeletConfigKey; + Name = name; + NamespaceProperty = namespaceProperty; + ResourceVersion = resourceVersion; + Uid = uid; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets kubeletConfigKey declares which key of the referenced + /// ConfigMap corresponds to the KubeletConfiguration structure This + /// field is required in all cases. + /// + [JsonProperty(PropertyName = "kubeletConfigKey")] + public string KubeletConfigKey { get; set; } + + /// + /// Gets or sets name is the metadata.name of the referenced ConfigMap. + /// This field is required in all cases. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets namespace is the metadata.namespace of the referenced + /// ConfigMap. This field is required in all cases. + /// + [JsonProperty(PropertyName = "namespace")] + public string NamespaceProperty { get; set; } + + /// + /// Gets or sets resourceVersion is the metadata.ResourceVersion of the + /// referenced ConfigMap. This field is forbidden in Node.Spec, and + /// required in Node.Status. + /// + [JsonProperty(PropertyName = "resourceVersion")] + public string ResourceVersion { get; set; } + + /// + /// Gets or sets UID is the metadata.UID of the referenced ConfigMap. + /// This field is forbidden in Node.Spec, and required in Node.Status. + /// + [JsonProperty(PropertyName = "uid")] + public string Uid { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (KubeletConfigKey == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "KubeletConfigKey"); + } + if (Name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); + } + if (NamespaceProperty == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "NamespaceProperty"); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1Container.cs b/src/KubernetesClient/generated/Models/V1Container.cs index c40c2f676..2086227bc 100644 --- a/src/KubernetesClient/generated/Models/V1Container.cs +++ b/src/KubernetesClient/generated/Models/V1Container.cs @@ -87,7 +87,7 @@ public V1Container() /// https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes /// Compute Resources required by this /// container. Cannot be updated. More info: - /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources + /// https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ /// Security options the pod should run /// with. More info: /// https://kubernetes.io/docs/concepts/policy/security-context/ More @@ -277,7 +277,7 @@ public V1Container() /// /// Gets or sets compute Resources required by this container. Cannot /// be updated. More info: - /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources + /// https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ /// [JsonProperty(PropertyName = "resources")] public V1ResourceRequirements Resources { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1ContainerPort.cs b/src/KubernetesClient/generated/Models/V1ContainerPort.cs index 82ba60f1e..7dbd564ea 100644 --- a/src/KubernetesClient/generated/Models/V1ContainerPort.cs +++ b/src/KubernetesClient/generated/Models/V1ContainerPort.cs @@ -38,8 +38,8 @@ public V1ContainerPort() /// unique within the pod. Each named port in a pod must have a unique /// name. Name for the port that can be referred to by /// services. - /// Protocol for port. Must be UDP or TCP. - /// Defaults to "TCP". + /// Protocol for port. Must be UDP, TCP, or + /// SCTP. Defaults to "TCP". public V1ContainerPort(int containerPort, string hostIP = default(string), int? hostPort = default(int?), string name = default(string), string protocol = default(string)) { ContainerPort = containerPort; @@ -86,8 +86,8 @@ public V1ContainerPort() public string Name { get; set; } /// - /// Gets or sets protocol for port. Must be UDP or TCP. Defaults to - /// "TCP". + /// Gets or sets protocol for port. Must be UDP, TCP, or SCTP. Defaults + /// to "TCP". /// [JsonProperty(PropertyName = "protocol")] public string Protocol { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1DeleteOptions.cs b/src/KubernetesClient/generated/Models/V1DeleteOptions.cs index 7daf9c5f9..6628fb436 100644 --- a/src/KubernetesClient/generated/Models/V1DeleteOptions.cs +++ b/src/KubernetesClient/generated/Models/V1DeleteOptions.cs @@ -7,6 +7,8 @@ namespace k8s.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -30,6 +32,11 @@ public V1DeleteOptions() /// schemas to the latest internal value, and may reject unrecognized /// values. More info: /// https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + /// When present, indicates that modifications + /// should not be persisted. An invalid or unrecognized dryRun + /// directive will result in an error response and no further + /// processing of the request. Valid values are: - All: all dry run + /// stages will be processed /// The duration in seconds before the /// object should be deleted. Value must be non-negative integer. The /// value zero indicates delete immediately. If this value is nil, the @@ -58,9 +65,10 @@ public V1DeleteOptions() /// dependents; 'Background' - allow the garbage collector to delete /// the dependents in the background; 'Foreground' - a cascading policy /// that deletes all dependents in the foreground. - public V1DeleteOptions(string apiVersion = default(string), long? gracePeriodSeconds = default(long?), string kind = default(string), bool? orphanDependents = default(bool?), V1Preconditions preconditions = default(V1Preconditions), string propagationPolicy = default(string)) + public V1DeleteOptions(string apiVersion = default(string), IList dryRun = default(IList), long? gracePeriodSeconds = default(long?), string kind = default(string), bool? orphanDependents = default(bool?), V1Preconditions preconditions = default(V1Preconditions), string propagationPolicy = default(string)) { ApiVersion = apiVersion; + DryRun = dryRun; GracePeriodSeconds = gracePeriodSeconds; Kind = kind; OrphanDependents = orphanDependents; @@ -84,6 +92,16 @@ public V1DeleteOptions() [JsonProperty(PropertyName = "apiVersion")] public string ApiVersion { get; set; } + /// + /// Gets or sets when present, indicates that modifications should not + /// be persisted. An invalid or unrecognized dryRun directive will + /// result in an error response and no further processing of the + /// request. Valid values are: - All: all dry run stages will be + /// processed + /// + [JsonProperty(PropertyName = "dryRun")] + public IList DryRun { get; set; } + /// /// Gets or sets the duration in seconds before the object should be /// deleted. Value must be non-negative integer. The value zero diff --git a/src/KubernetesClient/generated/Models/V1EndpointPort.cs b/src/KubernetesClient/generated/Models/V1EndpointPort.cs index 66e0287a7..e8380caa3 100644 --- a/src/KubernetesClient/generated/Models/V1EndpointPort.cs +++ b/src/KubernetesClient/generated/Models/V1EndpointPort.cs @@ -29,8 +29,8 @@ public V1EndpointPort() /// The name of this port (corresponds to /// ServicePort.Name). Must be a DNS_LABEL. Optional only if one port /// is defined. - /// The IP protocol for this port. Must be UDP - /// or TCP. Default is TCP. + /// The IP protocol for this port. Must be UDP, + /// TCP, or SCTP. Default is TCP. public V1EndpointPort(int port, string name = default(string), string protocol = default(string)) { Name = name; @@ -59,8 +59,8 @@ public V1EndpointPort() public int Port { get; set; } /// - /// Gets or sets the IP protocol for this port. Must be UDP or TCP. - /// Default is TCP. + /// Gets or sets the IP protocol for this port. Must be UDP, TCP, or + /// SCTP. Default is TCP. /// [JsonProperty(PropertyName = "protocol")] public string Protocol { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1GitRepoVolumeSource.cs b/src/KubernetesClient/generated/Models/V1GitRepoVolumeSource.cs index 716be8e12..fa806624d 100644 --- a/src/KubernetesClient/generated/Models/V1GitRepoVolumeSource.cs +++ b/src/KubernetesClient/generated/Models/V1GitRepoVolumeSource.cs @@ -14,6 +14,10 @@ namespace k8s.Models /// Represents a volume that is populated with the contents of a git /// repository. Git repo volumes do not support ownership management. Git /// repo volumes support SELinux relabeling. + /// + /// DEPRECATED: GitRepo is deprecated. To provision a container with a git + /// repo, mount an EmptyDir into an InitContainer that clones the repo + /// using git, then mount the EmptyDir into the Pod's container. /// public partial class V1GitRepoVolumeSource { diff --git a/src/KubernetesClient/generated/Models/V1JobSpec.cs b/src/KubernetesClient/generated/Models/V1JobSpec.cs index 4a75f8fd3..c039065fb 100644 --- a/src/KubernetesClient/generated/Models/V1JobSpec.cs +++ b/src/KubernetesClient/generated/Models/V1JobSpec.cs @@ -63,7 +63,17 @@ public V1JobSpec() /// the pod count. Normally, the system sets this field for you. More /// info: /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors - public V1JobSpec(V1PodTemplateSpec template, long? activeDeadlineSeconds = default(long?), int? backoffLimit = default(int?), int? completions = default(int?), bool? manualSelector = default(bool?), int? parallelism = default(int?), V1LabelSelector selector = default(V1LabelSelector)) + /// ttlSecondsAfterFinished + /// limits the lifetime of a Job that has finished execution (either + /// Complete or Failed). If this field is set, ttlSecondsAfterFinished + /// after the Job finishes, it is eligible to be automatically deleted. + /// When the Job is being deleted, its lifecycle guarantees (e.g. + /// finalizers) will be honored. If this field is unset, the Job won't + /// be automatically deleted. If this field is set to zero, the Job + /// becomes eligible to be deleted immediately after it finishes. This + /// field is alpha-level and is only honored by servers that enable the + /// TTLAfterFinished feature. + public V1JobSpec(V1PodTemplateSpec template, long? activeDeadlineSeconds = default(long?), int? backoffLimit = default(int?), int? completions = default(int?), bool? manualSelector = default(bool?), int? parallelism = default(int?), V1LabelSelector selector = default(V1LabelSelector), int? ttlSecondsAfterFinished = default(int?)) { ActiveDeadlineSeconds = activeDeadlineSeconds; BackoffLimit = backoffLimit; @@ -72,6 +82,7 @@ public V1JobSpec() Parallelism = parallelism; Selector = selector; Template = template; + TtlSecondsAfterFinished = ttlSecondsAfterFinished; CustomInit(); } @@ -149,6 +160,21 @@ public V1JobSpec() [JsonProperty(PropertyName = "template")] public V1PodTemplateSpec Template { get; set; } + /// + /// Gets or sets ttlSecondsAfterFinished limits the lifetime of a Job + /// that has finished execution (either Complete or Failed). If this + /// field is set, ttlSecondsAfterFinished after the Job finishes, it is + /// eligible to be automatically deleted. When the Job is being + /// deleted, its lifecycle guarantees (e.g. finalizers) will be + /// honored. If this field is unset, the Job won't be automatically + /// deleted. If this field is set to zero, the Job becomes eligible to + /// be deleted immediately after it finishes. This field is alpha-level + /// and is only honored by servers that enable the TTLAfterFinished + /// feature. + /// + [JsonProperty(PropertyName = "ttlSecondsAfterFinished")] + public int? TtlSecondsAfterFinished { get; set; } + /// /// Validate the object. /// diff --git a/src/KubernetesClient/generated/Models/V1ListMeta.cs b/src/KubernetesClient/generated/Models/V1ListMeta.cs index 7a5a09db3..30834a6ae 100644 --- a/src/KubernetesClient/generated/Models/V1ListMeta.cs +++ b/src/KubernetesClient/generated/Models/V1ListMeta.cs @@ -31,11 +31,12 @@ public V1ListMeta() /// a limit on the number of items returned, and indicates that the /// server has more data available. The value is opaque and may be used /// to issue another request to the endpoint that served this list to - /// retrieve the next set of available objects. Continuing a list may - /// not be possible if the server configuration has changed or more - /// than a few minutes have passed. The resourceVersion field returned - /// when using this continue value will be identical to the value in - /// the first response. + /// retrieve the next set of available objects. Continuing a consistent + /// list may not be possible if the server configuration has changed or + /// more than a few minutes have passed. The resourceVersion field + /// returned when using this continue value will be identical to the + /// value in the first response, unless you have received this token + /// from an error message. /// String that identifies the server's /// internal version of this object that can be used by clients to /// determine when objects have changed. Value must be treated as @@ -62,11 +63,12 @@ public V1ListMeta() /// number of items returned, and indicates that the server has more /// data available. The value is opaque and may be used to issue /// another request to the endpoint that served this list to retrieve - /// the next set of available objects. Continuing a list may not be - /// possible if the server configuration has changed or more than a few - /// minutes have passed. The resourceVersion field returned when using - /// this continue value will be identical to the value in the first - /// response. + /// the next set of available objects. Continuing a consistent list may + /// not be possible if the server configuration has changed or more + /// than a few minutes have passed. The resourceVersion field returned + /// when using this continue value will be identical to the value in + /// the first response, unless you have received this token from an + /// error message. /// [JsonProperty(PropertyName = "continue")] public string ContinueProperty { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1LocalVolumeSource.cs b/src/KubernetesClient/generated/Models/V1LocalVolumeSource.cs index 1d3504bd7..2378bc3fa 100644 --- a/src/KubernetesClient/generated/Models/V1LocalVolumeSource.cs +++ b/src/KubernetesClient/generated/Models/V1LocalVolumeSource.cs @@ -11,7 +11,8 @@ namespace k8s.Models using System.Linq; /// - /// Local represents directly-attached storage with node affinity + /// Local represents directly-attached storage with node affinity (Beta + /// feature) /// public partial class V1LocalVolumeSource { @@ -26,11 +27,16 @@ public V1LocalVolumeSource() /// /// Initializes a new instance of the V1LocalVolumeSource class. /// - /// The full path to the volume on the node For - /// alpha, this path must be a directory Once block as a source is - /// supported, then this path can point to a block device - public V1LocalVolumeSource(string path) + /// The full path to the volume on the node. It can + /// be either a directory or block device (disk, partition, + /// ...). + /// Filesystem type to mount. It applies only when + /// the Path is a block device. Must be a filesystem type supported by + /// the host operating system. Ex. "ext4", "xfs", "ntfs". The default + /// value is to auto-select a fileystem if unspecified. + public V1LocalVolumeSource(string path, string fsType = default(string)) { + FsType = fsType; Path = path; CustomInit(); } @@ -41,9 +47,17 @@ public V1LocalVolumeSource(string path) partial void CustomInit(); /// - /// Gets or sets the full path to the volume on the node For alpha, - /// this path must be a directory Once block as a source is supported, - /// then this path can point to a block device + /// Gets or sets filesystem type to mount. It applies only when the + /// Path is a block device. Must be a filesystem type supported by the + /// host operating system. Ex. "ext4", "xfs", "ntfs". The default value + /// is to auto-select a fileystem if unspecified. + /// + [JsonProperty(PropertyName = "fsType")] + public string FsType { get; set; } + + /// + /// Gets or sets the full path to the volume on the node. It can be + /// either a directory or block device (disk, partition, ...). /// [JsonProperty(PropertyName = "path")] public string Path { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1NetworkPolicyPeer.cs b/src/KubernetesClient/generated/Models/V1NetworkPolicyPeer.cs index e51583bd6..0279f334d 100644 --- a/src/KubernetesClient/generated/Models/V1NetworkPolicyPeer.cs +++ b/src/KubernetesClient/generated/Models/V1NetworkPolicyPeer.cs @@ -10,8 +10,8 @@ namespace k8s.Models using System.Linq; /// - /// NetworkPolicyPeer describes a peer to allow traffic from. Exactly one - /// of its fields must be specified. + /// NetworkPolicyPeer describes a peer to allow traffic from. Only certain + /// combinations of fields are allowed /// public partial class V1NetworkPolicyPeer { @@ -27,16 +27,24 @@ public V1NetworkPolicyPeer() /// Initializes a new instance of the V1NetworkPolicyPeer class. /// /// IPBlock defines policy on a particular - /// IPBlock - /// Selects Namespaces using cluster - /// scoped-labels. This matches all pods in all namespaces selected by - /// this label selector. This field follows standard label selector - /// semantics. If present but empty, this selector selects all - /// namespaces. + /// IPBlock. If this field is set then neither of the other fields can + /// be. + /// Selects Namespaces using + /// cluster-scoped labels. This field follows standard label selector + /// semantics; if present but empty, it selects all namespaces. + /// + /// If PodSelector is also set, then the NetworkPolicyPeer as a whole + /// selects the Pods matching PodSelector in the Namespaces selected by + /// NamespaceSelector. Otherwise it selects all Pods in the Namespaces + /// selected by NamespaceSelector. /// This is a label selector which selects - /// Pods in this namespace. This field follows standard label selector - /// semantics. If present but empty, this selector selects all pods in - /// this namespace. + /// Pods. This field follows standard label selector semantics; if + /// present but empty, it selects all pods. + /// + /// If NamespaceSelector is also set, then the NetworkPolicyPeer as a + /// whole selects the Pods matching PodSelector in the Namespaces + /// selected by NamespaceSelector. Otherwise it selects the Pods + /// matching PodSelector in the policy's own Namespace. public V1NetworkPolicyPeer(V1IPBlock ipBlock = default(V1IPBlock), V1LabelSelector namespaceSelector = default(V1LabelSelector), V1LabelSelector podSelector = default(V1LabelSelector)) { IpBlock = ipBlock; @@ -51,25 +59,34 @@ public V1NetworkPolicyPeer() partial void CustomInit(); /// - /// Gets or sets iPBlock defines policy on a particular IPBlock + /// Gets or sets iPBlock defines policy on a particular IPBlock. If + /// this field is set then neither of the other fields can be. /// [JsonProperty(PropertyName = "ipBlock")] public V1IPBlock IpBlock { get; set; } /// - /// Gets or sets selects Namespaces using cluster scoped-labels. This - /// matches all pods in all namespaces selected by this label selector. - /// This field follows standard label selector semantics. If present - /// but empty, this selector selects all namespaces. + /// Gets or sets selects Namespaces using cluster-scoped labels. This + /// field follows standard label selector semantics; if present but + /// empty, it selects all namespaces. + /// + /// If PodSelector is also set, then the NetworkPolicyPeer as a whole + /// selects the Pods matching PodSelector in the Namespaces selected by + /// NamespaceSelector. Otherwise it selects all Pods in the Namespaces + /// selected by NamespaceSelector. /// [JsonProperty(PropertyName = "namespaceSelector")] public V1LabelSelector NamespaceSelector { get; set; } /// - /// Gets or sets this is a label selector which selects Pods in this - /// namespace. This field follows standard label selector semantics. If - /// present but empty, this selector selects all pods in this - /// namespace. + /// Gets or sets this is a label selector which selects Pods. This + /// field follows standard label selector semantics; if present but + /// empty, it selects all pods. + /// + /// If NamespaceSelector is also set, then the NetworkPolicyPeer as a + /// whole selects the Pods matching PodSelector in the Namespaces + /// selected by NamespaceSelector. Otherwise it selects the Pods + /// matching PodSelector in the policy's own Namespace. /// [JsonProperty(PropertyName = "podSelector")] public V1LabelSelector PodSelector { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1NetworkPolicyPort.cs b/src/KubernetesClient/generated/Models/V1NetworkPolicyPort.cs index 7f4dc1d1a..64ed3918e 100644 --- a/src/KubernetesClient/generated/Models/V1NetworkPolicyPort.cs +++ b/src/KubernetesClient/generated/Models/V1NetworkPolicyPort.cs @@ -28,8 +28,9 @@ public V1NetworkPolicyPort() /// The port on the given protocol. This can either /// be a numerical or named port on a pod. If this field is not /// provided, this matches all port names and numbers. - /// The protocol (TCP or UDP) which traffic must - /// match. If not specified, this field defaults to TCP. + /// The protocol (TCP, UDP, or SCTP) which + /// traffic must match. If not specified, this field defaults to + /// TCP. public V1NetworkPolicyPort(IntstrIntOrString port = default(IntstrIntOrString), string protocol = default(string)) { Port = port; @@ -51,8 +52,8 @@ public V1NetworkPolicyPort() public IntstrIntOrString Port { get; set; } /// - /// Gets or sets the protocol (TCP or UDP) which traffic must match. If - /// not specified, this field defaults to TCP. + /// Gets or sets the protocol (TCP, UDP, or SCTP) which traffic must + /// match. If not specified, this field defaults to TCP. /// [JsonProperty(PropertyName = "protocol")] public string Protocol { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1Node.cs b/src/KubernetesClient/generated/Models/V1Node.cs index 64ae0587a..6e60db0a0 100644 --- a/src/KubernetesClient/generated/Models/V1Node.cs +++ b/src/KubernetesClient/generated/Models/V1Node.cs @@ -112,6 +112,10 @@ public virtual void Validate() { Metadata.Validate(); } + if (Spec != null) + { + Spec.Validate(); + } if (Status != null) { Status.Validate(); diff --git a/src/KubernetesClient/generated/Models/V1NodeConfigSource.cs b/src/KubernetesClient/generated/Models/V1NodeConfigSource.cs index b1cb4f85e..c0a4a75af 100644 --- a/src/KubernetesClient/generated/Models/V1NodeConfigSource.cs +++ b/src/KubernetesClient/generated/Models/V1NodeConfigSource.cs @@ -26,21 +26,11 @@ public V1NodeConfigSource() /// /// Initializes a new instance of the V1NodeConfigSource class. /// - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/api-conventions.md#resources - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds - public V1NodeConfigSource(string apiVersion = default(string), V1ObjectReference configMapRef = default(V1ObjectReference), string kind = default(string)) + /// ConfigMap is a reference to a Node's + /// ConfigMap + public V1NodeConfigSource(V1ConfigMapNodeConfigSource configMap = default(V1ConfigMapNodeConfigSource)) { - ApiVersion = apiVersion; - ConfigMapRef = configMapRef; - Kind = kind; + ConfigMap = configMap; CustomInit(); } @@ -50,29 +40,23 @@ public V1NodeConfigSource() partial void CustomInit(); /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + /// Gets or sets configMap is a reference to a Node's ConfigMap /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } + [JsonProperty(PropertyName = "configMap")] + public V1ConfigMapNodeConfigSource ConfigMap { get; set; } /// + /// Validate the object. /// - [JsonProperty(PropertyName = "configMapRef")] - public V1ObjectReference ConfigMapRef { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (ConfigMap != null) + { + ConfigMap.Validate(); + } + } } } diff --git a/src/KubernetesClient/generated/Models/V1NodeConfigStatus.cs b/src/KubernetesClient/generated/Models/V1NodeConfigStatus.cs new file mode 100644 index 000000000..46c1cd05b --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1NodeConfigStatus.cs @@ -0,0 +1,175 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// NodeConfigStatus describes the status of the config assigned by + /// Node.Spec.ConfigSource. + /// + public partial class V1NodeConfigStatus + { + /// + /// Initializes a new instance of the V1NodeConfigStatus class. + /// + public V1NodeConfigStatus() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1NodeConfigStatus class. + /// + /// Active reports the checkpointed config the + /// node is actively using. Active will represent either the current + /// version of the Assigned config, or the current LastKnownGood + /// config, depending on whether attempting to use the Assigned config + /// results in an error. + /// Assigned reports the checkpointed config the + /// node will try to use. When Node.Spec.ConfigSource is updated, the + /// node checkpoints the associated config payload to local disk, along + /// with a record indicating intended config. The node refers to this + /// record to choose its config checkpoint, and reports this record in + /// Assigned. Assigned only updates in the status after the record has + /// been checkpointed to disk. When the Kubelet is restarted, it tries + /// to make the Assigned config the Active config by loading and + /// validating the checkpointed payload identified by Assigned. + /// Error describes any problems reconciling the + /// Spec.ConfigSource to the Active config. Errors may occur, for + /// example, attempting to checkpoint Spec.ConfigSource to the local + /// Assigned record, attempting to checkpoint the payload associated + /// with Spec.ConfigSource, attempting to load or validate the Assigned + /// config, etc. Errors may occur at different points while syncing + /// config. Earlier errors (e.g. download or checkpointing errors) will + /// not result in a rollback to LastKnownGood, and may resolve across + /// Kubelet retries. Later errors (e.g. loading or validating a + /// checkpointed config) will result in a rollback to LastKnownGood. In + /// the latter case, it is usually possible to resolve the error by + /// fixing the config assigned in Spec.ConfigSource. You can find + /// additional information for debugging by searching the error message + /// in the Kubelet log. Error is a human-readable description of the + /// error state; machines can check whether or not Error is empty, but + /// should not rely on the stability of the Error text across Kubelet + /// versions. + /// LastKnownGood reports the checkpointed + /// config the node will fall back to when it encounters an error + /// attempting to use the Assigned config. The Assigned config becomes + /// the LastKnownGood config when the node determines that the Assigned + /// config is stable and correct. This is currently implemented as a + /// 10-minute soak period starting when the local record of Assigned + /// config is updated. If the Assigned config is Active at the end of + /// this period, it becomes the LastKnownGood. Note that if + /// Spec.ConfigSource is reset to nil (use local defaults), the + /// LastKnownGood is also immediately reset to nil, because the local + /// default config is always assumed good. You should not make + /// assumptions about the node's method of determining config stability + /// and correctness, as this may change or become configurable in the + /// future. + public V1NodeConfigStatus(V1NodeConfigSource active = default(V1NodeConfigSource), V1NodeConfigSource assigned = default(V1NodeConfigSource), string error = default(string), V1NodeConfigSource lastKnownGood = default(V1NodeConfigSource)) + { + Active = active; + Assigned = assigned; + Error = error; + LastKnownGood = lastKnownGood; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets active reports the checkpointed config the node is + /// actively using. Active will represent either the current version of + /// the Assigned config, or the current LastKnownGood config, depending + /// on whether attempting to use the Assigned config results in an + /// error. + /// + [JsonProperty(PropertyName = "active")] + public V1NodeConfigSource Active { get; set; } + + /// + /// Gets or sets assigned reports the checkpointed config the node will + /// try to use. When Node.Spec.ConfigSource is updated, the node + /// checkpoints the associated config payload to local disk, along with + /// a record indicating intended config. The node refers to this record + /// to choose its config checkpoint, and reports this record in + /// Assigned. Assigned only updates in the status after the record has + /// been checkpointed to disk. When the Kubelet is restarted, it tries + /// to make the Assigned config the Active config by loading and + /// validating the checkpointed payload identified by Assigned. + /// + [JsonProperty(PropertyName = "assigned")] + public V1NodeConfigSource Assigned { get; set; } + + /// + /// Gets or sets error describes any problems reconciling the + /// Spec.ConfigSource to the Active config. Errors may occur, for + /// example, attempting to checkpoint Spec.ConfigSource to the local + /// Assigned record, attempting to checkpoint the payload associated + /// with Spec.ConfigSource, attempting to load or validate the Assigned + /// config, etc. Errors may occur at different points while syncing + /// config. Earlier errors (e.g. download or checkpointing errors) will + /// not result in a rollback to LastKnownGood, and may resolve across + /// Kubelet retries. Later errors (e.g. loading or validating a + /// checkpointed config) will result in a rollback to LastKnownGood. In + /// the latter case, it is usually possible to resolve the error by + /// fixing the config assigned in Spec.ConfigSource. You can find + /// additional information for debugging by searching the error message + /// in the Kubelet log. Error is a human-readable description of the + /// error state; machines can check whether or not Error is empty, but + /// should not rely on the stability of the Error text across Kubelet + /// versions. + /// + [JsonProperty(PropertyName = "error")] + public string Error { get; set; } + + /// + /// Gets or sets lastKnownGood reports the checkpointed config the node + /// will fall back to when it encounters an error attempting to use the + /// Assigned config. The Assigned config becomes the LastKnownGood + /// config when the node determines that the Assigned config is stable + /// and correct. This is currently implemented as a 10-minute soak + /// period starting when the local record of Assigned config is + /// updated. If the Assigned config is Active at the end of this + /// period, it becomes the LastKnownGood. Note that if + /// Spec.ConfigSource is reset to nil (use local defaults), the + /// LastKnownGood is also immediately reset to nil, because the local + /// default config is always assumed good. You should not make + /// assumptions about the node's method of determining config stability + /// and correctness, as this may change or become configurable in the + /// future. + /// + [JsonProperty(PropertyName = "lastKnownGood")] + public V1NodeConfigSource LastKnownGood { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Active != null) + { + Active.Validate(); + } + if (Assigned != null) + { + Assigned.Validate(); + } + if (LastKnownGood != null) + { + LastKnownGood.Validate(); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1NodeSelector.cs b/src/KubernetesClient/generated/Models/V1NodeSelector.cs index fcf3a9563..1b6a3ef76 100644 --- a/src/KubernetesClient/generated/Models/V1NodeSelector.cs +++ b/src/KubernetesClient/generated/Models/V1NodeSelector.cs @@ -62,16 +62,6 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "NodeSelectorTerms"); } - if (NodeSelectorTerms != null) - { - foreach (var element in NodeSelectorTerms) - { - if (element != null) - { - element.Validate(); - } - } - } } } } diff --git a/src/KubernetesClient/generated/Models/V1NodeSelectorTerm.cs b/src/KubernetesClient/generated/Models/V1NodeSelectorTerm.cs index 6c4589130..e5fc4e102 100644 --- a/src/KubernetesClient/generated/Models/V1NodeSelectorTerm.cs +++ b/src/KubernetesClient/generated/Models/V1NodeSelectorTerm.cs @@ -6,14 +6,15 @@ namespace k8s.Models { - using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; /// - /// A null or empty node selector term matches no objects. + /// A null or empty node selector term matches no objects. The requirements + /// of them are ANDed. The TopologySelectorTerm type implements a subset of + /// the NodeSelectorTerm. /// public partial class V1NodeSelectorTerm { @@ -28,11 +29,14 @@ public V1NodeSelectorTerm() /// /// Initializes a new instance of the V1NodeSelectorTerm class. /// - /// Required. A list of node selector - /// requirements. The requirements are ANDed. - public V1NodeSelectorTerm(IList matchExpressions) + /// A list of node selector requirements + /// by node's labels. + /// A list of node selector requirements by + /// node's fields. + public V1NodeSelectorTerm(IList matchExpressions = default(IList), IList matchFields = default(IList)) { MatchExpressions = matchExpressions; + MatchFields = matchFields; CustomInit(); } @@ -42,34 +46,16 @@ public V1NodeSelectorTerm(IList matchExpressions) partial void CustomInit(); /// - /// Gets or sets required. A list of node selector requirements. The - /// requirements are ANDed. + /// Gets or sets a list of node selector requirements by node's labels. /// [JsonProperty(PropertyName = "matchExpressions")] public IList MatchExpressions { get; set; } /// - /// Validate the object. + /// Gets or sets a list of node selector requirements by node's fields. /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (MatchExpressions == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "MatchExpressions"); - } - if (MatchExpressions != null) - { - foreach (var element in MatchExpressions) - { - if (element != null) - { - element.Validate(); - } - } - } - } + [JsonProperty(PropertyName = "matchFields")] + public IList MatchFields { get; set; } + } } diff --git a/src/KubernetesClient/generated/Models/V1NodeSpec.cs b/src/KubernetesClient/generated/Models/V1NodeSpec.cs index 763fb4811..99e161756 100644 --- a/src/KubernetesClient/generated/Models/V1NodeSpec.cs +++ b/src/KubernetesClient/generated/Models/V1NodeSpec.cs @@ -30,8 +30,9 @@ public V1NodeSpec() /// If specified, the source to get node /// configuration from The DynamicKubeletConfig feature gate must be /// enabled for the Kubelet to use this field - /// External ID of the node assigned by some - /// machine database (e.g. a cloud provider). Deprecated. + /// Deprecated. Not all kubelets will set this + /// field. Remove field after 1.13. see: + /// https://issues.k8s.io/61966 /// PodCIDR represents the pod IP range assigned /// to the node. /// ID of the node assigned by the cloud @@ -67,8 +68,8 @@ public V1NodeSpec() public V1NodeConfigSource ConfigSource { get; set; } /// - /// Gets or sets external ID of the node assigned by some machine - /// database (e.g. a cloud provider). Deprecated. + /// Gets or sets deprecated. Not all kubelets will set this field. + /// Remove field after 1.13. see: https://issues.k8s.io/61966 /// [JsonProperty(PropertyName = "externalID")] public string ExternalID { get; set; } @@ -102,5 +103,28 @@ public V1NodeSpec() [JsonProperty(PropertyName = "unschedulable")] public bool? Unschedulable { get; set; } + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (ConfigSource != null) + { + ConfigSource.Validate(); + } + if (Taints != null) + { + foreach (var element in Taints) + { + if (element != null) + { + element.Validate(); + } + } + } + } } } diff --git a/src/KubernetesClient/generated/Models/V1NodeStatus.cs b/src/KubernetesClient/generated/Models/V1NodeStatus.cs index 959320350..f819f5530 100644 --- a/src/KubernetesClient/generated/Models/V1NodeStatus.cs +++ b/src/KubernetesClient/generated/Models/V1NodeStatus.cs @@ -39,6 +39,8 @@ public V1NodeStatus() /// Conditions is an array of current observed /// node conditions. More info: /// https://kubernetes.io/docs/concepts/nodes/node/#condition + /// Status of the config assigned to the node via + /// the dynamic Kubelet config feature. /// Endpoints of daemons running on the /// Node. /// List of container images on this node @@ -53,12 +55,13 @@ public V1NodeStatus() /// the node. /// List of attachable volumes in use /// (mounted) by the node. - public V1NodeStatus(IList addresses = default(IList), IDictionary allocatable = default(IDictionary), IDictionary capacity = default(IDictionary), IList conditions = default(IList), V1NodeDaemonEndpoints daemonEndpoints = default(V1NodeDaemonEndpoints), IList images = default(IList), V1NodeSystemInfo nodeInfo = default(V1NodeSystemInfo), string phase = default(string), IList volumesAttached = default(IList), IList volumesInUse = default(IList)) + public V1NodeStatus(IList addresses = default(IList), IDictionary allocatable = default(IDictionary), IDictionary capacity = default(IDictionary), IList conditions = default(IList), V1NodeConfigStatus config = default(V1NodeConfigStatus), V1NodeDaemonEndpoints daemonEndpoints = default(V1NodeDaemonEndpoints), IList images = default(IList), V1NodeSystemInfo nodeInfo = default(V1NodeSystemInfo), string phase = default(string), IList volumesAttached = default(IList), IList volumesInUse = default(IList)) { Addresses = addresses; Allocatable = allocatable; Capacity = capacity; Conditions = conditions; + Config = config; DaemonEndpoints = daemonEndpoints; Images = images; NodeInfo = nodeInfo; @@ -104,6 +107,13 @@ public V1NodeStatus() [JsonProperty(PropertyName = "conditions")] public IList Conditions { get; set; } + /// + /// Gets or sets status of the config assigned to the node via the + /// dynamic Kubelet config feature. + /// + [JsonProperty(PropertyName = "config")] + public V1NodeConfigStatus Config { get; set; } + /// /// Gets or sets endpoints of daemons running on the Node. /// @@ -173,6 +183,10 @@ public virtual void Validate() } } } + if (Config != null) + { + Config.Validate(); + } if (DaemonEndpoints != null) { DaemonEndpoints.Validate(); diff --git a/src/KubernetesClient/generated/Models/V1PersistentVolumeClaim.cs b/src/KubernetesClient/generated/Models/V1PersistentVolumeClaim.cs index c536167b9..c8e36e7fa 100644 --- a/src/KubernetesClient/generated/Models/V1PersistentVolumeClaim.cs +++ b/src/KubernetesClient/generated/Models/V1PersistentVolumeClaim.cs @@ -115,6 +115,10 @@ public virtual void Validate() { Metadata.Validate(); } + if (Spec != null) + { + Spec.Validate(); + } } } } diff --git a/src/KubernetesClient/generated/Models/V1PersistentVolumeClaimSpec.cs b/src/KubernetesClient/generated/Models/V1PersistentVolumeClaimSpec.cs index 5fe5c008d..63a5ec152 100644 --- a/src/KubernetesClient/generated/Models/V1PersistentVolumeClaimSpec.cs +++ b/src/KubernetesClient/generated/Models/V1PersistentVolumeClaimSpec.cs @@ -33,6 +33,15 @@ public V1PersistentVolumeClaimSpec() /// AccessModes contains the desired access /// modes the volume should have. More info: /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 + /// This field requires the + /// VolumeSnapshotDataSource alpha feature gate to be enabled and + /// currently VolumeSnapshot is the only supported data source. If the + /// provisioner can support VolumeSnapshot data source, it will create + /// a new volume and data will be restored to the volume at the same + /// time. If the provisioner does not support VolumeSnapshot data + /// source, volume will not be created and the failure will be reported + /// as an event. In the future, we plan to support more data source + /// types and the behavior of the provisioner may change. /// Resources represents the minimum resources /// the volume should have. More info: /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources @@ -47,9 +56,10 @@ public V1PersistentVolumeClaimSpec() /// the future. /// VolumeName is the binding reference to the /// PersistentVolume backing this claim. - public V1PersistentVolumeClaimSpec(IList accessModes = default(IList), V1ResourceRequirements resources = default(V1ResourceRequirements), V1LabelSelector selector = default(V1LabelSelector), string storageClassName = default(string), string volumeMode = default(string), string volumeName = default(string)) + public V1PersistentVolumeClaimSpec(IList accessModes = default(IList), V1TypedLocalObjectReference dataSource = default(V1TypedLocalObjectReference), V1ResourceRequirements resources = default(V1ResourceRequirements), V1LabelSelector selector = default(V1LabelSelector), string storageClassName = default(string), string volumeMode = default(string), string volumeName = default(string)) { AccessModes = accessModes; + DataSource = dataSource; Resources = resources; Selector = selector; StorageClassName = storageClassName; @@ -71,6 +81,20 @@ public V1PersistentVolumeClaimSpec() [JsonProperty(PropertyName = "accessModes")] public IList AccessModes { get; set; } + /// + /// Gets or sets this field requires the VolumeSnapshotDataSource alpha + /// feature gate to be enabled and currently VolumeSnapshot is the only + /// supported data source. If the provisioner can support + /// VolumeSnapshot data source, it will create a new volume and data + /// will be restored to the volume at the same time. If the provisioner + /// does not support VolumeSnapshot data source, volume will not be + /// created and the failure will be reported as an event. In the + /// future, we plan to support more data source types and the behavior + /// of the provisioner may change. + /// + [JsonProperty(PropertyName = "dataSource")] + public V1TypedLocalObjectReference DataSource { get; set; } + /// /// Gets or sets resources represents the minimum resources the volume /// should have. More info: @@ -108,5 +132,18 @@ public V1PersistentVolumeClaimSpec() [JsonProperty(PropertyName = "volumeName")] public string VolumeName { get; set; } + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (DataSource != null) + { + DataSource.Validate(); + } + } } } diff --git a/src/KubernetesClient/generated/Models/V1PersistentVolumeSpec.cs b/src/KubernetesClient/generated/Models/V1PersistentVolumeSpec.cs index 6d0d967e9..42b7c3dca 100644 --- a/src/KubernetesClient/generated/Models/V1PersistentVolumeSpec.cs +++ b/src/KubernetesClient/generated/Models/V1PersistentVolumeSpec.cs @@ -123,7 +123,7 @@ public V1PersistentVolumeSpec() /// This is an alpha feature and may change in the future. /// VsphereVolume represents a vSphere /// volume attached and mounted on kubelets host machine - public V1PersistentVolumeSpec(IList accessModes = default(IList), V1AWSElasticBlockStoreVolumeSource awsElasticBlockStore = default(V1AWSElasticBlockStoreVolumeSource), V1AzureDiskVolumeSource azureDisk = default(V1AzureDiskVolumeSource), V1AzureFilePersistentVolumeSource azureFile = default(V1AzureFilePersistentVolumeSource), IDictionary capacity = default(IDictionary), V1CephFSPersistentVolumeSource cephfs = default(V1CephFSPersistentVolumeSource), V1CinderVolumeSource cinder = default(V1CinderVolumeSource), V1ObjectReference claimRef = default(V1ObjectReference), V1CSIPersistentVolumeSource csi = default(V1CSIPersistentVolumeSource), V1FCVolumeSource fc = default(V1FCVolumeSource), V1FlexPersistentVolumeSource flexVolume = default(V1FlexPersistentVolumeSource), V1FlockerVolumeSource flocker = default(V1FlockerVolumeSource), V1GCEPersistentDiskVolumeSource gcePersistentDisk = default(V1GCEPersistentDiskVolumeSource), V1GlusterfsVolumeSource glusterfs = default(V1GlusterfsVolumeSource), V1HostPathVolumeSource hostPath = default(V1HostPathVolumeSource), V1ISCSIPersistentVolumeSource iscsi = default(V1ISCSIPersistentVolumeSource), V1LocalVolumeSource local = default(V1LocalVolumeSource), IList mountOptions = default(IList), V1NFSVolumeSource nfs = default(V1NFSVolumeSource), V1VolumeNodeAffinity nodeAffinity = default(V1VolumeNodeAffinity), string persistentVolumeReclaimPolicy = default(string), V1PhotonPersistentDiskVolumeSource photonPersistentDisk = default(V1PhotonPersistentDiskVolumeSource), V1PortworxVolumeSource portworxVolume = default(V1PortworxVolumeSource), V1QuobyteVolumeSource quobyte = default(V1QuobyteVolumeSource), V1RBDPersistentVolumeSource rbd = default(V1RBDPersistentVolumeSource), V1ScaleIOPersistentVolumeSource scaleIO = default(V1ScaleIOPersistentVolumeSource), string storageClassName = default(string), V1StorageOSPersistentVolumeSource storageos = default(V1StorageOSPersistentVolumeSource), string volumeMode = default(string), V1VsphereVirtualDiskVolumeSource vsphereVolume = default(V1VsphereVirtualDiskVolumeSource)) + public V1PersistentVolumeSpec(IList accessModes = default(IList), V1AWSElasticBlockStoreVolumeSource awsElasticBlockStore = default(V1AWSElasticBlockStoreVolumeSource), V1AzureDiskVolumeSource azureDisk = default(V1AzureDiskVolumeSource), V1AzureFilePersistentVolumeSource azureFile = default(V1AzureFilePersistentVolumeSource), IDictionary capacity = default(IDictionary), V1CephFSPersistentVolumeSource cephfs = default(V1CephFSPersistentVolumeSource), V1CinderPersistentVolumeSource cinder = default(V1CinderPersistentVolumeSource), V1ObjectReference claimRef = default(V1ObjectReference), V1CSIPersistentVolumeSource csi = default(V1CSIPersistentVolumeSource), V1FCVolumeSource fc = default(V1FCVolumeSource), V1FlexPersistentVolumeSource flexVolume = default(V1FlexPersistentVolumeSource), V1FlockerVolumeSource flocker = default(V1FlockerVolumeSource), V1GCEPersistentDiskVolumeSource gcePersistentDisk = default(V1GCEPersistentDiskVolumeSource), V1GlusterfsVolumeSource glusterfs = default(V1GlusterfsVolumeSource), V1HostPathVolumeSource hostPath = default(V1HostPathVolumeSource), V1ISCSIPersistentVolumeSource iscsi = default(V1ISCSIPersistentVolumeSource), V1LocalVolumeSource local = default(V1LocalVolumeSource), IList mountOptions = default(IList), V1NFSVolumeSource nfs = default(V1NFSVolumeSource), V1VolumeNodeAffinity nodeAffinity = default(V1VolumeNodeAffinity), string persistentVolumeReclaimPolicy = default(string), V1PhotonPersistentDiskVolumeSource photonPersistentDisk = default(V1PhotonPersistentDiskVolumeSource), V1PortworxVolumeSource portworxVolume = default(V1PortworxVolumeSource), V1QuobyteVolumeSource quobyte = default(V1QuobyteVolumeSource), V1RBDPersistentVolumeSource rbd = default(V1RBDPersistentVolumeSource), V1ScaleIOPersistentVolumeSource scaleIO = default(V1ScaleIOPersistentVolumeSource), string storageClassName = default(string), V1StorageOSPersistentVolumeSource storageos = default(V1StorageOSPersistentVolumeSource), string volumeMode = default(string), V1VsphereVirtualDiskVolumeSource vsphereVolume = default(V1VsphereVirtualDiskVolumeSource)) { AccessModes = accessModes; AwsElasticBlockStore = awsElasticBlockStore; @@ -215,7 +215,7 @@ public V1PersistentVolumeSpec() /// https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md /// [JsonProperty(PropertyName = "cinder")] - public V1CinderVolumeSource Cinder { get; set; } + public V1CinderPersistentVolumeSource Cinder { get; set; } /// /// Gets or sets claimRef is part of a bi-directional binding between diff --git a/src/KubernetesClient/generated/Models/V1PodCondition.cs b/src/KubernetesClient/generated/Models/V1PodCondition.cs index 671a7f827..1b7af4f52 100644 --- a/src/KubernetesClient/generated/Models/V1PodCondition.cs +++ b/src/KubernetesClient/generated/Models/V1PodCondition.cs @@ -29,8 +29,7 @@ public V1PodCondition() /// Status is the status of the condition. Can be /// True, False, Unknown. More info: /// https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions - /// Type is the type of the condition. Currently - /// only Ready. More info: + /// Type is the type of the condition. More info: /// https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions /// Last time we probed the /// condition. @@ -92,8 +91,7 @@ public V1PodCondition() public string Status { get; set; } /// - /// Gets or sets type is the type of the condition. Currently only - /// Ready. More info: + /// Gets or sets type is the type of the condition. More info: /// https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions /// [JsonProperty(PropertyName = "type")] diff --git a/src/KubernetesClient/generated/Models/V1beta1JSON.cs b/src/KubernetesClient/generated/Models/V1PodReadinessGate.cs similarity index 54% rename from src/KubernetesClient/generated/Models/V1beta1JSON.cs rename to src/KubernetesClient/generated/Models/V1PodReadinessGate.cs index 89c5ecdd3..c1d3e8a6c 100644 --- a/src/KubernetesClient/generated/Models/V1beta1JSON.cs +++ b/src/KubernetesClient/generated/Models/V1PodReadinessGate.cs @@ -11,25 +11,26 @@ namespace k8s.Models using System.Linq; /// - /// JSON represents any valid JSON value. These types are supported: bool, - /// int64, float64, string, []interface{}, map[string]interface{} and nil. + /// PodReadinessGate contains the reference to a pod condition /// - public partial class V1beta1JSON + public partial class V1PodReadinessGate { /// - /// Initializes a new instance of the V1beta1JSON class. + /// Initializes a new instance of the V1PodReadinessGate class. /// - public V1beta1JSON() + public V1PodReadinessGate() { CustomInit(); } /// - /// Initializes a new instance of the V1beta1JSON class. + /// Initializes a new instance of the V1PodReadinessGate class. /// - public V1beta1JSON(byte[] raw) + /// ConditionType refers to a condition in + /// the pod's condition list with matching type. + public V1PodReadinessGate(string conditionType) { - Raw = raw; + ConditionType = conditionType; CustomInit(); } @@ -39,9 +40,11 @@ public V1beta1JSON(byte[] raw) partial void CustomInit(); /// + /// Gets or sets conditionType refers to a condition in the pod's + /// condition list with matching type. /// - [JsonProperty(PropertyName = "Raw")] - public byte[] Raw { get; set; } + [JsonProperty(PropertyName = "conditionType")] + public string ConditionType { get; set; } /// /// Validate the object. @@ -51,9 +54,9 @@ public V1beta1JSON(byte[] raw) /// public virtual void Validate() { - if (Raw == null) + if (ConditionType == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "Raw"); + throw new ValidationException(ValidationRules.CannotBeNull, "ConditionType"); } } } diff --git a/src/KubernetesClient/generated/Models/V1PodSecurityContext.cs b/src/KubernetesClient/generated/Models/V1PodSecurityContext.cs index 24ad74ba6..40083734a 100644 --- a/src/KubernetesClient/generated/Models/V1PodSecurityContext.cs +++ b/src/KubernetesClient/generated/Models/V1PodSecurityContext.cs @@ -67,7 +67,10 @@ public V1PodSecurityContext() /// first process run in each container, in addition to the container's /// primary GID. If unspecified, no groups will be added to any /// container. - public V1PodSecurityContext(long? fsGroup = default(long?), long? runAsGroup = default(long?), bool? runAsNonRoot = default(bool?), long? runAsUser = default(long?), V1SELinuxOptions seLinuxOptions = default(V1SELinuxOptions), IList supplementalGroups = default(IList)) + /// Sysctls hold a list of namespaced sysctls + /// used for the pod. Pods with unsupported sysctls (by the container + /// runtime) might fail to launch. + public V1PodSecurityContext(long? fsGroup = default(long?), long? runAsGroup = default(long?), bool? runAsNonRoot = default(bool?), long? runAsUser = default(long?), V1SELinuxOptions seLinuxOptions = default(V1SELinuxOptions), IList supplementalGroups = default(IList), IList sysctls = default(IList)) { FsGroup = fsGroup; RunAsGroup = runAsGroup; @@ -75,6 +78,7 @@ public V1PodSecurityContext() RunAsUser = runAsUser; SeLinuxOptions = seLinuxOptions; SupplementalGroups = supplementalGroups; + Sysctls = sysctls; CustomInit(); } @@ -149,5 +153,13 @@ public V1PodSecurityContext() [JsonProperty(PropertyName = "supplementalGroups")] public IList SupplementalGroups { get; set; } + /// + /// Gets or sets sysctls hold a list of namespaced sysctls used for the + /// pod. Pods with unsupported sysctls (by the container runtime) might + /// fail to launch. + /// + [JsonProperty(PropertyName = "sysctls")] + public IList Sysctls { get; set; } + } } diff --git a/src/KubernetesClient/generated/Models/V1PodSpec.cs b/src/KubernetesClient/generated/Models/V1PodSpec.cs index 6d776cb55..b257c1d8a 100644 --- a/src/KubernetesClient/generated/Models/V1PodSpec.cs +++ b/src/KubernetesClient/generated/Models/V1PodSpec.cs @@ -105,10 +105,23 @@ public V1PodSpec() /// by creating a PriorityClass object with that name. If not /// specified, the pod priority will be default or zero if there is no /// default. + /// If specified, all readiness gates will + /// be evaluated for pod readiness. A pod is ready when all its + /// containers are ready AND all conditions specified in the readiness + /// gates have status equal to "True" More info: + /// https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md /// Restart policy for all containers /// within the pod. One of Always, OnFailure, Never. Default to Always. /// More info: /// https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy + /// RuntimeClassName refers to a + /// RuntimeClass object in the node.k8s.io group, which should be used + /// to run this pod. If no RuntimeClass resource matches the named + /// class, the pod will not be run. If unset or empty, the "legacy" + /// RuntimeClass will be used, which is an implicit class with an empty + /// definition that uses the default runtime handler. More info: + /// https://github.com/kubernetes/community/blob/master/keps/sig-node/0014-runtime-class.md + /// This is an alpha feature and may change in the future. /// If specified, the pod will be /// dispatched by specified scheduler. If not specified, the pod will /// be dispatched by default scheduler. @@ -128,8 +141,8 @@ public V1PodSpec() /// containers in the same pod, and the first process in each container /// will not be assigned PID 1. HostPID and ShareProcessNamespace /// cannot both be set. Optional: Default to false. This field is - /// alpha-level and is honored only by servers that enable the - /// PodShareProcessNamespace feature. + /// beta-level and may be disabled with the PodShareProcessNamespace + /// feature. /// If specified, the fully qualified Pod /// hostname will be "<hostname>.<subdomain>.<pod /// namespace>.svc.<cluster domain>". If not specified, the @@ -148,7 +161,7 @@ public V1PodSpec() /// List of volumes that can be mounted by /// containers belonging to the pod. More info: /// https://kubernetes.io/docs/concepts/storage/volumes - public V1PodSpec(IList containers, long? activeDeadlineSeconds = default(long?), V1Affinity affinity = default(V1Affinity), bool? automountServiceAccountToken = default(bool?), V1PodDNSConfig dnsConfig = default(V1PodDNSConfig), string dnsPolicy = default(string), IList hostAliases = default(IList), bool? hostIPC = default(bool?), bool? hostNetwork = default(bool?), bool? hostPID = default(bool?), string hostname = default(string), IList imagePullSecrets = default(IList), IList initContainers = default(IList), string nodeName = default(string), IDictionary nodeSelector = default(IDictionary), int? priority = default(int?), string priorityClassName = default(string), string restartPolicy = default(string), string schedulerName = default(string), V1PodSecurityContext securityContext = default(V1PodSecurityContext), string serviceAccount = default(string), string serviceAccountName = default(string), bool? shareProcessNamespace = default(bool?), string subdomain = default(string), long? terminationGracePeriodSeconds = default(long?), IList tolerations = default(IList), IList volumes = default(IList)) + public V1PodSpec(IList containers, long? activeDeadlineSeconds = default(long?), V1Affinity affinity = default(V1Affinity), bool? automountServiceAccountToken = default(bool?), V1PodDNSConfig dnsConfig = default(V1PodDNSConfig), string dnsPolicy = default(string), IList hostAliases = default(IList), bool? hostIPC = default(bool?), bool? hostNetwork = default(bool?), bool? hostPID = default(bool?), string hostname = default(string), IList imagePullSecrets = default(IList), IList initContainers = default(IList), string nodeName = default(string), IDictionary nodeSelector = default(IDictionary), int? priority = default(int?), string priorityClassName = default(string), IList readinessGates = default(IList), string restartPolicy = default(string), string runtimeClassName = default(string), string schedulerName = default(string), V1PodSecurityContext securityContext = default(V1PodSecurityContext), string serviceAccount = default(string), string serviceAccountName = default(string), bool? shareProcessNamespace = default(bool?), string subdomain = default(string), long? terminationGracePeriodSeconds = default(long?), IList tolerations = default(IList), IList volumes = default(IList)) { ActiveDeadlineSeconds = activeDeadlineSeconds; Affinity = affinity; @@ -167,7 +180,9 @@ public V1PodSpec() NodeSelector = nodeSelector; Priority = priority; PriorityClassName = priorityClassName; + ReadinessGates = readinessGates; RestartPolicy = restartPolicy; + RuntimeClassName = runtimeClassName; SchedulerName = schedulerName; SecurityContext = securityContext; ServiceAccount = serviceAccount; @@ -342,6 +357,16 @@ public V1PodSpec() [JsonProperty(PropertyName = "priorityClassName")] public string PriorityClassName { get; set; } + /// + /// Gets or sets if specified, all readiness gates will be evaluated + /// for pod readiness. A pod is ready when all its containers are ready + /// AND all conditions specified in the readiness gates have status + /// equal to "True" More info: + /// https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md + /// + [JsonProperty(PropertyName = "readinessGates")] + public IList ReadinessGates { get; set; } + /// /// Gets or sets restart policy for all containers within the pod. One /// of Always, OnFailure, Never. Default to Always. More info: @@ -350,6 +375,19 @@ public V1PodSpec() [JsonProperty(PropertyName = "restartPolicy")] public string RestartPolicy { get; set; } + /// + /// Gets or sets runtimeClassName refers to a RuntimeClass object in + /// the node.k8s.io group, which should be used to run this pod. If no + /// RuntimeClass resource matches the named class, the pod will not be + /// run. If unset or empty, the "legacy" RuntimeClass will be used, + /// which is an implicit class with an empty definition that uses the + /// default runtime handler. More info: + /// https://github.com/kubernetes/community/blob/master/keps/sig-node/0014-runtime-class.md + /// This is an alpha feature and may change in the future. + /// + [JsonProperty(PropertyName = "runtimeClassName")] + public string RuntimeClassName { get; set; } + /// /// Gets or sets if specified, the pod will be dispatched by specified /// scheduler. If not specified, the pod will be dispatched by default @@ -387,8 +425,8 @@ public V1PodSpec() /// view and signal processes from other containers in the same pod, /// and the first process in each container will not be assigned PID 1. /// HostPID and ShareProcessNamespace cannot both be set. Optional: - /// Default to false. This field is alpha-level and is honored only by - /// servers that enable the PodShareProcessNamespace feature. + /// Default to false. This field is beta-level and may be disabled with + /// the PodShareProcessNamespace feature. /// [JsonProperty(PropertyName = "shareProcessNamespace")] public bool? ShareProcessNamespace { get; set; } @@ -466,9 +504,9 @@ public virtual void Validate() } } } - if (Volumes != null) + if (ReadinessGates != null) { - foreach (var element2 in Volumes) + foreach (var element2 in ReadinessGates) { if (element2 != null) { @@ -476,6 +514,16 @@ public virtual void Validate() } } } + if (Volumes != null) + { + foreach (var element3 in Volumes) + { + if (element3 != null) + { + element3.Validate(); + } + } + } } } } diff --git a/src/KubernetesClient/generated/Models/V1PodStatus.cs b/src/KubernetesClient/generated/Models/V1PodStatus.cs index 4c07c2a2d..86bd25fcf 100644 --- a/src/KubernetesClient/generated/Models/V1PodStatus.cs +++ b/src/KubernetesClient/generated/Models/V1PodStatus.cs @@ -13,7 +13,8 @@ namespace k8s.Models /// /// PodStatus represents information about the status of a pod. Status may - /// trail the actual state of a system. + /// trail the actual state of a system, especially if the node that hosts + /// the pod cannot contact the control plane. /// public partial class V1PodStatus { @@ -53,7 +54,28 @@ public V1PodStatus() /// pod that is created after preemption. As a result, this field may /// be different than PodSpec.nodeName when the pod is /// scheduled. - /// Current condition of the pod. More info: + /// The phase of a Pod is a simple, high-level + /// summary of where the Pod is in its lifecycle. The conditions array, + /// the reason and message fields, and the individual container status + /// arrays contain more detail about the pod's status. There are five + /// possible phase values: + /// + /// Pending: The pod has been accepted by the Kubernetes system, but + /// one or more of the container images has not been created. This + /// includes time before being scheduled as well as time spent + /// downloading images over the network, which could take a while. + /// Running: The pod has been bound to a node, and all of the + /// containers have been created. At least one container is still + /// running, or is in the process of starting or restarting. Succeeded: + /// All containers in the pod have terminated in success, and will not + /// be restarted. Failed: All containers in the pod have terminated, + /// and at least one container has terminated in failure. The container + /// either exited with non-zero status or was terminated by the system. + /// Unknown: For some reason the state of the pod could not be + /// obtained, typically due to an error in communicating with the host + /// of the pod. + /// + /// More info: /// https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase /// IP address allocated to the pod. Routable at /// least within the cluster. Empty if not yet allocated. @@ -141,7 +163,28 @@ public V1PodStatus() public string NominatedNodeName { get; set; } /// - /// Gets or sets current condition of the pod. More info: + /// Gets or sets the phase of a Pod is a simple, high-level summary of + /// where the Pod is in its lifecycle. The conditions array, the reason + /// and message fields, and the individual container status arrays + /// contain more detail about the pod's status. There are five possible + /// phase values: + /// + /// Pending: The pod has been accepted by the Kubernetes system, but + /// one or more of the container images has not been created. This + /// includes time before being scheduled as well as time spent + /// downloading images over the network, which could take a while. + /// Running: The pod has been bound to a node, and all of the + /// containers have been created. At least one container is still + /// running, or is in the process of starting or restarting. Succeeded: + /// All containers in the pod have terminated in success, and will not + /// be restarted. Failed: All containers in the pod have terminated, + /// and at least one container has terminated in failure. The container + /// either exited with non-zero status or was terminated by the system. + /// Unknown: For some reason the state of the pod could not be + /// obtained, typically due to an error in communicating with the host + /// of the pod. + /// + /// More info: /// https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase /// [JsonProperty(PropertyName = "phase")] diff --git a/src/KubernetesClient/generated/Models/V1PreferredSchedulingTerm.cs b/src/KubernetesClient/generated/Models/V1PreferredSchedulingTerm.cs index 39e0213f3..f5a7e1199 100644 --- a/src/KubernetesClient/generated/Models/V1PreferredSchedulingTerm.cs +++ b/src/KubernetesClient/generated/Models/V1PreferredSchedulingTerm.cs @@ -70,10 +70,6 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "Preference"); } - if (Preference != null) - { - Preference.Validate(); - } } } } diff --git a/src/KubernetesClient/generated/Models/V1ProjectedVolumeSource.cs b/src/KubernetesClient/generated/Models/V1ProjectedVolumeSource.cs index b8d021ada..8d2f193d3 100644 --- a/src/KubernetesClient/generated/Models/V1ProjectedVolumeSource.cs +++ b/src/KubernetesClient/generated/Models/V1ProjectedVolumeSource.cs @@ -74,6 +74,16 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "Sources"); } + if (Sources != null) + { + foreach (var element in Sources) + { + if (element != null) + { + element.Validate(); + } + } + } } } } diff --git a/src/KubernetesClient/generated/Models/V1ResourceQuotaSpec.cs b/src/KubernetesClient/generated/Models/V1ResourceQuotaSpec.cs index 5f984889e..0b594052c 100644 --- a/src/KubernetesClient/generated/Models/V1ResourceQuotaSpec.cs +++ b/src/KubernetesClient/generated/Models/V1ResourceQuotaSpec.cs @@ -27,15 +27,21 @@ public V1ResourceQuotaSpec() /// /// Initializes a new instance of the V1ResourceQuotaSpec class. /// - /// Hard is the set of desired hard limits for each + /// hard is the set of desired hard limits for each /// named resource. More info: /// https://kubernetes.io/docs/concepts/policy/resource-quotas/ + /// scopeSelector is also a collection of + /// filters like scopes that must match each object tracked by a quota + /// but expressed using ScopeSelectorOperator in combination with + /// possible values. For a resource to match, both scopes AND + /// scopeSelector (if specified in spec), must be matched. /// A collection of filters that must match each /// object tracked by a quota. If not specified, the quota matches all /// objects. - public V1ResourceQuotaSpec(IDictionary hard = default(IDictionary), IList scopes = default(IList)) + public V1ResourceQuotaSpec(IDictionary hard = default(IDictionary), V1ScopeSelector scopeSelector = default(V1ScopeSelector), IList scopes = default(IList)) { Hard = hard; + ScopeSelector = scopeSelector; Scopes = scopes; CustomInit(); } @@ -53,6 +59,16 @@ public V1ResourceQuotaSpec() [JsonProperty(PropertyName = "hard")] public IDictionary Hard { get; set; } + /// + /// Gets or sets scopeSelector is also a collection of filters like + /// scopes that must match each object tracked by a quota but expressed + /// using ScopeSelectorOperator in combination with possible values. + /// For a resource to match, both scopes AND scopeSelector (if + /// specified in spec), must be matched. + /// + [JsonProperty(PropertyName = "scopeSelector")] + public V1ScopeSelector ScopeSelector { get; set; } + /// /// Gets or sets a collection of filters that must match each object /// tracked by a quota. If not specified, the quota matches all diff --git a/src/KubernetesClient/generated/Models/V1RoleBinding.cs b/src/KubernetesClient/generated/Models/V1RoleBinding.cs index 16c68454c..30a1eb575 100644 --- a/src/KubernetesClient/generated/Models/V1RoleBinding.cs +++ b/src/KubernetesClient/generated/Models/V1RoleBinding.cs @@ -35,8 +35,6 @@ public V1RoleBinding() /// RoleRef can reference a Role in the current /// namespace or a ClusterRole in the global namespace. If the RoleRef /// cannot be resolved, the Authorizer must return an error. - /// Subjects holds references to the objects the - /// role applies to. /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized /// schemas to the latest internal value, and may reject unrecognized @@ -48,7 +46,9 @@ public V1RoleBinding() /// CamelCase. More info: /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds /// Standard object's metadata. - public V1RoleBinding(V1RoleRef roleRef, IList subjects, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) + /// Subjects holds references to the objects the + /// role applies to. + public V1RoleBinding(V1RoleRef roleRef, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList subjects = default(IList)) { ApiVersion = apiVersion; Kind = kind; @@ -116,10 +116,6 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "RoleRef"); } - if (Subjects == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Subjects"); - } if (Metadata != null) { Metadata.Validate(); diff --git a/src/KubernetesClient/generated/Models/V1RollingUpdateDeployment.cs b/src/KubernetesClient/generated/Models/V1RollingUpdateDeployment.cs index b3ecf49f5..280404aeb 100644 --- a/src/KubernetesClient/generated/Models/V1RollingUpdateDeployment.cs +++ b/src/KubernetesClient/generated/Models/V1RollingUpdateDeployment.cs @@ -30,10 +30,10 @@ public V1RollingUpdateDeployment() /// absolute number (ex: 5) or a percentage of desired pods (ex: 10%). /// This can not be 0 if MaxUnavailable is 0. Absolute number is /// calculated from percentage by rounding up. Defaults to 25%. - /// Example: when this is set to 30%, the new RC can be scaled up - /// immediately when the rolling update starts, such that the total + /// Example: when this is set to 30%, the new ReplicaSet can be scaled + /// up immediately when the rolling update starts, such that the total /// number of old and new pods do not exceed 130% of desired pods. Once - /// old pods have been killed, new RC can be scaled up further, + /// old pods have been killed, new ReplicaSet can be scaled up further, /// ensuring that total number of pods running at any time during the /// update is at most 130% of desired pods. /// The maximum number of pods that can be @@ -41,11 +41,12 @@ public V1RollingUpdateDeployment() /// 5) or a percentage of desired pods (ex: 10%). Absolute number is /// calculated from percentage by rounding down. This can not be 0 if /// MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, - /// the old RC can be scaled down to 70% of desired pods immediately - /// when the rolling update starts. Once new pods are ready, old RC can - /// be scaled down further, followed by scaling up the new RC, ensuring - /// that the total number of pods available at all times during the - /// update is at least 70% of desired pods. + /// the old ReplicaSet can be scaled down to 70% of desired pods + /// immediately when the rolling update starts. Once new pods are + /// ready, old ReplicaSet can be scaled down further, followed by + /// scaling up the new ReplicaSet, ensuring that the total number of + /// pods available at all times during the update is at least 70% of + /// desired pods. public V1RollingUpdateDeployment(IntstrIntOrString maxSurge = default(IntstrIntOrString), IntstrIntOrString maxUnavailable = default(IntstrIntOrString)) { MaxSurge = maxSurge; @@ -64,12 +65,12 @@ public V1RollingUpdateDeployment() /// or a percentage of desired pods (ex: 10%). This can not be 0 if /// MaxUnavailable is 0. Absolute number is calculated from percentage /// by rounding up. Defaults to 25%. Example: when this is set to 30%, - /// the new RC can be scaled up immediately when the rolling update - /// starts, such that the total number of old and new pods do not - /// exceed 130% of desired pods. Once old pods have been killed, new RC - /// can be scaled up further, ensuring that total number of pods - /// running at any time during the update is at most 130% of desired - /// pods. + /// the new ReplicaSet can be scaled up immediately when the rolling + /// update starts, such that the total number of old and new pods do + /// not exceed 130% of desired pods. Once old pods have been killed, + /// new ReplicaSet can be scaled up further, ensuring that total number + /// of pods running at any time during the update is at most 130% of + /// desired pods. /// [JsonProperty(PropertyName = "maxSurge")] public IntstrIntOrString MaxSurge { get; set; } @@ -79,12 +80,12 @@ public V1RollingUpdateDeployment() /// during the update. Value can be an absolute number (ex: 5) or a /// percentage of desired pods (ex: 10%). Absolute number is calculated /// from percentage by rounding down. This can not be 0 if MaxSurge is - /// 0. Defaults to 25%. Example: when this is set to 30%, the old RC - /// can be scaled down to 70% of desired pods immediately when the - /// rolling update starts. Once new pods are ready, old RC can be - /// scaled down further, followed by scaling up the new RC, ensuring - /// that the total number of pods available at all times during the - /// update is at least 70% of desired pods. + /// 0. Defaults to 25%. Example: when this is set to 30%, the old + /// ReplicaSet can be scaled down to 70% of desired pods immediately + /// when the rolling update starts. Once new pods are ready, old + /// ReplicaSet can be scaled down further, followed by scaling up the + /// new ReplicaSet, ensuring that the total number of pods available at + /// all times during the update is at least 70% of desired pods. /// [JsonProperty(PropertyName = "maxUnavailable")] public IntstrIntOrString MaxUnavailable { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1ScaleIOPersistentVolumeSource.cs b/src/KubernetesClient/generated/Models/V1ScaleIOPersistentVolumeSource.cs index 5674826d2..5c9ea3008 100644 --- a/src/KubernetesClient/generated/Models/V1ScaleIOPersistentVolumeSource.cs +++ b/src/KubernetesClient/generated/Models/V1ScaleIOPersistentVolumeSource.cs @@ -37,7 +37,7 @@ public V1ScaleIOPersistentVolumeSource() /// in ScaleIO. /// Filesystem type to mount. Must be a filesystem /// type supported by the host operating system. Ex. "ext4", "xfs", - /// "ntfs". Implicitly inferred to be "ext4" if unspecified. + /// "ntfs". Default is "xfs" /// The name of the ScaleIO Protection /// Domain for the configured storage. /// Defaults to false (read/write). @@ -46,7 +46,8 @@ public V1ScaleIOPersistentVolumeSource() /// Flag to enable/disable SSL communication /// with Gateway, default false /// Indicates whether the storage for a - /// volume should be ThickProvisioned or ThinProvisioned. + /// volume should be ThickProvisioned or ThinProvisioned. Default is + /// ThinProvisioned. /// The ScaleIO Storage Pool associated with /// the protection domain. /// The name of a volume already created in @@ -75,7 +76,7 @@ public V1ScaleIOPersistentVolumeSource() /// /// Gets or sets filesystem type to mount. Must be a filesystem type /// supported by the host operating system. Ex. "ext4", "xfs", "ntfs". - /// Implicitly inferred to be "ext4" if unspecified. + /// Default is "xfs" /// [JsonProperty(PropertyName = "fsType")] public string FsType { get; set; } @@ -117,7 +118,7 @@ public V1ScaleIOPersistentVolumeSource() /// /// Gets or sets indicates whether the storage for a volume should be - /// ThickProvisioned or ThinProvisioned. + /// ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. /// [JsonProperty(PropertyName = "storageMode")] public string StorageMode { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1ScaleIOVolumeSource.cs b/src/KubernetesClient/generated/Models/V1ScaleIOVolumeSource.cs index 641c736b0..7baaefb5a 100644 --- a/src/KubernetesClient/generated/Models/V1ScaleIOVolumeSource.cs +++ b/src/KubernetesClient/generated/Models/V1ScaleIOVolumeSource.cs @@ -35,7 +35,7 @@ public V1ScaleIOVolumeSource() /// in ScaleIO. /// Filesystem type to mount. Must be a filesystem /// type supported by the host operating system. Ex. "ext4", "xfs", - /// "ntfs". Implicitly inferred to be "ext4" if unspecified. + /// "ntfs". Default is "xfs". /// The name of the ScaleIO Protection /// Domain for the configured storage. /// Defaults to false (read/write). @@ -44,7 +44,8 @@ public V1ScaleIOVolumeSource() /// Flag to enable/disable SSL communication /// with Gateway, default false /// Indicates whether the storage for a - /// volume should be ThickProvisioned or ThinProvisioned. + /// volume should be ThickProvisioned or ThinProvisioned. Default is + /// ThinProvisioned. /// The ScaleIO Storage Pool associated with /// the protection domain. /// The name of a volume already created in @@ -73,7 +74,7 @@ public V1ScaleIOVolumeSource() /// /// Gets or sets filesystem type to mount. Must be a filesystem type /// supported by the host operating system. Ex. "ext4", "xfs", "ntfs". - /// Implicitly inferred to be "ext4" if unspecified. + /// Default is "xfs". /// [JsonProperty(PropertyName = "fsType")] public string FsType { get; set; } @@ -115,7 +116,7 @@ public V1ScaleIOVolumeSource() /// /// Gets or sets indicates whether the storage for a volume should be - /// ThickProvisioned or ThinProvisioned. + /// ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. /// [JsonProperty(PropertyName = "storageMode")] public string StorageMode { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1ScopeSelector.cs b/src/KubernetesClient/generated/Models/V1ScopeSelector.cs new file mode 100644 index 000000000..2cb8a1b89 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1ScopeSelector.cs @@ -0,0 +1,52 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A scope selector represents the AND of the selectors represented by the + /// scoped-resource selector requirements. + /// + public partial class V1ScopeSelector + { + /// + /// Initializes a new instance of the V1ScopeSelector class. + /// + public V1ScopeSelector() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1ScopeSelector class. + /// + /// A list of scope selector + /// requirements by scope of the resources. + public V1ScopeSelector(IList matchExpressions = default(IList)) + { + MatchExpressions = matchExpressions; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a list of scope selector requirements by scope of the + /// resources. + /// + [JsonProperty(PropertyName = "matchExpressions")] + public IList MatchExpressions { get; set; } + + } +} diff --git a/src/KubernetesClient/generated/Models/V1ScopedResourceSelectorRequirement.cs b/src/KubernetesClient/generated/Models/V1ScopedResourceSelectorRequirement.cs new file mode 100644 index 000000000..75ac171cd --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1ScopedResourceSelectorRequirement.cs @@ -0,0 +1,97 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A scoped-resource selector requirement is a selector that contains + /// values, a scope name, and an operator that relates the scope name and + /// values. + /// + public partial class V1ScopedResourceSelectorRequirement + { + /// + /// Initializes a new instance of the + /// V1ScopedResourceSelectorRequirement class. + /// + public V1ScopedResourceSelectorRequirement() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// V1ScopedResourceSelectorRequirement class. + /// + /// Represents a scope's relationship to + /// a set of values. Valid operators are In, NotIn, Exists, + /// DoesNotExist. + /// The name of the scope that the selector + /// applies to. + /// An array of string values. If the operator is + /// In or NotIn, the values array must be non-empty. If the operator is + /// Exists or DoesNotExist, the values array must be empty. This array + /// is replaced during a strategic merge patch. + public V1ScopedResourceSelectorRequirement(string operatorProperty, string scopeName, IList values = default(IList)) + { + OperatorProperty = operatorProperty; + ScopeName = scopeName; + Values = values; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets represents a scope's relationship to a set of values. + /// Valid operators are In, NotIn, Exists, DoesNotExist. + /// + [JsonProperty(PropertyName = "operator")] + public string OperatorProperty { get; set; } + + /// + /// Gets or sets the name of the scope that the selector applies to. + /// + [JsonProperty(PropertyName = "scopeName")] + public string ScopeName { get; set; } + + /// + /// Gets or sets an array of string values. If the operator is In or + /// NotIn, the values array must be non-empty. If the operator is + /// Exists or DoesNotExist, the values array must be empty. This array + /// is replaced during a strategic merge patch. + /// + [JsonProperty(PropertyName = "values")] + public IList Values { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (OperatorProperty == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "OperatorProperty"); + } + if (ScopeName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ScopeName"); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1SecurityContext.cs b/src/KubernetesClient/generated/Models/V1SecurityContext.cs index fea5ac799..64f79c0f6 100644 --- a/src/KubernetesClient/generated/Models/V1SecurityContext.cs +++ b/src/KubernetesClient/generated/Models/V1SecurityContext.cs @@ -40,6 +40,10 @@ public V1SecurityContext() /// Run container in privileged mode. /// Processes in privileged containers are essentially equivalent to /// root on the host. Defaults to false. + /// procMount denotes the type of proc mount to + /// use for the containers. The default is DefaultProcMount which uses + /// the container runtime defaults for readonly paths and masked paths. + /// This requires the ProcMountType feature flag to be enabled. /// Whether this container has a /// read-only root filesystem. Default is false. /// The GID to run the entrypoint of the @@ -66,11 +70,12 @@ public V1SecurityContext() /// PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes /// precedence. - public V1SecurityContext(bool? allowPrivilegeEscalation = default(bool?), V1Capabilities capabilities = default(V1Capabilities), bool? privileged = default(bool?), bool? readOnlyRootFilesystem = default(bool?), long? runAsGroup = default(long?), bool? runAsNonRoot = default(bool?), long? runAsUser = default(long?), V1SELinuxOptions seLinuxOptions = default(V1SELinuxOptions)) + public V1SecurityContext(bool? allowPrivilegeEscalation = default(bool?), V1Capabilities capabilities = default(V1Capabilities), bool? privileged = default(bool?), string procMount = default(string), bool? readOnlyRootFilesystem = default(bool?), long? runAsGroup = default(long?), bool? runAsNonRoot = default(bool?), long? runAsUser = default(long?), V1SELinuxOptions seLinuxOptions = default(V1SELinuxOptions)) { AllowPrivilegeEscalation = allowPrivilegeEscalation; Capabilities = capabilities; Privileged = privileged; + ProcMount = procMount; ReadOnlyRootFilesystem = readOnlyRootFilesystem; RunAsGroup = runAsGroup; RunAsNonRoot = runAsNonRoot; @@ -110,6 +115,15 @@ public V1SecurityContext() [JsonProperty(PropertyName = "privileged")] public bool? Privileged { get; set; } + /// + /// Gets or sets procMount denotes the type of proc mount to use for + /// the containers. The default is DefaultProcMount which uses the + /// container runtime defaults for readonly paths and masked paths. + /// This requires the ProcMountType feature flag to be enabled. + /// + [JsonProperty(PropertyName = "procMount")] + public string ProcMount { get; set; } + /// /// Gets or sets whether this container has a read-only root /// filesystem. Default is false. diff --git a/src/KubernetesClient/generated/Models/V1ServiceAccountTokenProjection.cs b/src/KubernetesClient/generated/Models/V1ServiceAccountTokenProjection.cs new file mode 100644 index 000000000..39bcc1000 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1ServiceAccountTokenProjection.cs @@ -0,0 +1,104 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// ServiceAccountTokenProjection represents a projected service account + /// token volume. This projection can be used to insert a service account + /// token into the pods runtime filesystem for use against APIs (Kubernetes + /// API Server or otherwise). + /// + public partial class V1ServiceAccountTokenProjection + { + /// + /// Initializes a new instance of the V1ServiceAccountTokenProjection + /// class. + /// + public V1ServiceAccountTokenProjection() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1ServiceAccountTokenProjection + /// class. + /// + /// Path is the path relative to the mount point of + /// the file to project the token into. + /// Audience is the intended audience of the + /// token. A recipient of a token must identify itself with an + /// identifier specified in the audience of the token, and otherwise + /// should reject the token. The audience defaults to the identifier of + /// the apiserver. + /// ExpirationSeconds is the requested + /// duration of validity of the service account token. As the token + /// approaches expiration, the kubelet volume plugin will proactively + /// rotate the service account token. The kubelet will start trying to + /// rotate the token if the token is older than 80 percent of its time + /// to live or if the token is older than 24 hours.Defaults to 1 hour + /// and must be at least 10 minutes. + public V1ServiceAccountTokenProjection(string path, string audience = default(string), long? expirationSeconds = default(long?)) + { + Audience = audience; + ExpirationSeconds = expirationSeconds; + Path = path; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets audience is the intended audience of the token. A + /// recipient of a token must identify itself with an identifier + /// specified in the audience of the token, and otherwise should reject + /// the token. The audience defaults to the identifier of the + /// apiserver. + /// + [JsonProperty(PropertyName = "audience")] + public string Audience { get; set; } + + /// + /// Gets or sets expirationSeconds is the requested duration of + /// validity of the service account token. As the token approaches + /// expiration, the kubelet volume plugin will proactively rotate the + /// service account token. The kubelet will start trying to rotate the + /// token if the token is older than 80 percent of its time to live or + /// if the token is older than 24 hours.Defaults to 1 hour and must be + /// at least 10 minutes. + /// + [JsonProperty(PropertyName = "expirationSeconds")] + public long? ExpirationSeconds { get; set; } + + /// + /// Gets or sets path is the path relative to the mount point of the + /// file to project the token into. + /// + [JsonProperty(PropertyName = "path")] + public string Path { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Path == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Path"); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1ServicePort.cs b/src/KubernetesClient/generated/Models/V1ServicePort.cs index 689c28e5e..64af12555 100644 --- a/src/KubernetesClient/generated/Models/V1ServicePort.cs +++ b/src/KubernetesClient/generated/Models/V1ServicePort.cs @@ -40,7 +40,7 @@ public V1ServicePort() /// one. More info: /// https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport /// The IP protocol for this port. Supports - /// "TCP" and "UDP". Default is TCP. + /// "TCP", "UDP", and "SCTP". Default is TCP. /// Number or name of the port to access on /// the pods targeted by the service. Number must be in the range 1 to /// 65535. Name must be an IANA_SVC_NAME. If this is a string, it will @@ -92,8 +92,8 @@ public V1ServicePort() public int Port { get; set; } /// - /// Gets or sets the IP protocol for this port. Supports "TCP" and - /// "UDP". Default is TCP. + /// Gets or sets the IP protocol for this port. Supports "TCP", "UDP", + /// and "SCTP". Default is TCP. /// [JsonProperty(PropertyName = "protocol")] public string Protocol { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1ServiceSpec.cs b/src/KubernetesClient/generated/Models/V1ServiceSpec.cs index c4914293b..1c40c4012 100644 --- a/src/KubernetesClient/generated/Models/V1ServiceSpec.cs +++ b/src/KubernetesClient/generated/Models/V1ServiceSpec.cs @@ -82,10 +82,7 @@ public V1ServiceSpec() /// the Service. The default value is false. The primary use case for /// setting this field is to use a StatefulSet's Headless Service to /// propagate SRV records for its Pods without respect to their - /// readiness for purpose of peer discovery. This field will replace - /// the service.alpha.kubernetes.io/tolerate-unready-endpoints when - /// that annotation is deprecated and all clients have been converted - /// to use this field. + /// readiness for purpose of peer discovery. /// Route service traffic to pods with label /// keys and values matching this selector. If empty or not present, /// the service is assumed to have an external process managing its @@ -231,10 +228,7 @@ public V1ServiceSpec() /// value is false. The primary use case for setting this field is to /// use a StatefulSet's Headless Service to propagate SRV records for /// its Pods without respect to their readiness for purpose of peer - /// discovery. This field will replace the - /// service.alpha.kubernetes.io/tolerate-unready-endpoints when that - /// annotation is deprecated and all clients have been converted to use - /// this field. + /// discovery. /// [JsonProperty(PropertyName = "publishNotReadyAddresses")] public bool? PublishNotReadyAddresses { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1StorageClass.cs b/src/KubernetesClient/generated/Models/V1StorageClass.cs index c5822d27a..b7a52e39c 100644 --- a/src/KubernetesClient/generated/Models/V1StorageClass.cs +++ b/src/KubernetesClient/generated/Models/V1StorageClass.cs @@ -36,6 +36,12 @@ public V1StorageClass() /// provisioner. /// AllowVolumeExpansion shows /// whether the storage class allow volume expand + /// Restrict the node topologies where + /// volumes can be dynamically provisioned. Each volume plugin defines + /// its own supported topology specifications. An empty + /// TopologySelectorTerm list means there is no topology restriction. + /// This field is only honored by servers that enable the + /// VolumeScheduling feature. /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized /// schemas to the latest internal value, and may reject unrecognized @@ -60,12 +66,12 @@ public V1StorageClass() /// reclaimPolicy. Defaults to Delete. /// VolumeBindingMode indicates how /// PersistentVolumeClaims should be provisioned and bound. When - /// unset, VolumeBindingImmediate is used. This field is alpha-level - /// and is only honored by servers that enable the VolumeScheduling - /// feature. - public V1StorageClass(string provisioner, bool? allowVolumeExpansion = default(bool?), string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList mountOptions = default(IList), IDictionary parameters = default(IDictionary), string reclaimPolicy = default(string), string volumeBindingMode = default(string)) + /// unset, VolumeBindingImmediate is used. This field is only honored + /// by servers that enable the VolumeScheduling feature. + public V1StorageClass(string provisioner, bool? allowVolumeExpansion = default(bool?), IList allowedTopologies = default(IList), string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList mountOptions = default(IList), IDictionary parameters = default(IDictionary), string reclaimPolicy = default(string), string volumeBindingMode = default(string)) { AllowVolumeExpansion = allowVolumeExpansion; + AllowedTopologies = allowedTopologies; ApiVersion = apiVersion; Kind = kind; Metadata = metadata; @@ -89,6 +95,16 @@ public V1StorageClass() [JsonProperty(PropertyName = "allowVolumeExpansion")] public bool? AllowVolumeExpansion { get; set; } + /// + /// Gets or sets restrict the node topologies where volumes can be + /// dynamically provisioned. Each volume plugin defines its own + /// supported topology specifications. An empty TopologySelectorTerm + /// list means there is no topology restriction. This field is only + /// honored by servers that enable the VolumeScheduling feature. + /// + [JsonProperty(PropertyName = "allowedTopologies")] + public IList AllowedTopologies { get; set; } + /// /// Gets or sets aPIVersion defines the versioned schema of this /// representation of an object. Servers should convert recognized @@ -149,8 +165,8 @@ public V1StorageClass() /// /// Gets or sets volumeBindingMode indicates how PersistentVolumeClaims /// should be provisioned and bound. When unset, - /// VolumeBindingImmediate is used. This field is alpha-level and is - /// only honored by servers that enable the VolumeScheduling feature. + /// VolumeBindingImmediate is used. This field is only honored by + /// servers that enable the VolumeScheduling feature. /// [JsonProperty(PropertyName = "volumeBindingMode")] public string VolumeBindingMode { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1beta1JSONSchemaPropsOrBool.cs b/src/KubernetesClient/generated/Models/V1Sysctl.cs similarity index 53% rename from src/KubernetesClient/generated/Models/V1beta1JSONSchemaPropsOrBool.cs rename to src/KubernetesClient/generated/Models/V1Sysctl.cs index 532852dd6..da50b7948 100644 --- a/src/KubernetesClient/generated/Models/V1beta1JSONSchemaPropsOrBool.cs +++ b/src/KubernetesClient/generated/Models/V1Sysctl.cs @@ -11,28 +11,27 @@ namespace k8s.Models using System.Linq; /// - /// JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. - /// Defaults to true for the boolean property. + /// Sysctl defines a kernel parameter to be set /// - public partial class V1beta1JSONSchemaPropsOrBool + public partial class V1Sysctl { /// - /// Initializes a new instance of the V1beta1JSONSchemaPropsOrBool - /// class. + /// Initializes a new instance of the V1Sysctl class. /// - public V1beta1JSONSchemaPropsOrBool() + public V1Sysctl() { CustomInit(); } /// - /// Initializes a new instance of the V1beta1JSONSchemaPropsOrBool - /// class. + /// Initializes a new instance of the V1Sysctl class. /// - public V1beta1JSONSchemaPropsOrBool(bool allows, V1beta1JSONSchemaProps schema) + /// Name of a property to set + /// Value of a property to set + public V1Sysctl(string name, string value) { - Allows = allows; - Schema = schema; + Name = name; + Value = value; CustomInit(); } @@ -42,14 +41,16 @@ public V1beta1JSONSchemaPropsOrBool(bool allows, V1beta1JSONSchemaProps schema) partial void CustomInit(); /// + /// Gets or sets name of a property to set /// - [JsonProperty(PropertyName = "Allows")] - public bool Allows { get; set; } + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } /// + /// Gets or sets value of a property to set /// - [JsonProperty(PropertyName = "Schema")] - public V1beta1JSONSchemaProps Schema { get; set; } + [JsonProperty(PropertyName = "value")] + public string Value { get; set; } /// /// Validate the object. @@ -59,13 +60,13 @@ public V1beta1JSONSchemaPropsOrBool(bool allows, V1beta1JSONSchemaProps schema) /// public virtual void Validate() { - if (Schema == null) + if (Name == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "Schema"); + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); } - if (Schema != null) + if (Value == null) { - Schema.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "Value"); } } } diff --git a/src/KubernetesClient/generated/Models/V1beta1JSONSchemaPropsOrStringArray.cs b/src/KubernetesClient/generated/Models/V1TopologySelectorLabelRequirement.cs similarity index 50% rename from src/KubernetesClient/generated/Models/V1beta1JSONSchemaPropsOrStringArray.cs rename to src/KubernetesClient/generated/Models/V1TopologySelectorLabelRequirement.cs index 355559d64..549197fc8 100644 --- a/src/KubernetesClient/generated/Models/V1beta1JSONSchemaPropsOrStringArray.cs +++ b/src/KubernetesClient/generated/Models/V1TopologySelectorLabelRequirement.cs @@ -13,28 +13,33 @@ namespace k8s.Models using System.Linq; /// - /// JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string - /// array. + /// A topology selector requirement is a selector that matches given label. + /// This is an alpha feature and may change in the future. /// - public partial class V1beta1JSONSchemaPropsOrStringArray + public partial class V1TopologySelectorLabelRequirement { /// /// Initializes a new instance of the - /// V1beta1JSONSchemaPropsOrStringArray class. + /// V1TopologySelectorLabelRequirement class. /// - public V1beta1JSONSchemaPropsOrStringArray() + public V1TopologySelectorLabelRequirement() { CustomInit(); } /// /// Initializes a new instance of the - /// V1beta1JSONSchemaPropsOrStringArray class. + /// V1TopologySelectorLabelRequirement class. /// - public V1beta1JSONSchemaPropsOrStringArray(IList property, V1beta1JSONSchemaProps schema) + /// The label key that the selector applies + /// to. + /// An array of string values. One value must + /// match the label to be selected. Each entry in Values is + /// ORed. + public V1TopologySelectorLabelRequirement(string key, IList values) { - Property = property; - Schema = schema; + Key = key; + Values = values; CustomInit(); } @@ -44,14 +49,17 @@ public V1beta1JSONSchemaPropsOrStringArray(IList property, V1beta1JSONSc partial void CustomInit(); /// + /// Gets or sets the label key that the selector applies to. /// - [JsonProperty(PropertyName = "Property")] - public IList Property { get; set; } + [JsonProperty(PropertyName = "key")] + public string Key { get; set; } /// + /// Gets or sets an array of string values. One value must match the + /// label to be selected. Each entry in Values is ORed. /// - [JsonProperty(PropertyName = "Schema")] - public V1beta1JSONSchemaProps Schema { get; set; } + [JsonProperty(PropertyName = "values")] + public IList Values { get; set; } /// /// Validate the object. @@ -61,17 +69,13 @@ public V1beta1JSONSchemaPropsOrStringArray(IList property, V1beta1JSONSc /// public virtual void Validate() { - if (Property == null) + if (Key == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "Property"); + throw new ValidationException(ValidationRules.CannotBeNull, "Key"); } - if (Schema == null) + if (Values == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "Schema"); - } - if (Schema != null) - { - Schema.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "Values"); } } } diff --git a/src/KubernetesClient/generated/Models/V1TopologySelectorTerm.cs b/src/KubernetesClient/generated/Models/V1TopologySelectorTerm.cs new file mode 100644 index 000000000..2a3b31c87 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1TopologySelectorTerm.cs @@ -0,0 +1,54 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A topology selector term represents the result of label queries. A null + /// or empty topology selector term matches no objects. The requirements of + /// them are ANDed. It provides a subset of functionality as + /// NodeSelectorTerm. This is an alpha feature and may change in the + /// future. + /// + public partial class V1TopologySelectorTerm + { + /// + /// Initializes a new instance of the V1TopologySelectorTerm class. + /// + public V1TopologySelectorTerm() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1TopologySelectorTerm class. + /// + /// A list of topology selector + /// requirements by labels. + public V1TopologySelectorTerm(IList matchLabelExpressions = default(IList)) + { + MatchLabelExpressions = matchLabelExpressions; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a list of topology selector requirements by labels. + /// + [JsonProperty(PropertyName = "matchLabelExpressions")] + public IList MatchLabelExpressions { get; set; } + + } +} diff --git a/src/KubernetesClient/generated/Models/V1TypedLocalObjectReference.cs b/src/KubernetesClient/generated/Models/V1TypedLocalObjectReference.cs new file mode 100644 index 000000000..c3418bf06 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1TypedLocalObjectReference.cs @@ -0,0 +1,92 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// TypedLocalObjectReference contains enough information to let you locate + /// the typed referenced object inside the same namespace. + /// + public partial class V1TypedLocalObjectReference + { + /// + /// Initializes a new instance of the V1TypedLocalObjectReference + /// class. + /// + public V1TypedLocalObjectReference() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1TypedLocalObjectReference + /// class. + /// + /// Kind is the type of resource being + /// referenced + /// Name is the name of resource being + /// referenced + /// APIGroup is the group for the resource being + /// referenced. If APIGroup is not specified, the specified Kind must + /// be in the core API group. For any other third-party types, APIGroup + /// is required. + public V1TypedLocalObjectReference(string kind, string name, string apiGroup = default(string)) + { + ApiGroup = apiGroup; + Kind = kind; + Name = name; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets aPIGroup is the group for the resource being + /// referenced. If APIGroup is not specified, the specified Kind must + /// be in the core API group. For any other third-party types, APIGroup + /// is required. + /// + [JsonProperty(PropertyName = "apiGroup")] + public string ApiGroup { get; set; } + + /// + /// Gets or sets kind is the type of resource being referenced + /// + [JsonProperty(PropertyName = "kind")] + public string Kind { get; set; } + + /// + /// Gets or sets name is the name of resource being referenced + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Kind == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Kind"); + } + if (Name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1Volume.cs b/src/KubernetesClient/generated/Models/V1Volume.cs index d2b7e2f1e..cb114808a 100644 --- a/src/KubernetesClient/generated/Models/V1Volume.cs +++ b/src/KubernetesClient/generated/Models/V1Volume.cs @@ -64,7 +64,10 @@ public V1Volume() /// exposed to the pod. More info: /// https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk /// GitRepo represents a git repository at a - /// particular revision. + /// particular revision. DEPRECATED: GitRepo is deprecated. To + /// provision a container with a git repo, mount an EmptyDir into an + /// InitContainer that clones the repo using git, then mount the + /// EmptyDir into the Pod's container. /// Glusterfs represents a Glusterfs mount on /// the host that shares a pod's lifetime. More info: /// https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md @@ -238,7 +241,10 @@ public V1Volume() /// /// Gets or sets gitRepo represents a git repository at a particular - /// revision. + /// revision. DEPRECATED: GitRepo is deprecated. To provision a + /// container with a git repo, mount an EmptyDir into an InitContainer + /// that clones the repo using git, then mount the EmptyDir into the + /// Pod's container. /// [JsonProperty(PropertyName = "gitRepo")] public V1GitRepoVolumeSource GitRepo { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1VolumeMount.cs b/src/KubernetesClient/generated/Models/V1VolumeMount.cs index 7d147d707..eca37d6da 100644 --- a/src/KubernetesClient/generated/Models/V1VolumeMount.cs +++ b/src/KubernetesClient/generated/Models/V1VolumeMount.cs @@ -31,8 +31,8 @@ public V1VolumeMount() /// This must match the Name of a Volume. /// mountPropagation determines how /// mounts are propagated from the host to container and the other way - /// around. When not set, MountPropagationHostToContainer is used. This - /// field is beta in 1.10. + /// around. When not set, MountPropagationNone is used. This field is + /// beta in 1.10. /// Mounted read-only if true, /// read-write otherwise (false or unspecified). Defaults to /// false. @@ -64,8 +64,7 @@ public V1VolumeMount() /// /// Gets or sets mountPropagation determines how mounts are propagated /// from the host to container and the other way around. When not set, - /// MountPropagationHostToContainer is used. This field is beta in - /// 1.10. + /// MountPropagationNone is used. This field is beta in 1.10. /// [JsonProperty(PropertyName = "mountPropagation")] public string MountPropagation { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1VolumeProjection.cs b/src/KubernetesClient/generated/Models/V1VolumeProjection.cs index 82ac5f5dd..0860cd68e 100644 --- a/src/KubernetesClient/generated/Models/V1VolumeProjection.cs +++ b/src/KubernetesClient/generated/Models/V1VolumeProjection.cs @@ -32,11 +32,14 @@ public V1VolumeProjection() /// project /// information about the secret data to /// project - public V1VolumeProjection(V1ConfigMapProjection configMap = default(V1ConfigMapProjection), V1DownwardAPIProjection downwardAPI = default(V1DownwardAPIProjection), V1SecretProjection secret = default(V1SecretProjection)) + /// information about the + /// serviceAccountToken data to project + public V1VolumeProjection(V1ConfigMapProjection configMap = default(V1ConfigMapProjection), V1DownwardAPIProjection downwardAPI = default(V1DownwardAPIProjection), V1SecretProjection secret = default(V1SecretProjection), V1ServiceAccountTokenProjection serviceAccountToken = default(V1ServiceAccountTokenProjection)) { ConfigMap = configMap; DownwardAPI = downwardAPI; Secret = secret; + ServiceAccountToken = serviceAccountToken; CustomInit(); } @@ -63,5 +66,25 @@ public V1VolumeProjection() [JsonProperty(PropertyName = "secret")] public V1SecretProjection Secret { get; set; } + /// + /// Gets or sets information about the serviceAccountToken data to + /// project + /// + [JsonProperty(PropertyName = "serviceAccountToken")] + public V1ServiceAccountTokenProjection ServiceAccountToken { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (ServiceAccountToken != null) + { + ServiceAccountToken.Validate(); + } + } } } diff --git a/src/KubernetesClient/generated/Models/V1alpha1ClusterRoleBinding.cs b/src/KubernetesClient/generated/Models/V1alpha1ClusterRoleBinding.cs index 4f06bb087..fd2c9bd2d 100644 --- a/src/KubernetesClient/generated/Models/V1alpha1ClusterRoleBinding.cs +++ b/src/KubernetesClient/generated/Models/V1alpha1ClusterRoleBinding.cs @@ -33,8 +33,6 @@ public V1alpha1ClusterRoleBinding() /// RoleRef can only reference a ClusterRole in /// the global namespace. If the RoleRef cannot be resolved, the /// Authorizer must return an error. - /// Subjects holds references to the objects the - /// role applies to. /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized /// schemas to the latest internal value, and may reject unrecognized @@ -46,7 +44,9 @@ public V1alpha1ClusterRoleBinding() /// CamelCase. More info: /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds /// Standard object's metadata. - public V1alpha1ClusterRoleBinding(V1alpha1RoleRef roleRef, IList subjects, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) + /// Subjects holds references to the objects the + /// role applies to. + public V1alpha1ClusterRoleBinding(V1alpha1RoleRef roleRef, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList subjects = default(IList)) { ApiVersion = apiVersion; Kind = kind; @@ -114,10 +114,6 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "RoleRef"); } - if (Subjects == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Subjects"); - } if (Metadata != null) { Metadata.Validate(); diff --git a/src/KubernetesClient/generated/Models/V1alpha1RoleBinding.cs b/src/KubernetesClient/generated/Models/V1alpha1RoleBinding.cs index 4f9912421..8842df749 100644 --- a/src/KubernetesClient/generated/Models/V1alpha1RoleBinding.cs +++ b/src/KubernetesClient/generated/Models/V1alpha1RoleBinding.cs @@ -35,8 +35,6 @@ public V1alpha1RoleBinding() /// RoleRef can reference a Role in the current /// namespace or a ClusterRole in the global namespace. If the RoleRef /// cannot be resolved, the Authorizer must return an error. - /// Subjects holds references to the objects the - /// role applies to. /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized /// schemas to the latest internal value, and may reject unrecognized @@ -48,7 +46,9 @@ public V1alpha1RoleBinding() /// CamelCase. More info: /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds /// Standard object's metadata. - public V1alpha1RoleBinding(V1alpha1RoleRef roleRef, IList subjects, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) + /// Subjects holds references to the objects the + /// role applies to. + public V1alpha1RoleBinding(V1alpha1RoleRef roleRef, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList subjects = default(IList)) { ApiVersion = apiVersion; Kind = kind; @@ -116,10 +116,6 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "RoleRef"); } - if (Subjects == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Subjects"); - } if (Metadata != null) { Metadata.Validate(); diff --git a/src/KubernetesClient/generated/Models/V1beta1APIServiceSpec.cs b/src/KubernetesClient/generated/Models/V1beta1APIServiceSpec.cs index 3d88083bd..8a3025e81 100644 --- a/src/KubernetesClient/generated/Models/V1beta1APIServiceSpec.cs +++ b/src/KubernetesClient/generated/Models/V1beta1APIServiceSpec.cs @@ -28,9 +28,6 @@ public V1beta1APIServiceSpec() /// /// Initializes a new instance of the V1beta1APIServiceSpec class. /// - /// CABundle is a PEM encoded CA bundle which - /// will be used to validate an API server's serving - /// certificate. /// GroupPriorityMininum is the /// priority this group should have at least. Higher priority means /// that the group is preferred by clients over lower priority ones. @@ -50,10 +47,22 @@ public V1beta1APIServiceSpec() /// VersionPriority controls the ordering /// of this API version inside of its group. Must be greater than /// zero. The primary sort is based on VersionPriority, ordered highest - /// to lowest (20 before 10). The secondary sort is based on the - /// alphabetical comparison of the name of the object. (v1.bar before - /// v1.foo) Since it's inside of a group, the number can be small, - /// probably in the 10s. + /// to lowest (20 before 10). Since it's inside of a group, the number + /// can be small, probably in the 10s. In case of equal version + /// priorities, the version string will be used to compute the order + /// inside a group. If the version string is "kube-like", it will sort + /// above non "kube-like" version strings, which are ordered + /// lexicographically. "Kube-like" versions start with a "v", then are + /// followed by a number (the major version), then optionally the + /// string "alpha" or "beta" and another number (the minor version). + /// These are sorted first by GA > beta > alpha (where GA is a + /// version with no suffix such as beta or alpha), and then by + /// comparing major version, then minor version. An example sorted list + /// of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, + /// v11alpha2, foo1, foo10. + /// CABundle is a PEM encoded CA bundle which + /// will be used to validate an API server's serving + /// certificate. /// Group is the API group name this server /// hosts /// InsecureSkipTLSVerify disables @@ -62,7 +71,7 @@ public V1beta1APIServiceSpec() /// instead. /// Version is the API version this server hosts. /// For example, "v1" - public V1beta1APIServiceSpec(byte[] caBundle, int groupPriorityMinimum, Apiregistrationv1beta1ServiceReference service, int versionPriority, string group = default(string), bool? insecureSkipTLSVerify = default(bool?), string version = default(string)) + public V1beta1APIServiceSpec(int groupPriorityMinimum, Apiregistrationv1beta1ServiceReference service, int versionPriority, byte[] caBundle = default(byte[]), string group = default(string), bool? insecureSkipTLSVerify = default(bool?), string version = default(string)) { CaBundle = caBundle; Group = group; @@ -136,10 +145,19 @@ public V1beta1APIServiceSpec() /// Gets or sets versionPriority controls the ordering of this API /// version inside of its group. Must be greater than zero. The /// primary sort is based on VersionPriority, ordered highest to lowest - /// (20 before 10). The secondary sort is based on the alphabetical - /// comparison of the name of the object. (v1.bar before v1.foo) Since - /// it's inside of a group, the number can be small, probably in the - /// 10s. + /// (20 before 10). Since it's inside of a group, the number can be + /// small, probably in the 10s. In case of equal version priorities, + /// the version string will be used to compute the order inside a + /// group. If the version string is "kube-like", it will sort above non + /// "kube-like" version strings, which are ordered lexicographically. + /// "Kube-like" versions start with a "v", then are followed by a + /// number (the major version), then optionally the string "alpha" or + /// "beta" and another number (the minor version). These are sorted + /// first by GA &gt; beta &gt; alpha (where GA is a version + /// with no suffix such as beta or alpha), and then by comparing major + /// version, then minor version. An example sorted list of versions: + /// v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, + /// foo1, foo10. /// [JsonProperty(PropertyName = "versionPriority")] public int VersionPriority { get; set; } @@ -152,10 +170,6 @@ public V1beta1APIServiceSpec() /// public virtual void Validate() { - if (CaBundle == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "CaBundle"); - } if (Service == null) { throw new ValidationException(ValidationRules.CannotBeNull, "Service"); diff --git a/src/KubernetesClient/generated/Models/V1beta1ClusterRoleBinding.cs b/src/KubernetesClient/generated/Models/V1beta1ClusterRoleBinding.cs index 374aa910e..47f9e6df6 100644 --- a/src/KubernetesClient/generated/Models/V1beta1ClusterRoleBinding.cs +++ b/src/KubernetesClient/generated/Models/V1beta1ClusterRoleBinding.cs @@ -33,8 +33,6 @@ public V1beta1ClusterRoleBinding() /// RoleRef can only reference a ClusterRole in /// the global namespace. If the RoleRef cannot be resolved, the /// Authorizer must return an error. - /// Subjects holds references to the objects the - /// role applies to. /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized /// schemas to the latest internal value, and may reject unrecognized @@ -46,7 +44,9 @@ public V1beta1ClusterRoleBinding() /// CamelCase. More info: /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds /// Standard object's metadata. - public V1beta1ClusterRoleBinding(V1beta1RoleRef roleRef, IList subjects, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) + /// Subjects holds references to the objects the + /// role applies to. + public V1beta1ClusterRoleBinding(V1beta1RoleRef roleRef, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList subjects = default(IList)) { ApiVersion = apiVersion; Kind = kind; @@ -114,10 +114,6 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "RoleRef"); } - if (Subjects == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Subjects"); - } if (Metadata != null) { Metadata.Validate(); diff --git a/src/KubernetesClient/generated/Models/V1beta1CustomResourceColumnDefinition.cs b/src/KubernetesClient/generated/Models/V1beta1CustomResourceColumnDefinition.cs new file mode 100644 index 000000000..0f59e7af4 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1beta1CustomResourceColumnDefinition.cs @@ -0,0 +1,139 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// CustomResourceColumnDefinition specifies a column for server side + /// printing. + /// + public partial class V1beta1CustomResourceColumnDefinition + { + /// + /// Initializes a new instance of the + /// V1beta1CustomResourceColumnDefinition class. + /// + public V1beta1CustomResourceColumnDefinition() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// V1beta1CustomResourceColumnDefinition class. + /// + /// JSONPath is a simple JSON path, i.e. with + /// array notation. + /// name is a human readable name for the + /// column. + /// type is an OpenAPI type definition for this + /// column. See + /// https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types + /// for more. + /// description is a human readable + /// description of this column. + /// format is an optional OpenAPI type definition + /// for this column. The 'name' format is applied to the primary + /// identifier column to assist in clients identifying column is the + /// resource name. See + /// https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types + /// for more. + /// priority is an integer defining the relative + /// importance of this column compared to others. Lower numbers are + /// considered higher priority. Columns that may be omitted in limited + /// space scenarios should be given a higher priority. + public V1beta1CustomResourceColumnDefinition(string jSONPath, string name, string type, string description = default(string), string format = default(string), int? priority = default(int?)) + { + JSONPath = jSONPath; + Description = description; + Format = format; + Name = name; + Priority = priority; + Type = type; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets jSONPath is a simple JSON path, i.e. with array + /// notation. + /// + [JsonProperty(PropertyName = "JSONPath")] + public string JSONPath { get; set; } + + /// + /// Gets or sets description is a human readable description of this + /// column. + /// + [JsonProperty(PropertyName = "description")] + public string Description { get; set; } + + /// + /// Gets or sets format is an optional OpenAPI type definition for this + /// column. The 'name' format is applied to the primary identifier + /// column to assist in clients identifying column is the resource + /// name. See + /// https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types + /// for more. + /// + [JsonProperty(PropertyName = "format")] + public string Format { get; set; } + + /// + /// Gets or sets name is a human readable name for the column. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets priority is an integer defining the relative + /// importance of this column compared to others. Lower numbers are + /// considered higher priority. Columns that may be omitted in limited + /// space scenarios should be given a higher priority. + /// + [JsonProperty(PropertyName = "priority")] + public int? Priority { get; set; } + + /// + /// Gets or sets type is an OpenAPI type definition for this column. + /// See + /// https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types + /// for more. + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (JSONPath == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "JSONPath"); + } + if (Name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); + } + if (Type == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Type"); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1beta1CustomResourceDefinition.cs b/src/KubernetesClient/generated/Models/V1beta1CustomResourceDefinition.cs index d49c83457..ef92a406b 100644 --- a/src/KubernetesClient/generated/Models/V1beta1CustomResourceDefinition.cs +++ b/src/KubernetesClient/generated/Models/V1beta1CustomResourceDefinition.cs @@ -6,6 +6,7 @@ namespace k8s.Models { + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -29,6 +30,8 @@ public V1beta1CustomResourceDefinition() /// Initializes a new instance of the V1beta1CustomResourceDefinition /// class. /// + /// Spec describes how the user wants the resources + /// to appear /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized /// schemas to the latest internal value, and may reject unrecognized @@ -39,11 +42,9 @@ public V1beta1CustomResourceDefinition() /// endpoint the client submits requests to. Cannot be updated. In /// CamelCase. More info: /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds - /// Spec describes how the user wants the resources - /// to appear /// Status indicates the actual state of the /// CustomResourceDefinition - public V1beta1CustomResourceDefinition(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1beta1CustomResourceDefinitionSpec spec = default(V1beta1CustomResourceDefinitionSpec), V1beta1CustomResourceDefinitionStatus status = default(V1beta1CustomResourceDefinitionStatus)) + public V1beta1CustomResourceDefinition(V1beta1CustomResourceDefinitionSpec spec, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1beta1CustomResourceDefinitionStatus status = default(V1beta1CustomResourceDefinitionStatus)) { ApiVersion = apiVersion; Kind = kind; @@ -100,11 +101,15 @@ public V1beta1CustomResourceDefinition() /// /// Validate the object. /// - /// + /// /// Thrown if validation fails /// public virtual void Validate() { + if (Spec == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Spec"); + } if (Metadata != null) { Metadata.Validate(); diff --git a/src/KubernetesClient/generated/Models/V1beta1CustomResourceDefinitionSpec.cs b/src/KubernetesClient/generated/Models/V1beta1CustomResourceDefinitionSpec.cs index b12532f5c..546f9667a 100644 --- a/src/KubernetesClient/generated/Models/V1beta1CustomResourceDefinitionSpec.cs +++ b/src/KubernetesClient/generated/Models/V1beta1CustomResourceDefinitionSpec.cs @@ -8,6 +8,8 @@ namespace k8s.Models { using Microsoft.Rest; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -35,22 +37,42 @@ public V1beta1CustomResourceDefinitionSpec() /// custom resource /// Scope indicates whether this resource is /// cluster or namespace scoped. Default is namespaced - /// Version is the version this resource belongs - /// in + /// AdditionalPrinterColumns are + /// additional columns shown e.g. in kubectl next to the name. Defaults + /// to a created-at column. /// Subresources describes the subresources - /// for CustomResources This field is alpha-level and should only be - /// sent to servers that enable subresources via the - /// CustomResourceSubresources feature gate. + /// for CustomResources /// Validation describes the validation /// methods for CustomResources - public V1beta1CustomResourceDefinitionSpec(string group, V1beta1CustomResourceDefinitionNames names, string scope, string version, V1beta1CustomResourceSubresources subresources = default(V1beta1CustomResourceSubresources), V1beta1CustomResourceValidation validation = default(V1beta1CustomResourceValidation)) + /// Version is the version this resource belongs + /// in Should be always first item in Versions field if provided. + /// Optional, but at least one of Version or Versions must be set. + /// Deprecated: Please use `Versions`. + /// Versions is the list of all supported + /// versions for this resource. If Version field is provided, this + /// field is optional. Validation: All versions must use the same + /// validation schema for now. i.e., top level Validation field is + /// applied to all of these versions. Order: The version name will be + /// used to compute the order. If the version string is "kube-like", it + /// will sort above non "kube-like" version strings, which are ordered + /// lexicographically. "Kube-like" versions start with a "v", then are + /// followed by a number (the major version), then optionally the + /// string "alpha" or "beta" and another number (the minor version). + /// These are sorted first by GA > beta > alpha (where GA is a + /// version with no suffix such as beta or alpha), and then by + /// comparing major version, then minor version. An example sorted list + /// of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, + /// v11alpha2, foo1, foo10. + public V1beta1CustomResourceDefinitionSpec(string group, V1beta1CustomResourceDefinitionNames names, string scope, IList additionalPrinterColumns = default(IList), V1beta1CustomResourceSubresources subresources = default(V1beta1CustomResourceSubresources), V1beta1CustomResourceValidation validation = default(V1beta1CustomResourceValidation), string version = default(string), IList versions = default(IList)) { + AdditionalPrinterColumns = additionalPrinterColumns; Group = group; Names = names; Scope = scope; Subresources = subresources; Validation = validation; Version = version; + Versions = versions; CustomInit(); } @@ -59,6 +81,13 @@ public V1beta1CustomResourceDefinitionSpec() /// partial void CustomInit(); + /// + /// Gets or sets additionalPrinterColumns are additional columns shown + /// e.g. in kubectl next to the name. Defaults to a created-at column. + /// + [JsonProperty(PropertyName = "additionalPrinterColumns")] + public IList AdditionalPrinterColumns { get; set; } + /// /// Gets or sets group is the group this resource belongs in /// @@ -81,9 +110,7 @@ public V1beta1CustomResourceDefinitionSpec() /// /// Gets or sets subresources describes the subresources for - /// CustomResources This field is alpha-level and should only be sent - /// to servers that enable subresources via the - /// CustomResourceSubresources feature gate. + /// CustomResources /// [JsonProperty(PropertyName = "subresources")] public V1beta1CustomResourceSubresources Subresources { get; set; } @@ -96,11 +123,34 @@ public V1beta1CustomResourceDefinitionSpec() public V1beta1CustomResourceValidation Validation { get; set; } /// - /// Gets or sets version is the version this resource belongs in + /// Gets or sets version is the version this resource belongs in Should + /// be always first item in Versions field if provided. Optional, but + /// at least one of Version or Versions must be set. Deprecated: Please + /// use `Versions`. /// [JsonProperty(PropertyName = "version")] public string Version { get; set; } + /// + /// Gets or sets versions is the list of all supported versions for + /// this resource. If Version field is provided, this field is + /// optional. Validation: All versions must use the same validation + /// schema for now. i.e., top level Validation field is applied to all + /// of these versions. Order: The version name will be used to compute + /// the order. If the version string is "kube-like", it will sort above + /// non "kube-like" version strings, which are ordered + /// lexicographically. "Kube-like" versions start with a "v", then are + /// followed by a number (the major version), then optionally the + /// string "alpha" or "beta" and another number (the minor version). + /// These are sorted first by GA &gt; beta &gt; alpha (where GA + /// is a version with no suffix such as beta or alpha), and then by + /// comparing major version, then minor version. An example sorted list + /// of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, + /// v11alpha2, foo1, foo10. + /// + [JsonProperty(PropertyName = "versions")] + public IList Versions { get; set; } + /// /// Validate the object. /// @@ -121,9 +171,15 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "Scope"); } - if (Version == null) + if (AdditionalPrinterColumns != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "Version"); + foreach (var element in AdditionalPrinterColumns) + { + if (element != null) + { + element.Validate(); + } + } } if (Names != null) { @@ -133,9 +189,15 @@ public virtual void Validate() { Subresources.Validate(); } - if (Validation != null) + if (Versions != null) { - Validation.Validate(); + foreach (var element1 in Versions) + { + if (element1 != null) + { + element1.Validate(); + } + } } } } diff --git a/src/KubernetesClient/generated/Models/V1beta1CustomResourceDefinitionStatus.cs b/src/KubernetesClient/generated/Models/V1beta1CustomResourceDefinitionStatus.cs index e10b55366..5b1b09467 100644 --- a/src/KubernetesClient/generated/Models/V1beta1CustomResourceDefinitionStatus.cs +++ b/src/KubernetesClient/generated/Models/V1beta1CustomResourceDefinitionStatus.cs @@ -36,10 +36,19 @@ public V1beta1CustomResourceDefinitionStatus() /// the names in spec. /// Conditions indicate state for particular /// aspects of a CustomResourceDefinition - public V1beta1CustomResourceDefinitionStatus(V1beta1CustomResourceDefinitionNames acceptedNames, IList conditions) + /// StoredVersions are all versions of + /// CustomResources that were ever persisted. Tracking these versions + /// allows a migration path for stored versions in etcd. The field is + /// mutable so the migration controller can first finish a migration to + /// another version (i.e. that no old objects are left in the storage), + /// and then remove the rest of the versions from this list. None of + /// the versions in this list can be removed from the spec.Versions + /// field. + public V1beta1CustomResourceDefinitionStatus(V1beta1CustomResourceDefinitionNames acceptedNames, IList conditions, IList storedVersions) { AcceptedNames = acceptedNames; Conditions = conditions; + StoredVersions = storedVersions; CustomInit(); } @@ -63,6 +72,18 @@ public V1beta1CustomResourceDefinitionStatus(V1beta1CustomResourceDefinitionName [JsonProperty(PropertyName = "conditions")] public IList Conditions { get; set; } + /// + /// Gets or sets storedVersions are all versions of CustomResources + /// that were ever persisted. Tracking these versions allows a + /// migration path for stored versions in etcd. The field is mutable so + /// the migration controller can first finish a migration to another + /// version (i.e. that no old objects are left in the storage), and + /// then remove the rest of the versions from this list. None of the + /// versions in this list can be removed from the spec.Versions field. + /// + [JsonProperty(PropertyName = "storedVersions")] + public IList StoredVersions { get; set; } + /// /// Validate the object. /// @@ -79,6 +100,10 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "Conditions"); } + if (StoredVersions == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "StoredVersions"); + } if (AcceptedNames != null) { AcceptedNames.Validate(); diff --git a/src/KubernetesClient/generated/Models/V1beta1CustomResourceDefinitionVersion.cs b/src/KubernetesClient/generated/Models/V1beta1CustomResourceDefinitionVersion.cs new file mode 100644 index 000000000..6fe21817a --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1beta1CustomResourceDefinitionVersion.cs @@ -0,0 +1,81 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + public partial class V1beta1CustomResourceDefinitionVersion + { + /// + /// Initializes a new instance of the + /// V1beta1CustomResourceDefinitionVersion class. + /// + public V1beta1CustomResourceDefinitionVersion() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// V1beta1CustomResourceDefinitionVersion class. + /// + /// Name is the version name, e.g. “v1”, “v2beta1”, + /// etc. + /// Served is a flag enabling/disabling this + /// version from being served via REST APIs + /// Storage flags the version as storage version. + /// There must be exactly one flagged as storage version. + public V1beta1CustomResourceDefinitionVersion(string name, bool served, bool storage) + { + Name = name; + Served = served; + Storage = storage; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets name is the version name, e.g. “v1”, “v2beta1”, etc. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets served is a flag enabling/disabling this version from + /// being served via REST APIs + /// + [JsonProperty(PropertyName = "served")] + public bool Served { get; set; } + + /// + /// Gets or sets storage flags the version as storage version. There + /// must be exactly one flagged as storage version. + /// + [JsonProperty(PropertyName = "storage")] + public bool Storage { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1beta1CustomResourceValidation.cs b/src/KubernetesClient/generated/Models/V1beta1CustomResourceValidation.cs index 50626e244..2f522d7ed 100644 --- a/src/KubernetesClient/generated/Models/V1beta1CustomResourceValidation.cs +++ b/src/KubernetesClient/generated/Models/V1beta1CustomResourceValidation.cs @@ -48,18 +48,5 @@ public V1beta1CustomResourceValidation() [JsonProperty(PropertyName = "openAPIV3Schema")] public V1beta1JSONSchemaProps OpenAPIV3Schema { get; set; } - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (OpenAPIV3Schema != null) - { - OpenAPIV3Schema.Validate(); - } - } } } diff --git a/src/KubernetesClient/generated/Models/V1beta1JSONSchemaProps.cs b/src/KubernetesClient/generated/Models/V1beta1JSONSchemaProps.cs index 8e8c55e47..dd97db3e1 100644 --- a/src/KubernetesClient/generated/Models/V1beta1JSONSchemaProps.cs +++ b/src/KubernetesClient/generated/Models/V1beta1JSONSchemaProps.cs @@ -28,7 +28,22 @@ public V1beta1JSONSchemaProps() /// /// Initializes a new instance of the V1beta1JSONSchemaProps class. /// - public V1beta1JSONSchemaProps(string refProperty = default(string), string schema = default(string), V1beta1JSONSchemaPropsOrBool additionalItems = default(V1beta1JSONSchemaPropsOrBool), V1beta1JSONSchemaPropsOrBool additionalProperties = default(V1beta1JSONSchemaPropsOrBool), IList allOf = default(IList), IList anyOf = default(IList), V1beta1JSON defaultProperty = default(V1beta1JSON), IDictionary definitions = default(IDictionary), IDictionary dependencies = default(IDictionary), string description = default(string), IList enumProperty = default(IList), V1beta1JSON example = default(V1beta1JSON), bool? exclusiveMaximum = default(bool?), bool? exclusiveMinimum = default(bool?), V1beta1ExternalDocumentation externalDocs = default(V1beta1ExternalDocumentation), string format = default(string), string id = default(string), V1beta1JSONSchemaPropsOrArray items = default(V1beta1JSONSchemaPropsOrArray), long? maxItems = default(long?), long? maxLength = default(long?), long? maxProperties = default(long?), double? maximum = default(double?), long? minItems = default(long?), long? minLength = default(long?), long? minProperties = default(long?), double? minimum = default(double?), double? multipleOf = default(double?), V1beta1JSONSchemaProps not = default(V1beta1JSONSchemaProps), IList oneOf = default(IList), string pattern = default(string), IDictionary patternProperties = default(IDictionary), IDictionary properties = default(IDictionary), IList required = default(IList), string title = default(string), string type = default(string), bool? uniqueItems = default(bool?)) + /// JSONSchemaPropsOrBool represents + /// JSONSchemaProps or a boolean value. Defaults to true for the + /// boolean property. + /// JSONSchemaPropsOrBool represents + /// JSONSchemaProps or a boolean value. Defaults to true for the + /// boolean property. + /// JSON represents any valid JSON value. + /// These types are supported: bool, int64, float64, string, + /// []interface{}, map[string]interface{} and nil. + /// JSON represents any valid JSON value. These + /// types are supported: bool, int64, float64, string, []interface{}, + /// map[string]interface{} and nil. + /// JSONSchemaPropsOrArray represents a value that + /// can either be a JSONSchemaProps or an array of JSONSchemaProps. + /// Mainly here for serialization purposes. + public V1beta1JSONSchemaProps(string refProperty = default(string), string schema = default(string), object additionalItems = default(object), object additionalProperties = default(object), IList allOf = default(IList), IList anyOf = default(IList), object defaultProperty = default(object), IDictionary definitions = default(IDictionary), IDictionary dependencies = default(IDictionary), string description = default(string), IList enumProperty = default(IList), object example = default(object), bool? exclusiveMaximum = default(bool?), bool? exclusiveMinimum = default(bool?), V1beta1ExternalDocumentation externalDocs = default(V1beta1ExternalDocumentation), string format = default(string), string id = default(string), object items = default(object), long? maxItems = default(long?), long? maxLength = default(long?), long? maxProperties = default(long?), double? maximum = default(double?), long? minItems = default(long?), long? minLength = default(long?), long? minProperties = default(long?), double? minimum = default(double?), double? multipleOf = default(double?), V1beta1JSONSchemaProps not = default(V1beta1JSONSchemaProps), IList oneOf = default(IList), string pattern = default(string), IDictionary patternProperties = default(IDictionary), IDictionary properties = default(IDictionary), IList required = default(IList), string title = default(string), string type = default(string), bool? uniqueItems = default(bool?)) { RefProperty = refProperty; Schema = schema; @@ -85,14 +100,18 @@ public V1beta1JSONSchemaProps() public string Schema { get; set; } /// + /// Gets or sets jSONSchemaPropsOrBool represents JSONSchemaProps or a + /// boolean value. Defaults to true for the boolean property. /// [JsonProperty(PropertyName = "additionalItems")] - public V1beta1JSONSchemaPropsOrBool AdditionalItems { get; set; } + public object AdditionalItems { get; set; } /// + /// Gets or sets jSONSchemaPropsOrBool represents JSONSchemaProps or a + /// boolean value. Defaults to true for the boolean property. /// [JsonProperty(PropertyName = "additionalProperties")] - public V1beta1JSONSchemaPropsOrBool AdditionalProperties { get; set; } + public object AdditionalProperties { get; set; } /// /// @@ -105,9 +124,12 @@ public V1beta1JSONSchemaProps() public IList AnyOf { get; set; } /// + /// Gets or sets JSON represents any valid JSON value. These types are + /// supported: bool, int64, float64, string, []interface{}, + /// map[string]interface{} and nil. /// [JsonProperty(PropertyName = "default")] - public V1beta1JSON DefaultProperty { get; set; } + public object DefaultProperty { get; set; } /// /// @@ -117,7 +139,7 @@ public V1beta1JSONSchemaProps() /// /// [JsonProperty(PropertyName = "dependencies")] - public IDictionary Dependencies { get; set; } + public IDictionary Dependencies { get; set; } /// /// @@ -127,12 +149,15 @@ public V1beta1JSONSchemaProps() /// /// [JsonProperty(PropertyName = "enum")] - public IList EnumProperty { get; set; } + public IList EnumProperty { get; set; } /// + /// Gets or sets JSON represents any valid JSON value. These types are + /// supported: bool, int64, float64, string, []interface{}, + /// map[string]interface{} and nil. /// [JsonProperty(PropertyName = "example")] - public V1beta1JSON Example { get; set; } + public object Example { get; set; } /// /// @@ -160,9 +185,12 @@ public V1beta1JSONSchemaProps() public string Id { get; set; } /// + /// Gets or sets jSONSchemaPropsOrArray represents a value that can + /// either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly + /// here for serialization purposes. /// [JsonProperty(PropertyName = "items")] - public V1beta1JSONSchemaPropsOrArray Items { get; set; } + public object Items { get; set; } /// /// @@ -254,118 +282,5 @@ public V1beta1JSONSchemaProps() [JsonProperty(PropertyName = "uniqueItems")] public bool? UniqueItems { get; set; } - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (AdditionalItems != null) - { - AdditionalItems.Validate(); - } - if (AdditionalProperties != null) - { - AdditionalProperties.Validate(); - } - if (AllOf != null) - { - foreach (var element in AllOf) - { - if (element != null) - { - element.Validate(); - } - } - } - if (AnyOf != null) - { - foreach (var element1 in AnyOf) - { - if (element1 != null) - { - element1.Validate(); - } - } - } - if (DefaultProperty != null) - { - DefaultProperty.Validate(); - } - if (Definitions != null) - { - foreach (var valueElement in Definitions.Values) - { - if (valueElement != null) - { - valueElement.Validate(); - } - } - } - if (Dependencies != null) - { - foreach (var valueElement1 in Dependencies.Values) - { - if (valueElement1 != null) - { - valueElement1.Validate(); - } - } - } - if (EnumProperty != null) - { - foreach (var element2 in EnumProperty) - { - if (element2 != null) - { - element2.Validate(); - } - } - } - if (Example != null) - { - Example.Validate(); - } - if (Items != null) - { - Items.Validate(); - } - if (Not != null) - { - Not.Validate(); - } - if (OneOf != null) - { - foreach (var element3 in OneOf) - { - if (element3 != null) - { - element3.Validate(); - } - } - } - if (PatternProperties != null) - { - foreach (var valueElement2 in PatternProperties.Values) - { - if (valueElement2 != null) - { - valueElement2.Validate(); - } - } - } - if (Properties != null) - { - foreach (var valueElement3 in Properties.Values) - { - if (valueElement3 != null) - { - valueElement3.Validate(); - } - } - } - } } } diff --git a/src/KubernetesClient/generated/Models/V1beta1JSONSchemaPropsOrArray.cs b/src/KubernetesClient/generated/Models/V1beta1JSONSchemaPropsOrArray.cs deleted file mode 100644 index c3551411b..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1JSONSchemaPropsOrArray.cs +++ /dev/null @@ -1,89 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// JSONSchemaPropsOrArray represents a value that can either be a - /// JSONSchemaProps or an array of JSONSchemaProps. Mainly here for - /// serialization purposes. - /// - public partial class V1beta1JSONSchemaPropsOrArray - { - /// - /// Initializes a new instance of the V1beta1JSONSchemaPropsOrArray - /// class. - /// - public V1beta1JSONSchemaPropsOrArray() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1JSONSchemaPropsOrArray - /// class. - /// - public V1beta1JSONSchemaPropsOrArray(IList jSONSchemas, V1beta1JSONSchemaProps schema) - { - JSONSchemas = jSONSchemas; - Schema = schema; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// - [JsonProperty(PropertyName = "JSONSchemas")] - public IList JSONSchemas { get; set; } - - /// - /// - [JsonProperty(PropertyName = "Schema")] - public V1beta1JSONSchemaProps Schema { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (JSONSchemas == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "JSONSchemas"); - } - if (Schema == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Schema"); - } - if (JSONSchemas != null) - { - foreach (var element in JSONSchemas) - { - if (element != null) - { - element.Validate(); - } - } - } - if (Schema != null) - { - Schema.Validate(); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1Lease.cs b/src/KubernetesClient/generated/Models/V1beta1Lease.cs new file mode 100644 index 000000000..e4589ad3e --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1beta1Lease.cs @@ -0,0 +1,104 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Lease defines a lease concept. + /// + public partial class V1beta1Lease + { + /// + /// Initializes a new instance of the V1beta1Lease class. + /// + public V1beta1Lease() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1beta1Lease class. + /// + /// APIVersion defines the versioned schema of + /// this representation of an object. Servers should convert recognized + /// schemas to the latest internal value, and may reject unrecognized + /// values. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + /// Kind is a string value representing the REST + /// resource this object represents. Servers may infer this from the + /// endpoint the client submits requests to. Cannot be updated. In + /// CamelCase. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + /// More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + /// Specification of the Lease. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status + public V1beta1Lease(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1beta1LeaseSpec spec = default(V1beta1LeaseSpec)) + { + ApiVersion = apiVersion; + Kind = kind; + Metadata = metadata; + Spec = spec; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets aPIVersion defines the versioned schema of this + /// representation of an object. Servers should convert recognized + /// schemas to the latest internal value, and may reject unrecognized + /// values. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + /// + [JsonProperty(PropertyName = "apiVersion")] + public string ApiVersion { get; set; } + + /// + /// Gets or sets kind is a string value representing the REST resource + /// this object represents. Servers may infer this from the endpoint + /// the client submits requests to. Cannot be updated. In CamelCase. + /// More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + /// + [JsonProperty(PropertyName = "kind")] + public string Kind { get; set; } + + /// + /// Gets or sets more info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + /// + [JsonProperty(PropertyName = "metadata")] + public V1ObjectMeta Metadata { get; set; } + + /// + /// Gets or sets specification of the Lease. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status + /// + [JsonProperty(PropertyName = "spec")] + public V1beta1LeaseSpec Spec { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Metadata != null) + { + Metadata.Validate(); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1beta1LeaseList.cs b/src/KubernetesClient/generated/Models/V1beta1LeaseList.cs new file mode 100644 index 000000000..b774f84cd --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1beta1LeaseList.cs @@ -0,0 +1,115 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// LeaseList is a list of Lease objects. + /// + public partial class V1beta1LeaseList + { + /// + /// Initializes a new instance of the V1beta1LeaseList class. + /// + public V1beta1LeaseList() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1beta1LeaseList class. + /// + /// Items is a list of schema objects. + /// APIVersion defines the versioned schema of + /// this representation of an object. Servers should convert recognized + /// schemas to the latest internal value, and may reject unrecognized + /// values. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + /// Kind is a string value representing the REST + /// resource this object represents. Servers may infer this from the + /// endpoint the client submits requests to. Cannot be updated. In + /// CamelCase. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + /// Standard list metadata. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + public V1beta1LeaseList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) + { + ApiVersion = apiVersion; + Items = items; + Kind = kind; + Metadata = metadata; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets aPIVersion defines the versioned schema of this + /// representation of an object. Servers should convert recognized + /// schemas to the latest internal value, and may reject unrecognized + /// values. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + /// + [JsonProperty(PropertyName = "apiVersion")] + public string ApiVersion { get; set; } + + /// + /// Gets or sets items is a list of schema objects. + /// + [JsonProperty(PropertyName = "items")] + public IList Items { get; set; } + + /// + /// Gets or sets kind is a string value representing the REST resource + /// this object represents. Servers may infer this from the endpoint + /// the client submits requests to. Cannot be updated. In CamelCase. + /// More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + /// + [JsonProperty(PropertyName = "kind")] + public string Kind { get; set; } + + /// + /// Gets or sets standard list metadata. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + /// + [JsonProperty(PropertyName = "metadata")] + public V1ListMeta Metadata { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Items == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Items"); + } + if (Items != null) + { + foreach (var element in Items) + { + if (element != null) + { + element.Validate(); + } + } + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1beta1LeaseSpec.cs b/src/KubernetesClient/generated/Models/V1beta1LeaseSpec.cs new file mode 100644 index 000000000..777142ab3 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1beta1LeaseSpec.cs @@ -0,0 +1,92 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// LeaseSpec is a specification of a Lease. + /// + public partial class V1beta1LeaseSpec + { + /// + /// Initializes a new instance of the V1beta1LeaseSpec class. + /// + public V1beta1LeaseSpec() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1beta1LeaseSpec class. + /// + /// acquireTime is a time when the current + /// lease was acquired. + /// holderIdentity contains the identity + /// of the holder of a current lease. + /// leaseDurationSeconds is a + /// duration that candidates for a lease need to wait to force acquire + /// it. This is measure against time of last observed + /// RenewTime. + /// leaseTransitions is the number of + /// transitions of a lease between holders. + /// renewTime is a time when the current holder + /// of a lease has last updated the lease. + public V1beta1LeaseSpec(System.DateTime? acquireTime = default(System.DateTime?), string holderIdentity = default(string), int? leaseDurationSeconds = default(int?), int? leaseTransitions = default(int?), System.DateTime? renewTime = default(System.DateTime?)) + { + AcquireTime = acquireTime; + HolderIdentity = holderIdentity; + LeaseDurationSeconds = leaseDurationSeconds; + LeaseTransitions = leaseTransitions; + RenewTime = renewTime; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets acquireTime is a time when the current lease was + /// acquired. + /// + [JsonProperty(PropertyName = "acquireTime")] + public System.DateTime? AcquireTime { get; set; } + + /// + /// Gets or sets holderIdentity contains the identity of the holder of + /// a current lease. + /// + [JsonProperty(PropertyName = "holderIdentity")] + public string HolderIdentity { get; set; } + + /// + /// Gets or sets leaseDurationSeconds is a duration that candidates for + /// a lease need to wait to force acquire it. This is measure against + /// time of last observed RenewTime. + /// + [JsonProperty(PropertyName = "leaseDurationSeconds")] + public int? LeaseDurationSeconds { get; set; } + + /// + /// Gets or sets leaseTransitions is the number of transitions of a + /// lease between holders. + /// + [JsonProperty(PropertyName = "leaseTransitions")] + public int? LeaseTransitions { get; set; } + + /// + /// Gets or sets renewTime is a time when the current holder of a lease + /// has last updated the lease. + /// + [JsonProperty(PropertyName = "renewTime")] + public System.DateTime? RenewTime { get; set; } + + } +} diff --git a/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyPeer.cs b/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyPeer.cs index 58a4ba611..6e94d4ec3 100644 --- a/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyPeer.cs +++ b/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyPeer.cs @@ -27,16 +27,24 @@ public V1beta1NetworkPolicyPeer() /// Initializes a new instance of the V1beta1NetworkPolicyPeer class. /// /// IPBlock defines policy on a particular - /// IPBlock - /// Selects Namespaces using cluster - /// scoped-labels. This matches all pods in all namespaces selected by - /// this label selector. This field follows standard label selector - /// semantics. If present but empty, this selector selects all - /// namespaces. + /// IPBlock. If this field is set then neither of the other fields can + /// be. + /// Selects Namespaces using + /// cluster-scoped labels. This field follows standard label selector + /// semantics; if present but empty, it selects all namespaces. + /// + /// If PodSelector is also set, then the NetworkPolicyPeer as a whole + /// selects the Pods matching PodSelector in the Namespaces selected by + /// NamespaceSelector. Otherwise it selects all Pods in the Namespaces + /// selected by NamespaceSelector. /// This is a label selector which selects - /// Pods in this namespace. This field follows standard label selector - /// semantics. If present but empty, this selector selects all pods in - /// this namespace. + /// Pods. This field follows standard label selector semantics; if + /// present but empty, it selects all pods. + /// + /// If NamespaceSelector is also set, then the NetworkPolicyPeer as a + /// whole selects the Pods matching PodSelector in the Namespaces + /// selected by NamespaceSelector. Otherwise it selects the Pods + /// matching PodSelector in the policy's own Namespace. public V1beta1NetworkPolicyPeer(V1beta1IPBlock ipBlock = default(V1beta1IPBlock), V1LabelSelector namespaceSelector = default(V1LabelSelector), V1LabelSelector podSelector = default(V1LabelSelector)) { IpBlock = ipBlock; @@ -51,25 +59,34 @@ public V1beta1NetworkPolicyPeer() partial void CustomInit(); /// - /// Gets or sets iPBlock defines policy on a particular IPBlock + /// Gets or sets iPBlock defines policy on a particular IPBlock. If + /// this field is set then neither of the other fields can be. /// [JsonProperty(PropertyName = "ipBlock")] public V1beta1IPBlock IpBlock { get; set; } /// - /// Gets or sets selects Namespaces using cluster scoped-labels. This - /// matches all pods in all namespaces selected by this label selector. - /// This field follows standard label selector semantics. If present - /// but empty, this selector selects all namespaces. + /// Gets or sets selects Namespaces using cluster-scoped labels. This + /// field follows standard label selector semantics; if present but + /// empty, it selects all namespaces. + /// + /// If PodSelector is also set, then the NetworkPolicyPeer as a whole + /// selects the Pods matching PodSelector in the Namespaces selected by + /// NamespaceSelector. Otherwise it selects all Pods in the Namespaces + /// selected by NamespaceSelector. /// [JsonProperty(PropertyName = "namespaceSelector")] public V1LabelSelector NamespaceSelector { get; set; } /// - /// Gets or sets this is a label selector which selects Pods in this - /// namespace. This field follows standard label selector semantics. If - /// present but empty, this selector selects all pods in this - /// namespace. + /// Gets or sets this is a label selector which selects Pods. This + /// field follows standard label selector semantics; if present but + /// empty, it selects all pods. + /// + /// If NamespaceSelector is also set, then the NetworkPolicyPeer as a + /// whole selects the Pods matching PodSelector in the Namespaces + /// selected by NamespaceSelector. Otherwise it selects the Pods + /// matching PodSelector in the policy's own Namespace. /// [JsonProperty(PropertyName = "podSelector")] public V1LabelSelector PodSelector { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyPort.cs b/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyPort.cs index fdf69839e..7108db16c 100644 --- a/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyPort.cs +++ b/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyPort.cs @@ -31,8 +31,8 @@ public V1beta1NetworkPolicyPort() /// field is not provided, this matches all port names and numbers. If /// present, only traffic on the specified protocol AND port will be /// matched. - /// Optional. The protocol (TCP or UDP) which - /// traffic must match. If not specified, this field defaults to + /// Optional. The protocol (TCP, UDP, or SCTP) + /// which traffic must match. If not specified, this field defaults to /// TCP. public V1beta1NetworkPolicyPort(IntstrIntOrString port = default(IntstrIntOrString), string protocol = default(string)) { @@ -56,8 +56,8 @@ public V1beta1NetworkPolicyPort() public IntstrIntOrString Port { get; set; } /// - /// Gets or sets optional. The protocol (TCP or UDP) which traffic - /// must match. If not specified, this field defaults to TCP. + /// Gets or sets optional. The protocol (TCP, UDP, or SCTP) which + /// traffic must match. If not specified, this field defaults to TCP. /// [JsonProperty(PropertyName = "protocol")] public string Protocol { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1beta1PodDisruptionBudgetStatus.cs b/src/KubernetesClient/generated/Models/V1beta1PodDisruptionBudgetStatus.cs index 6afaba6d2..20e7ea3f0 100644 --- a/src/KubernetesClient/generated/Models/V1beta1PodDisruptionBudgetStatus.cs +++ b/src/KubernetesClient/generated/Models/V1beta1PodDisruptionBudgetStatus.cs @@ -6,7 +6,6 @@ namespace k8s.Models { - using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -34,6 +33,10 @@ public V1beta1PodDisruptionBudgetStatus() /// current number of healthy pods /// minimum desired number of healthy /// pods + /// Number of pod disruptions that are + /// currently allowed. + /// total number of pods counted by this + /// disruption budget /// DisruptedPods contains information /// about pods whose eviction was processed by the API server eviction /// subresource handler but has not yet been observed by the @@ -48,15 +51,11 @@ public V1beta1PodDisruptionBudgetStatus() /// smooth this map should be empty for the most of the time. Large /// number of entries in the map may indicate problems with pod /// deletions. - /// Number of pod disruptions that are - /// currently allowed. - /// total number of pods counted by this - /// disruption budget /// Most recent generation observed /// when updating this PDB status. PodDisruptionsAllowed and other /// status informatio is valid only if observedGeneration equals to /// PDB's object generation. - public V1beta1PodDisruptionBudgetStatus(int currentHealthy, int desiredHealthy, IDictionary disruptedPods, int disruptionsAllowed, int expectedPods, long? observedGeneration = default(long?)) + public V1beta1PodDisruptionBudgetStatus(int currentHealthy, int desiredHealthy, int disruptionsAllowed, int expectedPods, IDictionary disruptedPods = default(IDictionary), long? observedGeneration = default(long?)) { CurrentHealthy = currentHealthy; DesiredHealthy = desiredHealthy; @@ -125,15 +124,11 @@ public V1beta1PodDisruptionBudgetStatus() /// /// Validate the object. /// - /// + /// /// Thrown if validation fails /// public virtual void Validate() { - if (DisruptedPods == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "DisruptedPods"); - } } } } diff --git a/src/KubernetesClient/generated/Models/V1beta1PriorityClass.cs b/src/KubernetesClient/generated/Models/V1beta1PriorityClass.cs new file mode 100644 index 000000000..084d43aab --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1beta1PriorityClass.cs @@ -0,0 +1,138 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// PriorityClass defines mapping from a priority class name to the + /// priority integer value. The value can be any valid integer. + /// + public partial class V1beta1PriorityClass + { + /// + /// Initializes a new instance of the V1beta1PriorityClass class. + /// + public V1beta1PriorityClass() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1beta1PriorityClass class. + /// + /// The value of this priority class. This is the + /// actual priority that pods receive when they have the name of this + /// class in their pod spec. + /// APIVersion defines the versioned schema of + /// this representation of an object. Servers should convert recognized + /// schemas to the latest internal value, and may reject unrecognized + /// values. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + /// description is an arbitrary string that + /// usually provides guidelines on when this priority class should be + /// used. + /// globalDefault specifies whether this + /// PriorityClass should be considered as the default priority for pods + /// that do not have any priority class. Only one PriorityClass can be + /// marked as `globalDefault`. However, if more than one + /// PriorityClasses exists with their `globalDefault` field set to + /// true, the smallest value of such global default PriorityClasses + /// will be used as the default priority. + /// Kind is a string value representing the REST + /// resource this object represents. Servers may infer this from the + /// endpoint the client submits requests to. Cannot be updated. In + /// CamelCase. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + /// Standard object's metadata. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + public V1beta1PriorityClass(int value, string apiVersion = default(string), string description = default(string), bool? globalDefault = default(bool?), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) + { + ApiVersion = apiVersion; + Description = description; + GlobalDefault = globalDefault; + Kind = kind; + Metadata = metadata; + Value = value; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets aPIVersion defines the versioned schema of this + /// representation of an object. Servers should convert recognized + /// schemas to the latest internal value, and may reject unrecognized + /// values. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + /// + [JsonProperty(PropertyName = "apiVersion")] + public string ApiVersion { get; set; } + + /// + /// Gets or sets description is an arbitrary string that usually + /// provides guidelines on when this priority class should be used. + /// + [JsonProperty(PropertyName = "description")] + public string Description { get; set; } + + /// + /// Gets or sets globalDefault specifies whether this PriorityClass + /// should be considered as the default priority for pods that do not + /// have any priority class. Only one PriorityClass can be marked as + /// `globalDefault`. However, if more than one PriorityClasses exists + /// with their `globalDefault` field set to true, the smallest value of + /// such global default PriorityClasses will be used as the default + /// priority. + /// + [JsonProperty(PropertyName = "globalDefault")] + public bool? GlobalDefault { get; set; } + + /// + /// Gets or sets kind is a string value representing the REST resource + /// this object represents. Servers may infer this from the endpoint + /// the client submits requests to. Cannot be updated. In CamelCase. + /// More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + /// + [JsonProperty(PropertyName = "kind")] + public string Kind { get; set; } + + /// + /// Gets or sets standard object's metadata. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + /// + [JsonProperty(PropertyName = "metadata")] + public V1ObjectMeta Metadata { get; set; } + + /// + /// Gets or sets the value of this priority class. This is the actual + /// priority that pods receive when they have the name of this class in + /// their pod spec. + /// + [JsonProperty(PropertyName = "value")] + public int Value { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Metadata != null) + { + Metadata.Validate(); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1beta1PriorityClassList.cs b/src/KubernetesClient/generated/Models/V1beta1PriorityClassList.cs new file mode 100644 index 000000000..5c4b7c338 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1beta1PriorityClassList.cs @@ -0,0 +1,115 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// PriorityClassList is a collection of priority classes. + /// + public partial class V1beta1PriorityClassList + { + /// + /// Initializes a new instance of the V1beta1PriorityClassList class. + /// + public V1beta1PriorityClassList() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1beta1PriorityClassList class. + /// + /// items is the list of PriorityClasses + /// APIVersion defines the versioned schema of + /// this representation of an object. Servers should convert recognized + /// schemas to the latest internal value, and may reject unrecognized + /// values. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + /// Kind is a string value representing the REST + /// resource this object represents. Servers may infer this from the + /// endpoint the client submits requests to. Cannot be updated. In + /// CamelCase. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + /// Standard list metadata More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + public V1beta1PriorityClassList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) + { + ApiVersion = apiVersion; + Items = items; + Kind = kind; + Metadata = metadata; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets aPIVersion defines the versioned schema of this + /// representation of an object. Servers should convert recognized + /// schemas to the latest internal value, and may reject unrecognized + /// values. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + /// + [JsonProperty(PropertyName = "apiVersion")] + public string ApiVersion { get; set; } + + /// + /// Gets or sets items is the list of PriorityClasses + /// + [JsonProperty(PropertyName = "items")] + public IList Items { get; set; } + + /// + /// Gets or sets kind is a string value representing the REST resource + /// this object represents. Servers may infer this from the endpoint + /// the client submits requests to. Cannot be updated. In CamelCase. + /// More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + /// + [JsonProperty(PropertyName = "kind")] + public string Kind { get; set; } + + /// + /// Gets or sets standard list metadata More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + /// + [JsonProperty(PropertyName = "metadata")] + public V1ListMeta Metadata { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Items == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Items"); + } + if (Items != null) + { + foreach (var element in Items) + { + if (element != null) + { + element.Validate(); + } + } + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1beta1RoleBinding.cs b/src/KubernetesClient/generated/Models/V1beta1RoleBinding.cs index 0966f764f..11799dc1f 100644 --- a/src/KubernetesClient/generated/Models/V1beta1RoleBinding.cs +++ b/src/KubernetesClient/generated/Models/V1beta1RoleBinding.cs @@ -35,8 +35,6 @@ public V1beta1RoleBinding() /// RoleRef can reference a Role in the current /// namespace or a ClusterRole in the global namespace. If the RoleRef /// cannot be resolved, the Authorizer must return an error. - /// Subjects holds references to the objects the - /// role applies to. /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized /// schemas to the latest internal value, and may reject unrecognized @@ -48,7 +46,9 @@ public V1beta1RoleBinding() /// CamelCase. More info: /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds /// Standard object's metadata. - public V1beta1RoleBinding(V1beta1RoleRef roleRef, IList subjects, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) + /// Subjects holds references to the objects the + /// role applies to. + public V1beta1RoleBinding(V1beta1RoleRef roleRef, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList subjects = default(IList)) { ApiVersion = apiVersion; Kind = kind; @@ -116,10 +116,6 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "RoleRef"); } - if (Subjects == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Subjects"); - } if (Metadata != null) { Metadata.Validate(); diff --git a/src/KubernetesClient/generated/Models/V1beta1StorageClass.cs b/src/KubernetesClient/generated/Models/V1beta1StorageClass.cs index 8b0774161..bc9882bd4 100644 --- a/src/KubernetesClient/generated/Models/V1beta1StorageClass.cs +++ b/src/KubernetesClient/generated/Models/V1beta1StorageClass.cs @@ -36,6 +36,12 @@ public V1beta1StorageClass() /// provisioner. /// AllowVolumeExpansion shows /// whether the storage class allow volume expand + /// Restrict the node topologies where + /// volumes can be dynamically provisioned. Each volume plugin defines + /// its own supported topology specifications. An empty + /// TopologySelectorTerm list means there is no topology restriction. + /// This field is only honored by servers that enable the + /// VolumeScheduling feature. /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized /// schemas to the latest internal value, and may reject unrecognized @@ -60,12 +66,12 @@ public V1beta1StorageClass() /// reclaimPolicy. Defaults to Delete. /// VolumeBindingMode indicates how /// PersistentVolumeClaims should be provisioned and bound. When - /// unset, VolumeBindingImmediate is used. This field is alpha-level - /// and is only honored by servers that enable the VolumeScheduling - /// feature. - public V1beta1StorageClass(string provisioner, bool? allowVolumeExpansion = default(bool?), string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList mountOptions = default(IList), IDictionary parameters = default(IDictionary), string reclaimPolicy = default(string), string volumeBindingMode = default(string)) + /// unset, VolumeBindingImmediate is used. This field is only honored + /// by servers that enable the VolumeScheduling feature. + public V1beta1StorageClass(string provisioner, bool? allowVolumeExpansion = default(bool?), IList allowedTopologies = default(IList), string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList mountOptions = default(IList), IDictionary parameters = default(IDictionary), string reclaimPolicy = default(string), string volumeBindingMode = default(string)) { AllowVolumeExpansion = allowVolumeExpansion; + AllowedTopologies = allowedTopologies; ApiVersion = apiVersion; Kind = kind; Metadata = metadata; @@ -89,6 +95,16 @@ public V1beta1StorageClass() [JsonProperty(PropertyName = "allowVolumeExpansion")] public bool? AllowVolumeExpansion { get; set; } + /// + /// Gets or sets restrict the node topologies where volumes can be + /// dynamically provisioned. Each volume plugin defines its own + /// supported topology specifications. An empty TopologySelectorTerm + /// list means there is no topology restriction. This field is only + /// honored by servers that enable the VolumeScheduling feature. + /// + [JsonProperty(PropertyName = "allowedTopologies")] + public IList AllowedTopologies { get; set; } + /// /// Gets or sets aPIVersion defines the versioned schema of this /// representation of an object. Servers should convert recognized @@ -149,8 +165,8 @@ public V1beta1StorageClass() /// /// Gets or sets volumeBindingMode indicates how PersistentVolumeClaims /// should be provisioned and bound. When unset, - /// VolumeBindingImmediate is used. This field is alpha-level and is - /// only honored by servers that enable the VolumeScheduling feature. + /// VolumeBindingImmediate is used. This field is only honored by + /// servers that enable the VolumeScheduling feature. /// [JsonProperty(PropertyName = "volumeBindingMode")] public string VolumeBindingMode { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1beta1Webhook.cs b/src/KubernetesClient/generated/Models/V1beta1Webhook.cs index 83dabe02d..eaaff8c45 100644 --- a/src/KubernetesClient/generated/Models/V1beta1Webhook.cs +++ b/src/KubernetesClient/generated/Models/V1beta1Webhook.cs @@ -91,13 +91,22 @@ public V1beta1Webhook() /// ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never /// called on admission requests for ValidatingWebhookConfiguration and /// MutatingWebhookConfiguration objects. - public V1beta1Webhook(V1beta1WebhookClientConfig clientConfig, string name, string failurePolicy = default(string), V1LabelSelector namespaceSelector = default(V1LabelSelector), IList rules = default(IList)) + /// SideEffects states whether this webhookk + /// has side effects. Acceptable values are: Unknown, None, Some, + /// NoneOnDryRun Webhooks with side effects MUST implement a + /// reconciliation system, since a request may be rejected by a future + /// step in the admission change and the side effects therefore need to + /// be undone. Requests with the dryRun attribute will be auto-rejected + /// if they match a webhook with sideEffects == Unknown or Some. + /// Defaults to Unknown. + public V1beta1Webhook(V1beta1WebhookClientConfig clientConfig, string name, string failurePolicy = default(string), V1LabelSelector namespaceSelector = default(V1LabelSelector), IList rules = default(IList), string sideEffects = default(string)) { ClientConfig = clientConfig; FailurePolicy = failurePolicy; Name = name; NamespaceSelector = namespaceSelector; Rules = rules; + SideEffects = sideEffects; CustomInit(); } @@ -191,6 +200,18 @@ public V1beta1Webhook() [JsonProperty(PropertyName = "rules")] public IList Rules { get; set; } + /// + /// Gets or sets sideEffects states whether this webhookk has side + /// effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun + /// Webhooks with side effects MUST implement a reconciliation system, + /// since a request may be rejected by a future step in the admission + /// change and the side effects therefore need to be undone. Requests + /// with the dryRun attribute will be auto-rejected if they match a + /// webhook with sideEffects == Unknown or Some. Defaults to Unknown. + /// + [JsonProperty(PropertyName = "sideEffects")] + public string SideEffects { get; set; } + /// /// Validate the object. /// diff --git a/src/KubernetesClient/generated/Models/V1beta1WebhookClientConfig.cs b/src/KubernetesClient/generated/Models/V1beta1WebhookClientConfig.cs index ffe0e0d26..0ea8b9884 100644 --- a/src/KubernetesClient/generated/Models/V1beta1WebhookClientConfig.cs +++ b/src/KubernetesClient/generated/Models/V1beta1WebhookClientConfig.cs @@ -36,9 +36,8 @@ public V1beta1WebhookClientConfig() /// If the webhook is running within the cluster, then you should use /// `service`. /// - /// If there is only one port open for the service, that port will be - /// used. If there are multiple ports open, port 443 will be used if it - /// is open, otherwise it is an error. + /// Port 443 will be used if it is open, otherwise it is an + /// error. /// `url` gives the location of the webhook, in /// standard URL form (`[scheme://]host:port/path`). Exactly one of /// `url` or `service` must be specified. @@ -91,9 +90,7 @@ public V1beta1WebhookClientConfig() /// If the webhook is running within the cluster, then you should use /// `service`. /// - /// If there is only one port open for the service, that port will be - /// used. If there are multiple ports open, port 443 will be used if it - /// is open, otherwise it is an error. + /// Port 443 will be used if it is open, otherwise it is an error. /// [JsonProperty(PropertyName = "service")] public Admissionregistrationv1beta1ServiceReference Service { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1beta2RollingUpdateDeployment.cs b/src/KubernetesClient/generated/Models/V1beta2RollingUpdateDeployment.cs index ebc844aa4..fd778ecd1 100644 --- a/src/KubernetesClient/generated/Models/V1beta2RollingUpdateDeployment.cs +++ b/src/KubernetesClient/generated/Models/V1beta2RollingUpdateDeployment.cs @@ -32,10 +32,10 @@ public V1beta2RollingUpdateDeployment() /// absolute number (ex: 5) or a percentage of desired pods (ex: 10%). /// This can not be 0 if MaxUnavailable is 0. Absolute number is /// calculated from percentage by rounding up. Defaults to 25%. - /// Example: when this is set to 30%, the new RC can be scaled up - /// immediately when the rolling update starts, such that the total + /// Example: when this is set to 30%, the new ReplicaSet can be scaled + /// up immediately when the rolling update starts, such that the total /// number of old and new pods do not exceed 130% of desired pods. Once - /// old pods have been killed, new RC can be scaled up further, + /// old pods have been killed, new ReplicaSet can be scaled up further, /// ensuring that total number of pods running at any time during the /// update is atmost 130% of desired pods. /// The maximum number of pods that can be @@ -43,11 +43,12 @@ public V1beta2RollingUpdateDeployment() /// 5) or a percentage of desired pods (ex: 10%). Absolute number is /// calculated from percentage by rounding down. This can not be 0 if /// MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, - /// the old RC can be scaled down to 70% of desired pods immediately - /// when the rolling update starts. Once new pods are ready, old RC can - /// be scaled down further, followed by scaling up the new RC, ensuring - /// that the total number of pods available at all times during the - /// update is at least 70% of desired pods. + /// the old ReplicaSet can be scaled down to 70% of desired pods + /// immediately when the rolling update starts. Once new pods are + /// ready, old ReplicaSet can be scaled down further, followed by + /// scaling up the new ReplicaSet, ensuring that the total number of + /// pods available at all times during the update is at least 70% of + /// desired pods. public V1beta2RollingUpdateDeployment(IntstrIntOrString maxSurge = default(IntstrIntOrString), IntstrIntOrString maxUnavailable = default(IntstrIntOrString)) { MaxSurge = maxSurge; @@ -66,12 +67,12 @@ public V1beta2RollingUpdateDeployment() /// or a percentage of desired pods (ex: 10%). This can not be 0 if /// MaxUnavailable is 0. Absolute number is calculated from percentage /// by rounding up. Defaults to 25%. Example: when this is set to 30%, - /// the new RC can be scaled up immediately when the rolling update - /// starts, such that the total number of old and new pods do not - /// exceed 130% of desired pods. Once old pods have been killed, new RC - /// can be scaled up further, ensuring that total number of pods - /// running at any time during the update is atmost 130% of desired - /// pods. + /// the new ReplicaSet can be scaled up immediately when the rolling + /// update starts, such that the total number of old and new pods do + /// not exceed 130% of desired pods. Once old pods have been killed, + /// new ReplicaSet can be scaled up further, ensuring that total number + /// of pods running at any time during the update is atmost 130% of + /// desired pods. /// [JsonProperty(PropertyName = "maxSurge")] public IntstrIntOrString MaxSurge { get; set; } @@ -81,12 +82,12 @@ public V1beta2RollingUpdateDeployment() /// during the update. Value can be an absolute number (ex: 5) or a /// percentage of desired pods (ex: 10%). Absolute number is calculated /// from percentage by rounding down. This can not be 0 if MaxSurge is - /// 0. Defaults to 25%. Example: when this is set to 30%, the old RC - /// can be scaled down to 70% of desired pods immediately when the - /// rolling update starts. Once new pods are ready, old RC can be - /// scaled down further, followed by scaling up the new RC, ensuring - /// that the total number of pods available at all times during the - /// update is at least 70% of desired pods. + /// 0. Defaults to 25%. Example: when this is set to 30%, the old + /// ReplicaSet can be scaled down to 70% of desired pods immediately + /// when the rolling update starts. Once new pods are ready, old + /// ReplicaSet can be scaled down further, followed by scaling up the + /// new ReplicaSet, ensuring that the total number of pods available at + /// all times during the update is at least 70% of desired pods. /// [JsonProperty(PropertyName = "maxUnavailable")] public IntstrIntOrString MaxUnavailable { get; set; } diff --git a/src/KubernetesClient/generated/Models/V2beta1HorizontalPodAutoscalerStatus.cs b/src/KubernetesClient/generated/Models/V2beta1HorizontalPodAutoscalerStatus.cs index 126c5c25a..854d6d817 100644 --- a/src/KubernetesClient/generated/Models/V2beta1HorizontalPodAutoscalerStatus.cs +++ b/src/KubernetesClient/generated/Models/V2beta1HorizontalPodAutoscalerStatus.cs @@ -34,21 +34,21 @@ public V2beta1HorizontalPodAutoscalerStatus() /// conditions is the set of conditions /// required for this autoscaler to scale its target, and indicates /// whether or not those conditions are met. - /// currentMetrics is the last read state - /// of the metrics used by this autoscaler. /// currentReplicas is current number of /// replicas of pods managed by this autoscaler, as last seen by the /// autoscaler. /// desiredReplicas is the desired number /// of replicas of pods managed by this autoscaler, as last calculated /// by the autoscaler. + /// currentMetrics is the last read state + /// of the metrics used by this autoscaler. /// lastScaleTime is the last time the /// HorizontalPodAutoscaler scaled the number of pods, used by the /// autoscaler to control how often the number of pods is /// changed. /// observedGeneration is the most /// recent generation observed by this autoscaler. - public V2beta1HorizontalPodAutoscalerStatus(IList conditions, IList currentMetrics, int currentReplicas, int desiredReplicas, System.DateTime? lastScaleTime = default(System.DateTime?), long? observedGeneration = default(long?)) + public V2beta1HorizontalPodAutoscalerStatus(IList conditions, int currentReplicas, int desiredReplicas, IList currentMetrics = default(IList), System.DateTime? lastScaleTime = default(System.DateTime?), long? observedGeneration = default(long?)) { Conditions = conditions; CurrentMetrics = currentMetrics; @@ -121,10 +121,6 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "Conditions"); } - if (CurrentMetrics == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "CurrentMetrics"); - } if (Conditions != null) { foreach (var element in Conditions) diff --git a/src/KubernetesClient/generated/Models/V2beta1ObjectMetricSource.cs b/src/KubernetesClient/generated/Models/V2beta1ObjectMetricSource.cs index 707db6e1d..4497d119b 100644 --- a/src/KubernetesClient/generated/Models/V2beta1ObjectMetricSource.cs +++ b/src/KubernetesClient/generated/Models/V2beta1ObjectMetricSource.cs @@ -33,9 +33,19 @@ public V2beta1ObjectMetricSource() /// object. /// targetValue is the target value of the /// metric (as a quantity). - public V2beta1ObjectMetricSource(string metricName, V2beta1CrossVersionObjectReference target, ResourceQuantity targetValue) + /// averageValue is the target value of the + /// average of the metric across all relevant pods (as a + /// quantity) + /// selector is the string-encoded form of a + /// standard kubernetes label selector for the given metric When set, + /// it is passed as an additional parameter to the metrics server for + /// more specific metrics scoping When unset, just the metricName will + /// be used to gather metrics. + public V2beta1ObjectMetricSource(string metricName, V2beta1CrossVersionObjectReference target, ResourceQuantity targetValue, ResourceQuantity averageValue = default(ResourceQuantity), V1LabelSelector selector = default(V1LabelSelector)) { + AverageValue = averageValue; MetricName = metricName; + Selector = selector; Target = target; TargetValue = targetValue; CustomInit(); @@ -46,12 +56,29 @@ public V2beta1ObjectMetricSource(string metricName, V2beta1CrossVersionObjectRef /// partial void CustomInit(); + /// + /// Gets or sets averageValue is the target value of the average of the + /// metric across all relevant pods (as a quantity) + /// + [JsonProperty(PropertyName = "averageValue")] + public ResourceQuantity AverageValue { get; set; } + /// /// Gets or sets metricName is the name of the metric in question. /// [JsonProperty(PropertyName = "metricName")] public string MetricName { get; set; } + /// + /// Gets or sets selector is the string-encoded form of a standard + /// kubernetes label selector for the given metric When set, it is + /// passed as an additional parameter to the metrics server for more + /// specific metrics scoping When unset, just the metricName will be + /// used to gather metrics. + /// + [JsonProperty(PropertyName = "selector")] + public V1LabelSelector Selector { get; set; } + /// /// Gets or sets target is the described Kubernetes object. /// diff --git a/src/KubernetesClient/generated/Models/V2beta1ObjectMetricStatus.cs b/src/KubernetesClient/generated/Models/V2beta1ObjectMetricStatus.cs index 70495cd00..eeb7e8961 100644 --- a/src/KubernetesClient/generated/Models/V2beta1ObjectMetricStatus.cs +++ b/src/KubernetesClient/generated/Models/V2beta1ObjectMetricStatus.cs @@ -33,10 +33,20 @@ public V2beta1ObjectMetricStatus() /// question. /// target is the described Kubernetes /// object. - public V2beta1ObjectMetricStatus(ResourceQuantity currentValue, string metricName, V2beta1CrossVersionObjectReference target) + /// averageValue is the current value of the + /// average of the metric across all relevant pods (as a + /// quantity) + /// selector is the string-encoded form of a + /// standard kubernetes label selector for the given metric When set in + /// the ObjectMetricSource, it is passed as an additional parameter to + /// the metrics server for more specific metrics scoping. When unset, + /// just the metricName will be used to gather metrics. + public V2beta1ObjectMetricStatus(ResourceQuantity currentValue, string metricName, V2beta1CrossVersionObjectReference target, ResourceQuantity averageValue = default(ResourceQuantity), V1LabelSelector selector = default(V1LabelSelector)) { + AverageValue = averageValue; CurrentValue = currentValue; MetricName = metricName; + Selector = selector; Target = target; CustomInit(); } @@ -46,6 +56,13 @@ public V2beta1ObjectMetricStatus(ResourceQuantity currentValue, string metricNam /// partial void CustomInit(); + /// + /// Gets or sets averageValue is the current value of the average of + /// the metric across all relevant pods (as a quantity) + /// + [JsonProperty(PropertyName = "averageValue")] + public ResourceQuantity AverageValue { get; set; } + /// /// Gets or sets currentValue is the current value of the metric (as a /// quantity). @@ -59,6 +76,16 @@ public V2beta1ObjectMetricStatus(ResourceQuantity currentValue, string metricNam [JsonProperty(PropertyName = "metricName")] public string MetricName { get; set; } + /// + /// Gets or sets selector is the string-encoded form of a standard + /// kubernetes label selector for the given metric When set in the + /// ObjectMetricSource, it is passed as an additional parameter to the + /// metrics server for more specific metrics scoping. When unset, just + /// the metricName will be used to gather metrics. + /// + [JsonProperty(PropertyName = "selector")] + public V1LabelSelector Selector { get; set; } + /// /// Gets or sets target is the described Kubernetes object. /// diff --git a/src/KubernetesClient/generated/Models/V2beta1PodsMetricSource.cs b/src/KubernetesClient/generated/Models/V2beta1PodsMetricSource.cs index cf284fa9a..1030cf24e 100644 --- a/src/KubernetesClient/generated/Models/V2beta1PodsMetricSource.cs +++ b/src/KubernetesClient/generated/Models/V2beta1PodsMetricSource.cs @@ -34,9 +34,15 @@ public V2beta1PodsMetricSource() /// targetAverageValue is the target /// value of the average of the metric across all relevant pods (as a /// quantity) - public V2beta1PodsMetricSource(string metricName, ResourceQuantity targetAverageValue) + /// selector is the string-encoded form of a + /// standard kubernetes label selector for the given metric When set, + /// it is passed as an additional parameter to the metrics server for + /// more specific metrics scoping When unset, just the metricName will + /// be used to gather metrics. + public V2beta1PodsMetricSource(string metricName, ResourceQuantity targetAverageValue, V1LabelSelector selector = default(V1LabelSelector)) { MetricName = metricName; + Selector = selector; TargetAverageValue = targetAverageValue; CustomInit(); } @@ -52,6 +58,16 @@ public V2beta1PodsMetricSource(string metricName, ResourceQuantity targetAverage [JsonProperty(PropertyName = "metricName")] public string MetricName { get; set; } + /// + /// Gets or sets selector is the string-encoded form of a standard + /// kubernetes label selector for the given metric When set, it is + /// passed as an additional parameter to the metrics server for more + /// specific metrics scoping When unset, just the metricName will be + /// used to gather metrics. + /// + [JsonProperty(PropertyName = "selector")] + public V1LabelSelector Selector { get; set; } + /// /// Gets or sets targetAverageValue is the target value of the average /// of the metric across all relevant pods (as a quantity) diff --git a/src/KubernetesClient/generated/Models/V2beta1PodsMetricStatus.cs b/src/KubernetesClient/generated/Models/V2beta1PodsMetricStatus.cs index 2875be12b..fdbcbc580 100644 --- a/src/KubernetesClient/generated/Models/V2beta1PodsMetricStatus.cs +++ b/src/KubernetesClient/generated/Models/V2beta1PodsMetricStatus.cs @@ -33,10 +33,16 @@ public V2beta1PodsMetricStatus() /// (as a quantity) /// metricName is the name of the metric in /// question - public V2beta1PodsMetricStatus(ResourceQuantity currentAverageValue, string metricName) + /// selector is the string-encoded form of a + /// standard kubernetes label selector for the given metric When set in + /// the PodsMetricSource, it is passed as an additional parameter to + /// the metrics server for more specific metrics scoping. When unset, + /// just the metricName will be used to gather metrics. + public V2beta1PodsMetricStatus(ResourceQuantity currentAverageValue, string metricName, V1LabelSelector selector = default(V1LabelSelector)) { CurrentAverageValue = currentAverageValue; MetricName = metricName; + Selector = selector; CustomInit(); } @@ -58,6 +64,16 @@ public V2beta1PodsMetricStatus(ResourceQuantity currentAverageValue, string metr [JsonProperty(PropertyName = "metricName")] public string MetricName { get; set; } + /// + /// Gets or sets selector is the string-encoded form of a standard + /// kubernetes label selector for the given metric When set in the + /// PodsMetricSource, it is passed as an additional parameter to the + /// metrics server for more specific metrics scoping. When unset, just + /// the metricName will be used to gather metrics. + /// + [JsonProperty(PropertyName = "selector")] + public V1LabelSelector Selector { get; set; } + /// /// Validate the object. /// diff --git a/src/KubernetesClient/generated/Models/V2beta2CrossVersionObjectReference.cs b/src/KubernetesClient/generated/Models/V2beta2CrossVersionObjectReference.cs new file mode 100644 index 000000000..48466d169 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2CrossVersionObjectReference.cs @@ -0,0 +1,88 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// CrossVersionObjectReference contains enough information to let you + /// identify the referred resource. + /// + public partial class V2beta2CrossVersionObjectReference + { + /// + /// Initializes a new instance of the + /// V2beta2CrossVersionObjectReference class. + /// + public V2beta2CrossVersionObjectReference() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// V2beta2CrossVersionObjectReference class. + /// + /// Kind of the referent; More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds" + /// Name of the referent; More info: + /// http://kubernetes.io/docs/user-guide/identifiers#names + /// API version of the referent + public V2beta2CrossVersionObjectReference(string kind, string name, string apiVersion = default(string)) + { + ApiVersion = apiVersion; + Kind = kind; + Name = name; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets API version of the referent + /// + [JsonProperty(PropertyName = "apiVersion")] + public string ApiVersion { get; set; } + + /// + /// Gets or sets kind of the referent; More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds" + /// + [JsonProperty(PropertyName = "kind")] + public string Kind { get; set; } + + /// + /// Gets or sets name of the referent; More info: + /// http://kubernetes.io/docs/user-guide/identifiers#names + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Kind == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Kind"); + } + if (Name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2ExternalMetricSource.cs b/src/KubernetesClient/generated/Models/V2beta2ExternalMetricSource.cs new file mode 100644 index 000000000..43147f2cf --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2ExternalMetricSource.cs @@ -0,0 +1,89 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// ExternalMetricSource indicates how to scale on a metric not associated + /// with any Kubernetes object (for example length of queue in cloud + /// messaging service, or QPS from loadbalancer running outside of + /// cluster). + /// + public partial class V2beta2ExternalMetricSource + { + /// + /// Initializes a new instance of the V2beta2ExternalMetricSource + /// class. + /// + public V2beta2ExternalMetricSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V2beta2ExternalMetricSource + /// class. + /// + /// metric identifies the target metric by name + /// and selector + /// target specifies the target value for the + /// given metric + public V2beta2ExternalMetricSource(V2beta2MetricIdentifier metric, V2beta2MetricTarget target) + { + Metric = metric; + Target = target; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets metric identifies the target metric by name and + /// selector + /// + [JsonProperty(PropertyName = "metric")] + public V2beta2MetricIdentifier Metric { get; set; } + + /// + /// Gets or sets target specifies the target value for the given metric + /// + [JsonProperty(PropertyName = "target")] + public V2beta2MetricTarget Target { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Metric == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Metric"); + } + if (Target == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Target"); + } + if (Metric != null) + { + Metric.Validate(); + } + if (Target != null) + { + Target.Validate(); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2ExternalMetricStatus.cs b/src/KubernetesClient/generated/Models/V2beta2ExternalMetricStatus.cs new file mode 100644 index 000000000..8f8b12df0 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2ExternalMetricStatus.cs @@ -0,0 +1,84 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// ExternalMetricStatus indicates the current value of a global metric not + /// associated with any Kubernetes object. + /// + public partial class V2beta2ExternalMetricStatus + { + /// + /// Initializes a new instance of the V2beta2ExternalMetricStatus + /// class. + /// + public V2beta2ExternalMetricStatus() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V2beta2ExternalMetricStatus + /// class. + /// + /// current contains the current value for the + /// given metric + /// metric identifies the target metric by name + /// and selector + public V2beta2ExternalMetricStatus(V2beta2MetricValueStatus current, V2beta2MetricIdentifier metric) + { + Current = current; + Metric = metric; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current contains the current value for the given + /// metric + /// + [JsonProperty(PropertyName = "current")] + public V2beta2MetricValueStatus Current { get; set; } + + /// + /// Gets or sets metric identifies the target metric by name and + /// selector + /// + [JsonProperty(PropertyName = "metric")] + public V2beta2MetricIdentifier Metric { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Current == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Current"); + } + if (Metric == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Metric"); + } + if (Metric != null) + { + Metric.Validate(); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscaler.cs b/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscaler.cs new file mode 100644 index 000000000..8b05eaf69 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscaler.cs @@ -0,0 +1,130 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// HorizontalPodAutoscaler is the configuration for a horizontal pod + /// autoscaler, which automatically manages the replica count of any + /// resource implementing the scale subresource based on the metrics + /// specified. + /// + public partial class V2beta2HorizontalPodAutoscaler + { + /// + /// Initializes a new instance of the V2beta2HorizontalPodAutoscaler + /// class. + /// + public V2beta2HorizontalPodAutoscaler() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V2beta2HorizontalPodAutoscaler + /// class. + /// + /// APIVersion defines the versioned schema of + /// this representation of an object. Servers should convert recognized + /// schemas to the latest internal value, and may reject unrecognized + /// values. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + /// Kind is a string value representing the REST + /// resource this object represents. Servers may infer this from the + /// endpoint the client submits requests to. Cannot be updated. In + /// CamelCase. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + /// metadata is the standard object metadata. + /// More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + /// spec is the specification for the behaviour of + /// the autoscaler. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. + /// status is the current information about the + /// autoscaler. + public V2beta2HorizontalPodAutoscaler(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V2beta2HorizontalPodAutoscalerSpec spec = default(V2beta2HorizontalPodAutoscalerSpec), V2beta2HorizontalPodAutoscalerStatus status = default(V2beta2HorizontalPodAutoscalerStatus)) + { + ApiVersion = apiVersion; + Kind = kind; + Metadata = metadata; + Spec = spec; + Status = status; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets aPIVersion defines the versioned schema of this + /// representation of an object. Servers should convert recognized + /// schemas to the latest internal value, and may reject unrecognized + /// values. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + /// + [JsonProperty(PropertyName = "apiVersion")] + public string ApiVersion { get; set; } + + /// + /// Gets or sets kind is a string value representing the REST resource + /// this object represents. Servers may infer this from the endpoint + /// the client submits requests to. Cannot be updated. In CamelCase. + /// More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + /// + [JsonProperty(PropertyName = "kind")] + public string Kind { get; set; } + + /// + /// Gets or sets metadata is the standard object metadata. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + /// + [JsonProperty(PropertyName = "metadata")] + public V1ObjectMeta Metadata { get; set; } + + /// + /// Gets or sets spec is the specification for the behaviour of the + /// autoscaler. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. + /// + [JsonProperty(PropertyName = "spec")] + public V2beta2HorizontalPodAutoscalerSpec Spec { get; set; } + + /// + /// Gets or sets status is the current information about the + /// autoscaler. + /// + [JsonProperty(PropertyName = "status")] + public V2beta2HorizontalPodAutoscalerStatus Status { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Metadata != null) + { + Metadata.Validate(); + } + if (Spec != null) + { + Spec.Validate(); + } + if (Status != null) + { + Status.Validate(); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscalerCondition.cs b/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscalerCondition.cs new file mode 100644 index 000000000..807384419 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscalerCondition.cs @@ -0,0 +1,108 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// HorizontalPodAutoscalerCondition describes the state of a + /// HorizontalPodAutoscaler at a certain point. + /// + public partial class V2beta2HorizontalPodAutoscalerCondition + { + /// + /// Initializes a new instance of the + /// V2beta2HorizontalPodAutoscalerCondition class. + /// + public V2beta2HorizontalPodAutoscalerCondition() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// V2beta2HorizontalPodAutoscalerCondition class. + /// + /// status is the status of the condition (True, + /// False, Unknown) + /// type describes the current condition + /// lastTransitionTime is the last + /// time the condition transitioned from one status to another + /// message is a human-readable explanation + /// containing details about the transition + /// reason is the reason for the condition's last + /// transition. + public V2beta2HorizontalPodAutoscalerCondition(string status, string type, System.DateTime? lastTransitionTime = default(System.DateTime?), string message = default(string), string reason = default(string)) + { + LastTransitionTime = lastTransitionTime; + Message = message; + Reason = reason; + Status = status; + Type = type; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets lastTransitionTime is the last time the condition + /// transitioned from one status to another + /// + [JsonProperty(PropertyName = "lastTransitionTime")] + public System.DateTime? LastTransitionTime { get; set; } + + /// + /// Gets or sets message is a human-readable explanation containing + /// details about the transition + /// + [JsonProperty(PropertyName = "message")] + public string Message { get; set; } + + /// + /// Gets or sets reason is the reason for the condition's last + /// transition. + /// + [JsonProperty(PropertyName = "reason")] + public string Reason { get; set; } + + /// + /// Gets or sets status is the status of the condition (True, False, + /// Unknown) + /// + [JsonProperty(PropertyName = "status")] + public string Status { get; set; } + + /// + /// Gets or sets type describes the current condition + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Status == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Status"); + } + if (Type == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Type"); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscalerList.cs b/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscalerList.cs new file mode 100644 index 000000000..7a3520203 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscalerList.cs @@ -0,0 +1,119 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// HorizontalPodAutoscalerList is a list of horizontal pod autoscaler + /// objects. + /// + public partial class V2beta2HorizontalPodAutoscalerList + { + /// + /// Initializes a new instance of the + /// V2beta2HorizontalPodAutoscalerList class. + /// + public V2beta2HorizontalPodAutoscalerList() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// V2beta2HorizontalPodAutoscalerList class. + /// + /// items is the list of horizontal pod autoscaler + /// objects. + /// APIVersion defines the versioned schema of + /// this representation of an object. Servers should convert recognized + /// schemas to the latest internal value, and may reject unrecognized + /// values. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + /// Kind is a string value representing the REST + /// resource this object represents. Servers may infer this from the + /// endpoint the client submits requests to. Cannot be updated. In + /// CamelCase. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + /// metadata is the standard list + /// metadata. + public V2beta2HorizontalPodAutoscalerList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) + { + ApiVersion = apiVersion; + Items = items; + Kind = kind; + Metadata = metadata; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets aPIVersion defines the versioned schema of this + /// representation of an object. Servers should convert recognized + /// schemas to the latest internal value, and may reject unrecognized + /// values. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + /// + [JsonProperty(PropertyName = "apiVersion")] + public string ApiVersion { get; set; } + + /// + /// Gets or sets items is the list of horizontal pod autoscaler + /// objects. + /// + [JsonProperty(PropertyName = "items")] + public IList Items { get; set; } + + /// + /// Gets or sets kind is a string value representing the REST resource + /// this object represents. Servers may infer this from the endpoint + /// the client submits requests to. Cannot be updated. In CamelCase. + /// More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + /// + [JsonProperty(PropertyName = "kind")] + public string Kind { get; set; } + + /// + /// Gets or sets metadata is the standard list metadata. + /// + [JsonProperty(PropertyName = "metadata")] + public V1ListMeta Metadata { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Items == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Items"); + } + if (Items != null) + { + foreach (var element in Items) + { + if (element != null) + { + element.Validate(); + } + } + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscalerSpec.cs b/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscalerSpec.cs new file mode 100644 index 000000000..7fdf599ef --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscalerSpec.cs @@ -0,0 +1,133 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// HorizontalPodAutoscalerSpec describes the desired functionality of the + /// HorizontalPodAutoscaler. + /// + public partial class V2beta2HorizontalPodAutoscalerSpec + { + /// + /// Initializes a new instance of the + /// V2beta2HorizontalPodAutoscalerSpec class. + /// + public V2beta2HorizontalPodAutoscalerSpec() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// V2beta2HorizontalPodAutoscalerSpec class. + /// + /// maxReplicas is the upper limit for the + /// number of replicas to which the autoscaler can scale up. It cannot + /// be less that minReplicas. + /// scaleTargetRef points to the target + /// resource to scale, and is used to the pods for which metrics should + /// be collected, as well as to actually change the replica + /// count. + /// metrics contains the specifications for which + /// to use to calculate the desired replica count (the maximum replica + /// count across all metrics will be used). The desired replica count + /// is calculated multiplying the ratio between the target value and + /// the current value by the current number of pods. Ergo, metrics + /// used must decrease as the pod count is increased, and vice-versa. + /// See the individual metric source types for more information about + /// how each type of metric must respond. If not set, the default + /// metric will be set to 80% average CPU utilization. + /// minReplicas is the lower limit for the + /// number of replicas to which the autoscaler can scale down. It + /// defaults to 1 pod. + public V2beta2HorizontalPodAutoscalerSpec(int maxReplicas, V2beta2CrossVersionObjectReference scaleTargetRef, IList metrics = default(IList), int? minReplicas = default(int?)) + { + MaxReplicas = maxReplicas; + Metrics = metrics; + MinReplicas = minReplicas; + ScaleTargetRef = scaleTargetRef; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets maxReplicas is the upper limit for the number of + /// replicas to which the autoscaler can scale up. It cannot be less + /// that minReplicas. + /// + [JsonProperty(PropertyName = "maxReplicas")] + public int MaxReplicas { get; set; } + + /// + /// Gets or sets metrics contains the specifications for which to use + /// to calculate the desired replica count (the maximum replica count + /// across all metrics will be used). The desired replica count is + /// calculated multiplying the ratio between the target value and the + /// current value by the current number of pods. Ergo, metrics used + /// must decrease as the pod count is increased, and vice-versa. See + /// the individual metric source types for more information about how + /// each type of metric must respond. If not set, the default metric + /// will be set to 80% average CPU utilization. + /// + [JsonProperty(PropertyName = "metrics")] + public IList Metrics { get; set; } + + /// + /// Gets or sets minReplicas is the lower limit for the number of + /// replicas to which the autoscaler can scale down. It defaults to 1 + /// pod. + /// + [JsonProperty(PropertyName = "minReplicas")] + public int? MinReplicas { get; set; } + + /// + /// Gets or sets scaleTargetRef points to the target resource to scale, + /// and is used to the pods for which metrics should be collected, as + /// well as to actually change the replica count. + /// + [JsonProperty(PropertyName = "scaleTargetRef")] + public V2beta2CrossVersionObjectReference ScaleTargetRef { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (ScaleTargetRef == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ScaleTargetRef"); + } + if (Metrics != null) + { + foreach (var element in Metrics) + { + if (element != null) + { + element.Validate(); + } + } + } + if (ScaleTargetRef != null) + { + ScaleTargetRef.Validate(); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscalerStatus.cs b/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscalerStatus.cs new file mode 100644 index 000000000..51408baf3 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscalerStatus.cs @@ -0,0 +1,146 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// HorizontalPodAutoscalerStatus describes the current status of a + /// horizontal pod autoscaler. + /// + public partial class V2beta2HorizontalPodAutoscalerStatus + { + /// + /// Initializes a new instance of the + /// V2beta2HorizontalPodAutoscalerStatus class. + /// + public V2beta2HorizontalPodAutoscalerStatus() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// V2beta2HorizontalPodAutoscalerStatus class. + /// + /// conditions is the set of conditions + /// required for this autoscaler to scale its target, and indicates + /// whether or not those conditions are met. + /// currentReplicas is current number of + /// replicas of pods managed by this autoscaler, as last seen by the + /// autoscaler. + /// desiredReplicas is the desired number + /// of replicas of pods managed by this autoscaler, as last calculated + /// by the autoscaler. + /// currentMetrics is the last read state + /// of the metrics used by this autoscaler. + /// lastScaleTime is the last time the + /// HorizontalPodAutoscaler scaled the number of pods, used by the + /// autoscaler to control how often the number of pods is + /// changed. + /// observedGeneration is the most + /// recent generation observed by this autoscaler. + public V2beta2HorizontalPodAutoscalerStatus(IList conditions, int currentReplicas, int desiredReplicas, IList currentMetrics = default(IList), System.DateTime? lastScaleTime = default(System.DateTime?), long? observedGeneration = default(long?)) + { + Conditions = conditions; + CurrentMetrics = currentMetrics; + CurrentReplicas = currentReplicas; + DesiredReplicas = desiredReplicas; + LastScaleTime = lastScaleTime; + ObservedGeneration = observedGeneration; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets conditions is the set of conditions required for this + /// autoscaler to scale its target, and indicates whether or not those + /// conditions are met. + /// + [JsonProperty(PropertyName = "conditions")] + public IList Conditions { get; set; } + + /// + /// Gets or sets currentMetrics is the last read state of the metrics + /// used by this autoscaler. + /// + [JsonProperty(PropertyName = "currentMetrics")] + public IList CurrentMetrics { get; set; } + + /// + /// Gets or sets currentReplicas is current number of replicas of pods + /// managed by this autoscaler, as last seen by the autoscaler. + /// + [JsonProperty(PropertyName = "currentReplicas")] + public int CurrentReplicas { get; set; } + + /// + /// Gets or sets desiredReplicas is the desired number of replicas of + /// pods managed by this autoscaler, as last calculated by the + /// autoscaler. + /// + [JsonProperty(PropertyName = "desiredReplicas")] + public int DesiredReplicas { get; set; } + + /// + /// Gets or sets lastScaleTime is the last time the + /// HorizontalPodAutoscaler scaled the number of pods, used by the + /// autoscaler to control how often the number of pods is changed. + /// + [JsonProperty(PropertyName = "lastScaleTime")] + public System.DateTime? LastScaleTime { get; set; } + + /// + /// Gets or sets observedGeneration is the most recent generation + /// observed by this autoscaler. + /// + [JsonProperty(PropertyName = "observedGeneration")] + public long? ObservedGeneration { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Conditions == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Conditions"); + } + if (Conditions != null) + { + foreach (var element in Conditions) + { + if (element != null) + { + element.Validate(); + } + } + } + if (CurrentMetrics != null) + { + foreach (var element1 in CurrentMetrics) + { + if (element1 != null) + { + element1.Validate(); + } + } + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2MetricIdentifier.cs b/src/KubernetesClient/generated/Models/V2beta2MetricIdentifier.cs new file mode 100644 index 000000000..d33b35bc9 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2MetricIdentifier.cs @@ -0,0 +1,77 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// MetricIdentifier defines the name and optionally selector for a metric + /// + public partial class V2beta2MetricIdentifier + { + /// + /// Initializes a new instance of the V2beta2MetricIdentifier class. + /// + public V2beta2MetricIdentifier() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V2beta2MetricIdentifier class. + /// + /// name is the name of the given metric + /// selector is the string-encoded form of a + /// standard kubernetes label selector for the given metric When set, + /// it is passed as an additional parameter to the metrics server for + /// more specific metrics scoping. When unset, just the metricName will + /// be used to gather metrics. + public V2beta2MetricIdentifier(string name, V1LabelSelector selector = default(V1LabelSelector)) + { + Name = name; + Selector = selector; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets name is the name of the given metric + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets selector is the string-encoded form of a standard + /// kubernetes label selector for the given metric When set, it is + /// passed as an additional parameter to the metrics server for more + /// specific metrics scoping. When unset, just the metricName will be + /// used to gather metrics. + /// + [JsonProperty(PropertyName = "selector")] + public V1LabelSelector Selector { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2MetricSpec.cs b/src/KubernetesClient/generated/Models/V2beta2MetricSpec.cs new file mode 100644 index 000000000..dded86f19 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2MetricSpec.cs @@ -0,0 +1,142 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// MetricSpec specifies how to scale based on a single metric (only `type` + /// and one other matching field should be set at once). + /// + public partial class V2beta2MetricSpec + { + /// + /// Initializes a new instance of the V2beta2MetricSpec class. + /// + public V2beta2MetricSpec() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V2beta2MetricSpec class. + /// + /// type is the type of metric source. It should be + /// one of "Object", "Pods" or "Resource", each mapping to a matching + /// field in the object. + /// external refers to a global metric that is + /// not associated with any Kubernetes object. It allows autoscaling + /// based on information coming from components running outside of + /// cluster (for example length of queue in cloud messaging service, or + /// QPS from loadbalancer running outside of cluster). + /// object refers to a metric describing a + /// single kubernetes object (for example, hits-per-second on an + /// Ingress object). + /// pods refers to a metric describing each pod in + /// the current scale target (for example, + /// transactions-processed-per-second). The values will be averaged + /// together before being compared to the target value. + /// resource refers to a resource metric (such + /// as those specified in requests and limits) known to Kubernetes + /// describing each pod in the current scale target (e.g. CPU or + /// memory). Such metrics are built in to Kubernetes, and have special + /// scaling options on top of those available to normal per-pod metrics + /// using the "pods" source. + public V2beta2MetricSpec(string type, V2beta2ExternalMetricSource external = default(V2beta2ExternalMetricSource), V2beta2ObjectMetricSource objectProperty = default(V2beta2ObjectMetricSource), V2beta2PodsMetricSource pods = default(V2beta2PodsMetricSource), V2beta2ResourceMetricSource resource = default(V2beta2ResourceMetricSource)) + { + External = external; + ObjectProperty = objectProperty; + Pods = pods; + Resource = resource; + Type = type; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets external refers to a global metric that is not + /// associated with any Kubernetes object. It allows autoscaling based + /// on information coming from components running outside of cluster + /// (for example length of queue in cloud messaging service, or QPS + /// from loadbalancer running outside of cluster). + /// + [JsonProperty(PropertyName = "external")] + public V2beta2ExternalMetricSource External { get; set; } + + /// + /// Gets or sets object refers to a metric describing a single + /// kubernetes object (for example, hits-per-second on an Ingress + /// object). + /// + [JsonProperty(PropertyName = "object")] + public V2beta2ObjectMetricSource ObjectProperty { get; set; } + + /// + /// Gets or sets pods refers to a metric describing each pod in the + /// current scale target (for example, + /// transactions-processed-per-second). The values will be averaged + /// together before being compared to the target value. + /// + [JsonProperty(PropertyName = "pods")] + public V2beta2PodsMetricSource Pods { get; set; } + + /// + /// Gets or sets resource refers to a resource metric (such as those + /// specified in requests and limits) known to Kubernetes describing + /// each pod in the current scale target (e.g. CPU or memory). Such + /// metrics are built in to Kubernetes, and have special scaling + /// options on top of those available to normal per-pod metrics using + /// the "pods" source. + /// + [JsonProperty(PropertyName = "resource")] + public V2beta2ResourceMetricSource Resource { get; set; } + + /// + /// Gets or sets type is the type of metric source. It should be one + /// of "Object", "Pods" or "Resource", each mapping to a matching field + /// in the object. + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Type == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Type"); + } + if (External != null) + { + External.Validate(); + } + if (ObjectProperty != null) + { + ObjectProperty.Validate(); + } + if (Pods != null) + { + Pods.Validate(); + } + if (Resource != null) + { + Resource.Validate(); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2MetricStatus.cs b/src/KubernetesClient/generated/Models/V2beta2MetricStatus.cs new file mode 100644 index 000000000..9107ea431 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2MetricStatus.cs @@ -0,0 +1,141 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// MetricStatus describes the last-read state of a single metric. + /// + public partial class V2beta2MetricStatus + { + /// + /// Initializes a new instance of the V2beta2MetricStatus class. + /// + public V2beta2MetricStatus() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V2beta2MetricStatus class. + /// + /// type is the type of metric source. It will be + /// one of "Object", "Pods" or "Resource", each corresponds to a + /// matching field in the object. + /// external refers to a global metric that is + /// not associated with any Kubernetes object. It allows autoscaling + /// based on information coming from components running outside of + /// cluster (for example length of queue in cloud messaging service, or + /// QPS from loadbalancer running outside of cluster). + /// object refers to a metric describing a + /// single kubernetes object (for example, hits-per-second on an + /// Ingress object). + /// pods refers to a metric describing each pod in + /// the current scale target (for example, + /// transactions-processed-per-second). The values will be averaged + /// together before being compared to the target value. + /// resource refers to a resource metric (such + /// as those specified in requests and limits) known to Kubernetes + /// describing each pod in the current scale target (e.g. CPU or + /// memory). Such metrics are built in to Kubernetes, and have special + /// scaling options on top of those available to normal per-pod metrics + /// using the "pods" source. + public V2beta2MetricStatus(string type, V2beta2ExternalMetricStatus external = default(V2beta2ExternalMetricStatus), V2beta2ObjectMetricStatus objectProperty = default(V2beta2ObjectMetricStatus), V2beta2PodsMetricStatus pods = default(V2beta2PodsMetricStatus), V2beta2ResourceMetricStatus resource = default(V2beta2ResourceMetricStatus)) + { + External = external; + ObjectProperty = objectProperty; + Pods = pods; + Resource = resource; + Type = type; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets external refers to a global metric that is not + /// associated with any Kubernetes object. It allows autoscaling based + /// on information coming from components running outside of cluster + /// (for example length of queue in cloud messaging service, or QPS + /// from loadbalancer running outside of cluster). + /// + [JsonProperty(PropertyName = "external")] + public V2beta2ExternalMetricStatus External { get; set; } + + /// + /// Gets or sets object refers to a metric describing a single + /// kubernetes object (for example, hits-per-second on an Ingress + /// object). + /// + [JsonProperty(PropertyName = "object")] + public V2beta2ObjectMetricStatus ObjectProperty { get; set; } + + /// + /// Gets or sets pods refers to a metric describing each pod in the + /// current scale target (for example, + /// transactions-processed-per-second). The values will be averaged + /// together before being compared to the target value. + /// + [JsonProperty(PropertyName = "pods")] + public V2beta2PodsMetricStatus Pods { get; set; } + + /// + /// Gets or sets resource refers to a resource metric (such as those + /// specified in requests and limits) known to Kubernetes describing + /// each pod in the current scale target (e.g. CPU or memory). Such + /// metrics are built in to Kubernetes, and have special scaling + /// options on top of those available to normal per-pod metrics using + /// the "pods" source. + /// + [JsonProperty(PropertyName = "resource")] + public V2beta2ResourceMetricStatus Resource { get; set; } + + /// + /// Gets or sets type is the type of metric source. It will be one of + /// "Object", "Pods" or "Resource", each corresponds to a matching + /// field in the object. + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Type == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Type"); + } + if (External != null) + { + External.Validate(); + } + if (ObjectProperty != null) + { + ObjectProperty.Validate(); + } + if (Pods != null) + { + Pods.Validate(); + } + if (Resource != null) + { + Resource.Validate(); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2MetricTarget.cs b/src/KubernetesClient/generated/Models/V2beta2MetricTarget.cs new file mode 100644 index 000000000..5694a8a2a --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2MetricTarget.cs @@ -0,0 +1,100 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// MetricTarget defines the target value, average value, or average + /// utilization of a specific metric + /// + public partial class V2beta2MetricTarget + { + /// + /// Initializes a new instance of the V2beta2MetricTarget class. + /// + public V2beta2MetricTarget() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V2beta2MetricTarget class. + /// + /// type represents whether the metric type is + /// Utilization, Value, or AverageValue + /// averageUtilization is the target + /// value of the average of the resource metric across all relevant + /// pods, represented as a percentage of the requested value of the + /// resource for the pods. Currently only valid for Resource metric + /// source type + /// averageValue is the target value of the + /// average of the metric across all relevant pods (as a + /// quantity) + /// value is the target value of the metric (as a + /// quantity). + public V2beta2MetricTarget(string type, int? averageUtilization = default(int?), ResourceQuantity averageValue = default(ResourceQuantity), ResourceQuantity value = default(ResourceQuantity)) + { + AverageUtilization = averageUtilization; + AverageValue = averageValue; + Type = type; + Value = value; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets averageUtilization is the target value of the average + /// of the resource metric across all relevant pods, represented as a + /// percentage of the requested value of the resource for the pods. + /// Currently only valid for Resource metric source type + /// + [JsonProperty(PropertyName = "averageUtilization")] + public int? AverageUtilization { get; set; } + + /// + /// Gets or sets averageValue is the target value of the average of the + /// metric across all relevant pods (as a quantity) + /// + [JsonProperty(PropertyName = "averageValue")] + public ResourceQuantity AverageValue { get; set; } + + /// + /// Gets or sets type represents whether the metric type is + /// Utilization, Value, or AverageValue + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + /// + /// Gets or sets value is the target value of the metric (as a + /// quantity). + /// + [JsonProperty(PropertyName = "value")] + public ResourceQuantity Value { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Type == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Type"); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2MetricValueStatus.cs b/src/KubernetesClient/generated/Models/V2beta2MetricValueStatus.cs new file mode 100644 index 000000000..b15fe22ac --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2MetricValueStatus.cs @@ -0,0 +1,74 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// MetricValueStatus holds the current value for a metric + /// + public partial class V2beta2MetricValueStatus + { + /// + /// Initializes a new instance of the V2beta2MetricValueStatus class. + /// + public V2beta2MetricValueStatus() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V2beta2MetricValueStatus class. + /// + /// currentAverageUtilization is the + /// current value of the average of the resource metric across all + /// relevant pods, represented as a percentage of the requested value + /// of the resource for the pods. + /// averageValue is the current value of the + /// average of the metric across all relevant pods (as a + /// quantity) + /// value is the current value of the metric (as a + /// quantity). + public V2beta2MetricValueStatus(int? averageUtilization = default(int?), ResourceQuantity averageValue = default(ResourceQuantity), ResourceQuantity value = default(ResourceQuantity)) + { + AverageUtilization = averageUtilization; + AverageValue = averageValue; + Value = value; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets currentAverageUtilization is the current value of the + /// average of the resource metric across all relevant pods, + /// represented as a percentage of the requested value of the resource + /// for the pods. + /// + [JsonProperty(PropertyName = "averageUtilization")] + public int? AverageUtilization { get; set; } + + /// + /// Gets or sets averageValue is the current value of the average of + /// the metric across all relevant pods (as a quantity) + /// + [JsonProperty(PropertyName = "averageValue")] + public ResourceQuantity AverageValue { get; set; } + + /// + /// Gets or sets value is the current value of the metric (as a + /// quantity). + /// + [JsonProperty(PropertyName = "value")] + public ResourceQuantity Value { get; set; } + + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2ObjectMetricSource.cs b/src/KubernetesClient/generated/Models/V2beta2ObjectMetricSource.cs new file mode 100644 index 000000000..5828bc62a --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2ObjectMetricSource.cs @@ -0,0 +1,99 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// ObjectMetricSource indicates how to scale on a metric describing a + /// kubernetes object (for example, hits-per-second on an Ingress object). + /// + public partial class V2beta2ObjectMetricSource + { + /// + /// Initializes a new instance of the V2beta2ObjectMetricSource class. + /// + public V2beta2ObjectMetricSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V2beta2ObjectMetricSource class. + /// + /// metric identifies the target metric by name + /// and selector + /// target specifies the target value for the + /// given metric + public V2beta2ObjectMetricSource(V2beta2CrossVersionObjectReference describedObject, V2beta2MetricIdentifier metric, V2beta2MetricTarget target) + { + DescribedObject = describedObject; + Metric = metric; + Target = target; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// + [JsonProperty(PropertyName = "describedObject")] + public V2beta2CrossVersionObjectReference DescribedObject { get; set; } + + /// + /// Gets or sets metric identifies the target metric by name and + /// selector + /// + [JsonProperty(PropertyName = "metric")] + public V2beta2MetricIdentifier Metric { get; set; } + + /// + /// Gets or sets target specifies the target value for the given metric + /// + [JsonProperty(PropertyName = "target")] + public V2beta2MetricTarget Target { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (DescribedObject == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "DescribedObject"); + } + if (Metric == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Metric"); + } + if (Target == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Target"); + } + if (DescribedObject != null) + { + DescribedObject.Validate(); + } + if (Metric != null) + { + Metric.Validate(); + } + if (Target != null) + { + Target.Validate(); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2ObjectMetricStatus.cs b/src/KubernetesClient/generated/Models/V2beta2ObjectMetricStatus.cs new file mode 100644 index 000000000..3921635a0 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2ObjectMetricStatus.cs @@ -0,0 +1,96 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// ObjectMetricStatus indicates the current value of a metric describing a + /// kubernetes object (for example, hits-per-second on an Ingress object). + /// + public partial class V2beta2ObjectMetricStatus + { + /// + /// Initializes a new instance of the V2beta2ObjectMetricStatus class. + /// + public V2beta2ObjectMetricStatus() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V2beta2ObjectMetricStatus class. + /// + /// current contains the current value for the + /// given metric + /// metric identifies the target metric by name + /// and selector + public V2beta2ObjectMetricStatus(V2beta2MetricValueStatus current, V2beta2CrossVersionObjectReference describedObject, V2beta2MetricIdentifier metric) + { + Current = current; + DescribedObject = describedObject; + Metric = metric; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current contains the current value for the given + /// metric + /// + [JsonProperty(PropertyName = "current")] + public V2beta2MetricValueStatus Current { get; set; } + + /// + /// + [JsonProperty(PropertyName = "describedObject")] + public V2beta2CrossVersionObjectReference DescribedObject { get; set; } + + /// + /// Gets or sets metric identifies the target metric by name and + /// selector + /// + [JsonProperty(PropertyName = "metric")] + public V2beta2MetricIdentifier Metric { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Current == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Current"); + } + if (DescribedObject == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "DescribedObject"); + } + if (Metric == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Metric"); + } + if (DescribedObject != null) + { + DescribedObject.Validate(); + } + if (Metric != null) + { + Metric.Validate(); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2PodsMetricSource.cs b/src/KubernetesClient/generated/Models/V2beta2PodsMetricSource.cs new file mode 100644 index 000000000..2b7222635 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2PodsMetricSource.cs @@ -0,0 +1,87 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// PodsMetricSource indicates how to scale on a metric describing each pod + /// in the current scale target (for example, + /// transactions-processed-per-second). The values will be averaged + /// together before being compared to the target value. + /// + public partial class V2beta2PodsMetricSource + { + /// + /// Initializes a new instance of the V2beta2PodsMetricSource class. + /// + public V2beta2PodsMetricSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V2beta2PodsMetricSource class. + /// + /// metric identifies the target metric by name + /// and selector + /// target specifies the target value for the + /// given metric + public V2beta2PodsMetricSource(V2beta2MetricIdentifier metric, V2beta2MetricTarget target) + { + Metric = metric; + Target = target; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets metric identifies the target metric by name and + /// selector + /// + [JsonProperty(PropertyName = "metric")] + public V2beta2MetricIdentifier Metric { get; set; } + + /// + /// Gets or sets target specifies the target value for the given metric + /// + [JsonProperty(PropertyName = "target")] + public V2beta2MetricTarget Target { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Metric == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Metric"); + } + if (Target == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Target"); + } + if (Metric != null) + { + Metric.Validate(); + } + if (Target != null) + { + Target.Validate(); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2PodsMetricStatus.cs b/src/KubernetesClient/generated/Models/V2beta2PodsMetricStatus.cs new file mode 100644 index 000000000..36b7149fd --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2PodsMetricStatus.cs @@ -0,0 +1,83 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// PodsMetricStatus indicates the current value of a metric describing + /// each pod in the current scale target (for example, + /// transactions-processed-per-second). + /// + public partial class V2beta2PodsMetricStatus + { + /// + /// Initializes a new instance of the V2beta2PodsMetricStatus class. + /// + public V2beta2PodsMetricStatus() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V2beta2PodsMetricStatus class. + /// + /// current contains the current value for the + /// given metric + /// metric identifies the target metric by name + /// and selector + public V2beta2PodsMetricStatus(V2beta2MetricValueStatus current, V2beta2MetricIdentifier metric) + { + Current = current; + Metric = metric; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current contains the current value for the given + /// metric + /// + [JsonProperty(PropertyName = "current")] + public V2beta2MetricValueStatus Current { get; set; } + + /// + /// Gets or sets metric identifies the target metric by name and + /// selector + /// + [JsonProperty(PropertyName = "metric")] + public V2beta2MetricIdentifier Metric { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Current == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Current"); + } + if (Metric == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Metric"); + } + if (Metric != null) + { + Metric.Validate(); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2ResourceMetricSource.cs b/src/KubernetesClient/generated/Models/V2beta2ResourceMetricSource.cs new file mode 100644 index 000000000..1713ce31a --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2ResourceMetricSource.cs @@ -0,0 +1,87 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// ResourceMetricSource indicates how to scale on a resource metric known + /// to Kubernetes, as specified in requests and limits, describing each pod + /// in the current scale target (e.g. CPU or memory). The values will be + /// averaged together before being compared to the target. Such metrics + /// are built in to Kubernetes, and have special scaling options on top of + /// those available to normal per-pod metrics using the "pods" source. + /// Only one "target" type should be set. + /// + public partial class V2beta2ResourceMetricSource + { + /// + /// Initializes a new instance of the V2beta2ResourceMetricSource + /// class. + /// + public V2beta2ResourceMetricSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V2beta2ResourceMetricSource + /// class. + /// + /// name is the name of the resource in + /// question. + /// target specifies the target value for the + /// given metric + public V2beta2ResourceMetricSource(string name, V2beta2MetricTarget target) + { + Name = name; + Target = target; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets name is the name of the resource in question. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets target specifies the target value for the given metric + /// + [JsonProperty(PropertyName = "target")] + public V2beta2MetricTarget Target { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); + } + if (Target == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Target"); + } + if (Target != null) + { + Target.Validate(); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2ResourceMetricStatus.cs b/src/KubernetesClient/generated/Models/V2beta2ResourceMetricStatus.cs new file mode 100644 index 000000000..d676b6b55 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2ResourceMetricStatus.cs @@ -0,0 +1,83 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// ResourceMetricStatus indicates the current value of a resource metric + /// known to Kubernetes, as specified in requests and limits, describing + /// each pod in the current scale target (e.g. CPU or memory). Such + /// metrics are built in to Kubernetes, and have special scaling options on + /// top of those available to normal per-pod metrics using the "pods" + /// source. + /// + public partial class V2beta2ResourceMetricStatus + { + /// + /// Initializes a new instance of the V2beta2ResourceMetricStatus + /// class. + /// + public V2beta2ResourceMetricStatus() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V2beta2ResourceMetricStatus + /// class. + /// + /// current contains the current value for the + /// given metric + /// Name is the name of the resource in + /// question. + public V2beta2ResourceMetricStatus(V2beta2MetricValueStatus current, string name) + { + Current = current; + Name = name; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current contains the current value for the given + /// metric + /// + [JsonProperty(PropertyName = "current")] + public V2beta2MetricValueStatus Current { get; set; } + + /// + /// Gets or sets name is the name of the resource in question. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Current == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Current"); + } + if (Name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); + } + } + } +} diff --git a/src/KubernetesClient/generated/swagger.json b/src/KubernetesClient/generated/swagger.json index b6816db3a..ffe2d47e0 100644 --- a/src/KubernetesClient/generated/swagger.json +++ b/src/KubernetesClient/generated/swagger.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Kubernetes", - "version": "v1.10.0" + "version": "v1.12.0" }, "paths": { "/api/": { @@ -113,7 +113,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -271,7 +271,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -375,7 +375,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -479,7 +479,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -583,7 +583,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -669,7 +669,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -908,7 +908,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -1058,7 +1058,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -1277,6 +1277,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -1306,6 +1313,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -1414,7 +1427,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -1564,7 +1577,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -1783,6 +1796,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -1812,6 +1832,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -1920,7 +1946,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -2070,7 +2096,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -2289,6 +2315,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -2318,6 +2351,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -2426,7 +2465,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -2576,7 +2615,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -2795,6 +2834,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -2824,6 +2870,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -2932,7 +2984,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -3082,7 +3134,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -3301,6 +3353,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -3330,6 +3389,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -3598,7 +3663,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -3748,7 +3813,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -3967,6 +4032,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -3996,6 +4068,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -4110,7 +4188,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodAttachOptions", "version": "v1" } }, @@ -4143,7 +4221,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodAttachOptions", "version": "v1" } }, @@ -4158,7 +4236,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Pod", + "description": "name of the PodAttachOptions", "name": "name", "in": "path", "required": true @@ -4399,7 +4477,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodExecOptions", "version": "v1" } }, @@ -4432,7 +4510,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodExecOptions", "version": "v1" } }, @@ -4454,7 +4532,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Pod", + "description": "name of the PodExecOptions", "name": "name", "in": "path", "required": true @@ -4639,7 +4717,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodPortForwardOptions", "version": "v1" } }, @@ -4672,7 +4750,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodPortForwardOptions", "version": "v1" } }, @@ -4680,7 +4758,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Pod", + "description": "name of the PodPortForwardOptions", "name": "name", "in": "path", "required": true @@ -4732,7 +4810,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4765,7 +4843,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4798,7 +4876,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4831,7 +4909,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4864,7 +4942,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4897,7 +4975,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4930,7 +5008,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4938,7 +5016,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Pod", + "description": "name of the PodProxyOptions", "name": "name", "in": "path", "required": true @@ -4990,7 +5068,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -5023,7 +5101,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -5056,7 +5134,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -5089,7 +5167,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -5122,7 +5200,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -5155,7 +5233,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -5188,7 +5266,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -5196,7 +5274,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Pod", + "description": "name of the PodProxyOptions", "name": "name", "in": "path", "required": true @@ -5410,7 +5488,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -5560,7 +5638,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -5779,6 +5857,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -5808,6 +5893,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -5916,7 +6007,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -6066,7 +6157,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -6285,6 +6376,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -6314,6 +6412,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -6742,7 +6846,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -6892,7 +6996,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -7111,6 +7215,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -7140,6 +7251,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -7408,7 +7525,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -7558,7 +7675,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -7777,6 +7894,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -7806,6 +7930,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -7914,7 +8044,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -8064,7 +8194,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -8283,6 +8413,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -8312,6 +8449,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -8420,7 +8563,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -8696,6 +8839,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -8725,6 +8875,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -8839,7 +8995,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8872,7 +9028,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8905,7 +9061,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8938,7 +9094,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8971,7 +9127,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -9004,7 +9160,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -9037,7 +9193,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -9045,7 +9201,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Service", + "description": "name of the ServiceProxyOptions", "name": "name", "in": "path", "required": true @@ -9097,7 +9253,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -9130,7 +9286,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -9163,7 +9319,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -9196,7 +9352,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -9229,7 +9385,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -9262,7 +9418,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -9295,7 +9451,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -9303,7 +9459,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Service", + "description": "name of the ServiceProxyOptions", "name": "name", "in": "path", "required": true @@ -9622,6 +9778,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -9651,6 +9814,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -9973,7 +10142,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -10123,7 +10292,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -10334,6 +10503,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -10363,6 +10539,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -10469,7 +10651,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10502,7 +10684,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10535,7 +10717,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10568,7 +10750,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10601,7 +10783,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10634,7 +10816,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10667,7 +10849,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10675,7 +10857,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Node", + "description": "name of the NodeProxyOptions", "name": "name", "in": "path", "required": true @@ -10719,7 +10901,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10752,7 +10934,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10785,7 +10967,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10818,7 +11000,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10851,7 +11033,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10884,7 +11066,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10917,7 +11099,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10925,7 +11107,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Node", + "description": "name of the NodeProxyOptions", "name": "name", "in": "path", "required": true @@ -11141,7 +11323,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -11227,7 +11409,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -11377,7 +11559,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -11588,6 +11770,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -11617,6 +11806,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -11887,7 +12082,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -11991,7 +12186,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12095,7 +12290,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12199,7 +12394,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12303,7 +12498,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12407,7 +12602,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12511,7 +12706,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12578,7 +12773,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12645,7 +12840,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12712,7 +12907,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12779,7 +12974,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12846,7 +13041,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12913,7 +13108,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12988,7 +13183,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13071,7 +13266,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13146,7 +13341,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13229,7 +13424,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13304,7 +13499,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13387,7 +13582,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13462,7 +13657,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13545,7 +13740,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13620,7 +13815,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13703,7 +13898,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13778,7 +13973,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13861,7 +14056,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13936,7 +14131,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14019,7 +14214,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14094,7 +14289,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14177,7 +14372,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14252,7 +14447,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14335,7 +14530,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14410,7 +14605,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14493,7 +14688,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14568,7 +14763,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14651,7 +14846,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14726,7 +14921,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14809,7 +15004,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14884,7 +15079,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14951,7 +15146,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15026,7 +15221,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15093,7 +15288,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15160,7 +15355,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15235,7 +15430,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15302,7 +15497,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15369,7 +15564,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15436,7 +15631,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15503,7 +15698,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15570,7 +15765,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15637,7 +15832,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15822,7 +16017,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15972,7 +16167,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -16183,6 +16378,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -16212,6 +16414,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -16293,7 +16501,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -16360,7 +16568,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -16487,7 +16695,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -16637,7 +16845,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -16848,6 +17056,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -16877,6 +17092,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -16977,7 +17198,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -17127,7 +17348,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -17338,6 +17559,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -17367,6 +17595,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -17448,7 +17682,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -17515,7 +17749,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -17590,7 +17824,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -17657,7 +17891,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -17817,7 +18051,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -17967,7 +18201,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -18178,6 +18412,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -18207,6 +18448,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -18284,6 +18531,41 @@ ] }, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status": { + "get": { + "description": "read status of the specified CustomResourceDefinition", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1beta1" + ], + "operationId": "readCustomResourceDefinitionStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinition" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" + } + }, "put": { "description": "replace status of the specified CustomResourceDefinition", "consumes": [ @@ -18335,6 +18617,53 @@ "version": "v1beta1" } }, + "patch": { + "description": "partially update status of the specified CustomResourceDefinition", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1beta1" + ], + "operationId": "patchCustomResourceDefinitionStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinition" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" + } + }, "parameters": [ { "uniqueItems": true, @@ -18358,7 +18687,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -18425,7 +18754,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -18585,7 +18914,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -18735,7 +19064,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -18946,6 +19275,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -18975,6 +19311,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -19052,6 +19394,41 @@ ] }, "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status": { + "get": { + "description": "read status of the specified APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "readAPIServiceStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, "put": { "description": "replace status of the specified APIService", "consumes": [ @@ -19103,6 +19480,53 @@ "version": "v1" } }, + "patch": { + "description": "partially update status of the specified APIService", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "patchAPIServiceStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, "parameters": [ { "uniqueItems": true, @@ -19126,7 +19550,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -19193,7 +19617,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -19320,7 +19744,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -19470,7 +19894,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -19681,6 +20105,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -19710,6 +20141,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -19787,6 +20224,41 @@ ] }, "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status": { + "get": { + "description": "read status of the specified APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1beta1" + ], + "operationId": "readAPIServiceStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" + } + }, "put": { "description": "replace status of the specified APIService", "consumes": [ @@ -19838,6 +20310,53 @@ "version": "v1beta1" } }, + "patch": { + "description": "partially update status of the specified APIService", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1beta1" + ], + "operationId": "patchAPIServiceStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" + } + }, "parameters": [ { "uniqueItems": true, @@ -19861,7 +20380,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -19928,7 +20447,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -20106,7 +20625,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -20210,7 +20729,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -20314,7 +20833,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -20400,7 +20919,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -20550,7 +21069,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -20769,6 +21288,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -20798,6 +21324,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -20906,7 +21438,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -21056,7 +21588,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -21275,6 +21807,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -21304,6 +21843,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -21572,7 +22117,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -21722,7 +22267,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -21941,6 +22486,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -21970,6 +22522,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -22398,7 +22956,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -22548,7 +23106,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -22767,6 +23325,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -22796,6 +23361,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -23224,7 +23795,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -23374,7 +23945,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -23593,6 +24164,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -23622,6 +24200,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -24068,7 +24652,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -24172,7 +24756,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -24239,7 +24823,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -24306,7 +24890,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -24373,7 +24957,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -24440,7 +25024,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -24515,7 +25099,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -24598,7 +25182,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -24673,7 +25257,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -24756,7 +25340,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -24831,7 +25415,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -24914,7 +25498,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -24989,7 +25573,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -25072,7 +25656,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -25147,7 +25731,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -25230,7 +25814,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -25297,7 +25881,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -25434,7 +26018,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -25538,7 +26122,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -25624,7 +26208,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -25774,7 +26358,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -25993,6 +26577,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -26022,6 +26613,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -26130,7 +26727,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -26280,7 +26877,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -26499,6 +27096,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -26528,6 +27132,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -26644,19 +27254,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.DeploymentRollback" + "$ref": "#/definitions/apps.v1beta1.DeploymentStatus" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/apps.v1beta1.DeploymentRollback" + "$ref": "#/definitions/apps.v1beta1.DeploymentStatus" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/apps.v1beta1.DeploymentRollback" + "$ref": "#/definitions/apps.v1beta1.DeploymentStatus" } }, "401": { @@ -27040,7 +27650,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27190,7 +27800,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27409,6 +28019,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -27438,6 +28055,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -27884,7 +28507,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27951,7 +28574,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -28018,7 +28641,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -28085,7 +28708,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -28160,7 +28783,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -28243,7 +28866,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -28318,7 +28941,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -28401,7 +29024,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -28476,7 +29099,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -28559,7 +29182,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -28696,7 +29319,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -28800,7 +29423,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -28904,7 +29527,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -28990,7 +29613,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -29140,7 +29763,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -29359,6 +29982,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -29388,6 +30018,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -29496,7 +30132,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -29646,7 +30282,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -29865,6 +30501,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -29894,6 +30537,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -30162,7 +30811,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -30312,7 +30961,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -30531,6 +31180,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -30560,6 +31216,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -30988,7 +31650,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -31138,7 +31800,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -31357,6 +32019,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -31386,6 +32055,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -31814,7 +32489,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -31964,7 +32639,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -32183,6 +32858,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -32212,6 +32894,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -32658,7 +33346,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -32762,7 +33450,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -32829,7 +33517,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -32896,7 +33584,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -32963,7 +33651,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -33030,7 +33718,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -33105,7 +33793,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -33188,7 +33876,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -33263,7 +33951,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -33346,7 +34034,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -33421,7 +34109,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -33504,7 +34192,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -33579,7 +34267,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -33662,7 +34350,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -33737,7 +34425,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -33820,7 +34508,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -33887,7 +34575,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -34951,7 +35639,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -35037,7 +35725,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -35187,7 +35875,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -35406,6 +36094,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -35435,6 +36130,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -35684,7 +36385,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -35751,7 +36452,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -35826,7 +36527,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -35979,7 +36680,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -36065,7 +36766,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -36215,7 +36916,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -36434,6 +37135,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -36463,6 +37171,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -36712,7 +37426,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -36779,7 +37493,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -36854,7 +37568,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -36932,40 +37646,7 @@ } ] }, - "/apis/batch/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "batch" - ], - "operationId": "getAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/batch/v1/": { + "/apis/autoscaling/v2beta2/": { "get": { "description": "get available resources", "consumes": [ @@ -36982,7 +37663,7 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], "operationId": "getAPIResources", "responses": { @@ -36998,9 +37679,9 @@ } } }, - "/apis/batch/v1/jobs": { + "/apis/autoscaling/v2beta2/horizontalpodautoscalers": { "get": { - "description": "list or watch objects of kind Job", + "description": "list or watch objects of kind HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -37015,14 +37696,14 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "listJobForAllNamespaces", + "operationId": "listHorizontalPodAutoscalerForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.JobList" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscalerList" } }, "401": { @@ -37031,16 +37712,16 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -37102,9 +37783,9 @@ } ] }, - "/apis/batch/v1/namespaces/{namespace}/jobs": { + "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers": { "get": { - "description": "list or watch objects of kind Job", + "description": "list or watch objects of kind HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -37119,14 +37800,14 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "listNamespacedJob", + "operationId": "listNamespacedHorizontalPodAutoscaler", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -37184,7 +37865,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.JobList" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscalerList" } }, "401": { @@ -37193,13 +37874,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "post": { - "description": "create a Job", + "description": "create a HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -37212,16 +37893,16 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "createNamespacedJob", + "operationId": "createNamespacedHorizontalPodAutoscaler", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } } ], @@ -37229,19 +37910,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -37250,13 +37931,13 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "delete": { - "description": "delete collection of Job", + "description": "delete collection of HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -37269,14 +37950,14 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "deleteCollectionNamespacedJob", + "operationId": "deleteCollectionNamespacedHorizontalPodAutoscaler", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -37343,9 +38024,9 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ @@ -37366,9 +38047,9 @@ } ] }, - "/apis/batch/v1/namespaces/{namespace}/jobs/{name}": { + "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "get": { - "description": "read the specified Job", + "description": "read the specified HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -37381,9 +38062,9 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "readNamespacedJob", + "operationId": "readNamespacedHorizontalPodAutoscaler", "parameters": [ { "uniqueItems": true, @@ -37404,7 +38085,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -37413,13 +38094,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "put": { - "description": "replace the specified Job", + "description": "replace the specified HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -37432,16 +38113,16 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "replaceNamespacedJob", + "operationId": "replaceNamespacedHorizontalPodAutoscaler", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } } ], @@ -37449,13 +38130,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -37464,13 +38145,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "delete": { - "description": "delete a Job", + "description": "delete a HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -37483,9 +38164,9 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "deleteNamespacedJob", + "operationId": "deleteNamespacedHorizontalPodAutoscaler", "parameters": [ { "name": "body", @@ -37495,6 +38176,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -37524,19 +38212,25 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "patch": { - "description": "partially update the specified Job", + "description": "partially update the specified HorizontalPodAutoscaler", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -37551,9 +38245,9 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "patchNamespacedJob", + "operationId": "patchNamespacedHorizontalPodAutoscaler", "parameters": [ { "name": "body", @@ -37568,7 +38262,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -37577,16 +38271,16 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Job", + "description": "name of the HorizontalPodAutoscaler", "name": "name", "in": "path", "required": true @@ -37608,9 +38302,9 @@ } ] }, - "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status": { + "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { "get": { - "description": "read status of the specified Job", + "description": "read status of the specified HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -37623,14 +38317,14 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "readNamespacedJobStatus", + "operationId": "readNamespacedHorizontalPodAutoscalerStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -37639,13 +38333,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "put": { - "description": "replace status of the specified Job", + "description": "replace status of the specified HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -37658,16 +38352,16 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "replaceNamespacedJobStatus", + "operationId": "replaceNamespacedHorizontalPodAutoscalerStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } } ], @@ -37675,13 +38369,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -37690,13 +38384,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "patch": { - "description": "partially update status of the specified Job", + "description": "partially update status of the specified HorizontalPodAutoscaler", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -37711,9 +38405,9 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "patchNamespacedJobStatus", + "operationId": "patchNamespacedHorizontalPodAutoscalerStatus", "parameters": [ { "name": "body", @@ -37728,7 +38422,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -37737,16 +38431,16 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Job", + "description": "name of the HorizontalPodAutoscaler", "name": "name", "in": "path", "required": true @@ -37768,12 +38462,12 @@ } ] }, - "/apis/batch/v1/watch/jobs": { + "/apis/autoscaling/v2beta2/watch/horizontalpodautoscalers": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -37835,12 +38529,12 @@ } ] }, - "/apis/batch/v1/watch/namespaces/{namespace}/jobs": { + "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -37910,12 +38604,12 @@ } ] }, - "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}": { + "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -37950,7 +38644,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Job", + "description": "name of the HorizontalPodAutoscaler", "name": "name", "in": "path", "required": true @@ -37993,7 +38687,40 @@ } ] }, - "/apis/batch/v1beta1/": { + "/apis/batch/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/batch/v1/": { "get": { "description": "get available resources", "consumes": [ @@ -38010,7 +38737,7 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], "operationId": "getAPIResources", "responses": { @@ -38026,9 +38753,9 @@ } } }, - "/apis/batch/v1beta1/cronjobs": { + "/apis/batch/v1/jobs": { "get": { - "description": "list or watch objects of kind CronJob", + "description": "list or watch objects of kind Job", "consumes": [ "*/*" ], @@ -38043,14 +38770,14 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "listCronJobForAllNamespaces", + "operationId": "listJobForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CronJobList" + "$ref": "#/definitions/v1.JobList" } }, "401": { @@ -38060,15 +38787,15 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -38130,9 +38857,9 @@ } ] }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs": { + "/apis/batch/v1/namespaces/{namespace}/jobs": { "get": { - "description": "list or watch objects of kind CronJob", + "description": "list or watch objects of kind Job", "consumes": [ "*/*" ], @@ -38147,14 +38874,14 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "listNamespacedCronJob", + "operationId": "listNamespacedJob", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -38212,7 +38939,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CronJobList" + "$ref": "#/definitions/v1.JobList" } }, "401": { @@ -38222,12 +38949,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "post": { - "description": "create a CronJob", + "description": "create a Job", "consumes": [ "*/*" ], @@ -38240,16 +38967,16 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "createNamespacedCronJob", + "operationId": "createNamespacedJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1.Job" } } ], @@ -38257,19 +38984,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1.Job" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1.Job" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -38279,12 +39006,12 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "delete": { - "description": "delete collection of CronJob", + "description": "delete collection of Job", "consumes": [ "*/*" ], @@ -38297,14 +39024,14 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "deleteCollectionNamespacedCronJob", + "operationId": "deleteCollectionNamespacedJob", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -38372,8 +39099,8 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "parameters": [ @@ -38394,9 +39121,9 @@ } ] }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}": { + "/apis/batch/v1/namespaces/{namespace}/jobs/{name}": { "get": { - "description": "read the specified CronJob", + "description": "read the specified Job", "consumes": [ "*/*" ], @@ -38409,9 +39136,9 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "readNamespacedCronJob", + "operationId": "readNamespacedJob", "parameters": [ { "uniqueItems": true, @@ -38432,7 +39159,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -38442,12 +39169,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "put": { - "description": "replace the specified CronJob", + "description": "replace the specified Job", "consumes": [ "*/*" ], @@ -38460,16 +39187,16 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "replaceNamespacedCronJob", + "operationId": "replaceNamespacedJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1.Job" } } ], @@ -38477,13 +39204,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1.Job" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -38493,12 +39220,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "delete": { - "description": "delete a CronJob", + "description": "delete a Job", "consumes": [ "*/*" ], @@ -38511,9 +39238,9 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "deleteNamespacedCronJob", + "operationId": "deleteNamespacedJob", "parameters": [ { "name": "body", @@ -38523,6 +39250,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -38552,6 +39286,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -38559,12 +39299,12 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "patch": { - "description": "partially update the specified CronJob", + "description": "partially update the specified Job", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -38579,9 +39319,9 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "patchNamespacedCronJob", + "operationId": "patchNamespacedJob", "parameters": [ { "name": "body", @@ -38596,7 +39336,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -38606,15 +39346,15 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the CronJob", + "description": "name of the Job", "name": "name", "in": "path", "required": true @@ -38636,9 +39376,9 @@ } ] }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status": { + "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status": { "get": { - "description": "read status of the specified CronJob", + "description": "read status of the specified Job", "consumes": [ "*/*" ], @@ -38651,14 +39391,14 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "readNamespacedCronJobStatus", + "operationId": "readNamespacedJobStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -38668,12 +39408,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "put": { - "description": "replace status of the specified CronJob", + "description": "replace status of the specified Job", "consumes": [ "*/*" ], @@ -38686,16 +39426,16 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "replaceNamespacedCronJobStatus", + "operationId": "replaceNamespacedJobStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1.Job" } } ], @@ -38703,13 +39443,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1.Job" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -38719,12 +39459,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "patch": { - "description": "partially update status of the specified CronJob", + "description": "partially update status of the specified Job", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -38739,9 +39479,9 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "patchNamespacedCronJobStatus", + "operationId": "patchNamespacedJobStatus", "parameters": [ { "name": "body", @@ -38756,7 +39496,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -38766,15 +39506,15 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the CronJob", + "description": "name of the Job", "name": "name", "in": "path", "required": true @@ -38796,12 +39536,12 @@ } ] }, - "/apis/batch/v1beta1/watch/cronjobs": { + "/apis/batch/v1/watch/jobs": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -38863,12 +39603,12 @@ } ] }, - "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs": { + "/apis/batch/v1/watch/namespaces/{namespace}/jobs": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -38938,12 +39678,12 @@ } ] }, - "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs/{name}": { + "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -38978,7 +39718,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the CronJob", + "description": "name of the Job", "name": "name", "in": "path", "required": true @@ -39021,7 +39761,7 @@ } ] }, - "/apis/batch/v2alpha1/": { + "/apis/batch/v1beta1/": { "get": { "description": "get available resources", "consumes": [ @@ -39038,7 +39778,7 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "operationId": "getAPIResources", "responses": { @@ -39054,7 +39794,7 @@ } } }, - "/apis/batch/v2alpha1/cronjobs": { + "/apis/batch/v1beta1/cronjobs": { "get": { "description": "list or watch objects of kind CronJob", "consumes": [ @@ -39071,14 +39811,14 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "operationId": "listCronJobForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJobList" + "$ref": "#/definitions/v1beta1.CronJobList" } }, "401": { @@ -39089,14 +39829,14 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -39158,7 +39898,7 @@ } ] }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs": { + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs": { "get": { "description": "list or watch objects of kind CronJob", "consumes": [ @@ -39175,14 +39915,14 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "operationId": "listNamespacedCronJob", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -39240,7 +39980,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJobList" + "$ref": "#/definitions/v1beta1.CronJobList" } }, "401": { @@ -39251,7 +39991,7 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "post": { @@ -39268,7 +40008,7 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "operationId": "createNamespacedCronJob", "parameters": [ @@ -39277,7 +40017,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta1.CronJob" } } ], @@ -39285,19 +40025,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta1.CronJob" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { @@ -39308,7 +40048,7 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "delete": { @@ -39325,14 +40065,14 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "operationId": "deleteCollectionNamespacedCronJob", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -39401,7 +40141,7 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -39422,7 +40162,7 @@ } ] }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}": { + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}": { "get": { "description": "read the specified CronJob", "consumes": [ @@ -39437,7 +40177,7 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "operationId": "readNamespacedCronJob", "parameters": [ @@ -39460,7 +40200,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { @@ -39471,7 +40211,7 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "put": { @@ -39488,7 +40228,7 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "operationId": "replaceNamespacedCronJob", "parameters": [ @@ -39497,7 +40237,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta1.CronJob" } } ], @@ -39505,13 +40245,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { @@ -39522,7 +40262,7 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "delete": { @@ -39539,7 +40279,7 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "operationId": "deleteNamespacedCronJob", "parameters": [ @@ -39551,6 +40291,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -39580,6 +40327,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -39588,7 +40341,7 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "patch": { @@ -39607,7 +40360,7 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "operationId": "patchNamespacedCronJob", "parameters": [ @@ -39624,7 +40377,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { @@ -39635,7 +40388,7 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -39664,7 +40417,7 @@ } ] }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status": { + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status": { "get": { "description": "read status of the specified CronJob", "consumes": [ @@ -39679,14 +40432,14 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "operationId": "readNamespacedCronJobStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { @@ -39697,7 +40450,7 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "put": { @@ -39714,7 +40467,7 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "operationId": "replaceNamespacedCronJobStatus", "parameters": [ @@ -39723,7 +40476,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta1.CronJob" } } ], @@ -39731,13 +40484,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { @@ -39748,7 +40501,7 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "patch": { @@ -39767,7 +40520,7 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], "operationId": "patchNamespacedCronJobStatus", "parameters": [ @@ -39784,7 +40537,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { @@ -39795,7 +40548,7 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -39824,12 +40577,12 @@ } ] }, - "/apis/batch/v2alpha1/watch/cronjobs": { + "/apis/batch/v1beta1/watch/cronjobs": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -39891,12 +40644,12 @@ } ] }, - "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs": { + "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -39966,12 +40719,12 @@ } ] }, - "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs/{name}": { + "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -40049,9 +40802,9 @@ } ] }, - "/apis/certificates.k8s.io/": { + "/apis/batch/v2alpha1/": { "get": { - "description": "get information of a group", + "description": "get available resources", "consumes": [ "application/json", "application/yaml", @@ -40066,14 +40819,14 @@ "https" ], "tags": [ - "certificates" + "batch_v2alpha1" ], - "operationId": "getAPIGroup", + "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIGroup" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -40082,42 +40835,113 @@ } } }, - "/apis/certificates.k8s.io/v1beta1/": { + "/apis/batch/v2alpha1/cronjobs": { "get": { - "description": "get available resources", + "description": "list or watch objects of kind CronJob", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "getAPIResources", + "operationId": "listCronJobForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v2alpha1.CronJobList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } - } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests": { + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs": { "get": { - "description": "list or watch objects of kind CertificateSigningRequest", + "description": "list or watch objects of kind CronJob", "consumes": [ "*/*" ], @@ -40132,14 +40956,14 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "listCertificateSigningRequest", + "operationId": "listNamespacedCronJob", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -40197,7 +41021,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequestList" + "$ref": "#/definitions/v2alpha1.CronJobList" } }, "401": { @@ -40206,13 +41030,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "post": { - "description": "create a CertificateSigningRequest", + "description": "create a CronJob", "consumes": [ "*/*" ], @@ -40225,16 +41049,16 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "createCertificateSigningRequest", + "operationId": "createNamespacedCronJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v2alpha1.CronJob" } } ], @@ -40242,19 +41066,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { @@ -40263,13 +41087,13 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "delete": { - "description": "delete collection of CertificateSigningRequest", + "description": "delete collection of CronJob", "consumes": [ "*/*" ], @@ -40282,14 +41106,14 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "deleteCollectionCertificateSigningRequest", + "operationId": "deleteCollectionNamespacedCronJob", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -40356,12 +41180,20 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -40371,9 +41203,9 @@ } ] }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}": { + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}": { "get": { - "description": "read the specified CertificateSigningRequest", + "description": "read the specified CronJob", "consumes": [ "*/*" ], @@ -40386,9 +41218,9 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "readCertificateSigningRequest", + "operationId": "readNamespacedCronJob", "parameters": [ { "uniqueItems": true, @@ -40409,7 +41241,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { @@ -40418,13 +41250,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "put": { - "description": "replace the specified CertificateSigningRequest", + "description": "replace the specified CronJob", "consumes": [ "*/*" ], @@ -40437,16 +41269,16 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "replaceCertificateSigningRequest", + "operationId": "replaceNamespacedCronJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v2alpha1.CronJob" } } ], @@ -40454,13 +41286,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { @@ -40469,13 +41301,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "delete": { - "description": "delete a CertificateSigningRequest", + "description": "delete a CronJob", "consumes": [ "*/*" ], @@ -40488,9 +41320,9 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "deleteCertificateSigningRequest", + "operationId": "deleteNamespacedCronJob", "parameters": [ { "name": "body", @@ -40500,6 +41332,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -40529,19 +41368,25 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "patch": { - "description": "partially update the specified CertificateSigningRequest", + "description": "partially update the specified CronJob", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -40556,9 +41401,9 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "patchCertificateSigningRequest", + "operationId": "patchNamespacedCronJob", "parameters": [ { "name": "body", @@ -40573,7 +41418,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { @@ -40582,20 +41427,28 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the CertificateSigningRequest", + "description": "name of the CronJob", "name": "name", "in": "path", "required": true }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -40605,9 +41458,44 @@ } ] }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval": { + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status": { + "get": { + "description": "read status of the specified CronJob", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v2alpha1" + ], + "operationId": "readNamespacedCronJobStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v2alpha1.CronJob" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" + } + }, "put": { - "description": "replace approval of the specified CertificateSigningRequest", + "description": "replace status of the specified CronJob", "consumes": [ "*/*" ], @@ -40620,16 +41508,16 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "replaceCertificateSigningRequestApproval", + "operationId": "replaceNamespacedCronJobStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v2alpha1.CronJob" } } ], @@ -40637,13 +41525,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { @@ -40652,34 +41540,17 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the CertificateSigningRequest", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status": { - "put": { - "description": "replace status of the specified CertificateSigningRequest", + "patch": { + "description": "partially update status of the specified CronJob", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", @@ -40690,16 +41561,16 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "replaceCertificateSigningRequestStatus", + "operationId": "patchNamespacedCronJobStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v1.Patch" } } ], @@ -40707,35 +41578,37 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the CertificateSigningRequest", + "description": "name of the CronJob", "name": "name", "in": "path", "required": true }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -40745,12 +41618,12 @@ } ] }, - "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests": { + "/apis/batch/v2alpha1/watch/cronjobs": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -40812,12 +41685,12 @@ } ] }, - "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests/{name}": { + "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -40852,8 +41725,8 @@ { "uniqueItems": true, "type": "string", - "description": "name of the CertificateSigningRequest", - "name": "name", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", "in": "path", "required": true }, @@ -40887,115 +41760,12 @@ } ] }, - "/apis/events.k8s.io/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "events" - ], - "operationId": "getAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/events.k8s.io/v1beta1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "events_v1beta1" - ], - "operationId": "getAPIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/events.k8s.io/v1beta1/events": { - "get": { - "description": "list or watch objects of kind Event", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "events_v1beta1" - ], - "operationId": "listEventForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.EventList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" - } - }, + "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -41027,6 +41797,22 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the CronJob", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -41057,9 +41843,75 @@ } ] }, - "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events": { + "/apis/certificates.k8s.io/": { "get": { - "description": "list or watch objects of kind Event", + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/certificates.k8s.io/v1beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests": { + "get": { + "description": "list or watch objects of kind CertificateSigningRequest", "consumes": [ "*/*" ], @@ -41074,14 +41926,14 @@ "https" ], "tags": [ - "events_v1beta1" + "certificates_v1beta1" ], - "operationId": "listNamespacedEvent", + "operationId": "listCertificateSigningRequest", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -41139,7 +41991,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.EventList" + "$ref": "#/definitions/v1beta1.CertificateSigningRequestList" } }, "401": { @@ -41148,13 +42000,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", "version": "v1beta1" } }, "post": { - "description": "create an Event", + "description": "create a CertificateSigningRequest", "consumes": [ "*/*" ], @@ -41167,16 +42019,16 @@ "https" ], "tags": [ - "events_v1beta1" + "certificates_v1beta1" ], - "operationId": "createNamespacedEvent", + "operationId": "createCertificateSigningRequest", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.Event" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } } ], @@ -41184,19 +42036,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Event" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.Event" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta1.Event" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, "401": { @@ -41205,13 +42057,13 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", "version": "v1beta1" } }, "delete": { - "description": "delete collection of Event", + "description": "delete collection of CertificateSigningRequest", "consumes": [ "*/*" ], @@ -41224,14 +42076,14 @@ "https" ], "tags": [ - "events_v1beta1" + "certificates_v1beta1" ], - "operationId": "deleteCollectionNamespacedEvent", + "operationId": "deleteCollectionCertificateSigningRequest", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -41298,20 +42150,12 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", "version": "v1beta1" } }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -41321,9 +42165,9 @@ } ] }, - "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}": { + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}": { "get": { - "description": "read the specified Event", + "description": "read the specified CertificateSigningRequest", "consumes": [ "*/*" ], @@ -41336,9 +42180,9 @@ "https" ], "tags": [ - "events_v1beta1" + "certificates_v1beta1" ], - "operationId": "readNamespacedEvent", + "operationId": "readCertificateSigningRequest", "parameters": [ { "uniqueItems": true, @@ -41359,7 +42203,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Event" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, "401": { @@ -41368,13 +42212,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", "version": "v1beta1" } }, "put": { - "description": "replace the specified Event", + "description": "replace the specified CertificateSigningRequest", "consumes": [ "*/*" ], @@ -41387,16 +42231,16 @@ "https" ], "tags": [ - "events_v1beta1" + "certificates_v1beta1" ], - "operationId": "replaceNamespacedEvent", + "operationId": "replaceCertificateSigningRequest", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.Event" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } } ], @@ -41404,13 +42248,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Event" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.Event" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, "401": { @@ -41419,13 +42263,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", "version": "v1beta1" } }, "delete": { - "description": "delete an Event", + "description": "delete a CertificateSigningRequest", "consumes": [ "*/*" ], @@ -41438,9 +42282,9 @@ "https" ], "tags": [ - "events_v1beta1" + "certificates_v1beta1" ], - "operationId": "deleteNamespacedEvent", + "operationId": "deleteCertificateSigningRequest", "parameters": [ { "name": "body", @@ -41450,6 +42294,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -41479,19 +42330,25 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", "version": "v1beta1" } }, "patch": { - "description": "partially update the specified Event", + "description": "partially update the specified CertificateSigningRequest", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -41506,9 +42363,9 @@ "https" ], "tags": [ - "events_v1beta1" + "certificates_v1beta1" ], - "operationId": "patchNamespacedEvent", + "operationId": "patchCertificateSigningRequest", "parameters": [ { "name": "body", @@ -41523,7 +42380,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Event" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, "401": { @@ -41532,8 +42389,8 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", "version": "v1beta1" } }, @@ -41541,19 +42398,11 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Event", + "description": "name of the CertificateSigningRequest", "name": "name", "in": "path", "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -41563,42 +42412,218 @@ } ] }, - "/apis/events.k8s.io/v1beta1/watch/events": { + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval": { + "put": { + "description": "replace approval of the specified CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "replaceCertificateSigningRequestApproval", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" + "description": "name of the CertificateSigningRequest", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", "in": "query" + } + ] + }, + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status": { + "get": { + "description": "read status of the specified CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "readCertificateSigningRequestStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + }, + "put": { + "description": "replace status of the specified CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "replaceCertificateSigningRequestStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update status of the specified CertificateSigningRequest", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "patchCertificateSigningRequestStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + }, + "parameters": [ { "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "type": "string", + "description": "name of the CertificateSigningRequest", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -41606,36 +42631,15 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events": { + "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -41667,14 +42671,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -41705,12 +42701,12 @@ } ] }, - "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events/{name}": { + "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -41745,19 +42741,11 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Event", + "description": "name of the CertificateSigningRequest", "name": "name", "in": "path", "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -41788,7 +42776,7 @@ } ] }, - "/apis/extensions/": { + "/apis/coordination.k8s.io/": { "get": { "description": "get information of a group", "consumes": [ @@ -41805,7 +42793,7 @@ "https" ], "tags": [ - "extensions" + "coordination" ], "operationId": "getAPIGroup", "responses": { @@ -41821,7 +42809,7 @@ } } }, - "/apis/extensions/v1beta1/": { + "/apis/coordination.k8s.io/v1beta1/": { "get": { "description": "get available resources", "consumes": [ @@ -41838,7 +42826,7 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], "operationId": "getAPIResources", "responses": { @@ -41854,217 +42842,9 @@ } } }, - "/apis/extensions/v1beta1/daemonsets": { - "get": { - "description": "list or watch objects of kind DaemonSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "listDaemonSetForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.DaemonSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/deployments": { - "get": { - "description": "list or watch objects of kind Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "listDeploymentForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/ingresses": { + "/apis/coordination.k8s.io/v1beta1/leases": { "get": { - "description": "list or watch objects of kind Ingress", + "description": "list or watch objects of kind Lease", "consumes": [ "*/*" ], @@ -42079,14 +42859,14 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], - "operationId": "listIngressForAllNamespaces", + "operationId": "listLeaseForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.IngressList" + "$ref": "#/definitions/v1beta1.LeaseList" } }, "401": { @@ -42095,8 +42875,8 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -42104,7 +42884,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -42166,9 +42946,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets": { + "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases": { "get": { - "description": "list or watch objects of kind DaemonSet", + "description": "list or watch objects of kind Lease", "consumes": [ "*/*" ], @@ -42183,14 +42963,14 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], - "operationId": "listNamespacedDaemonSet", + "operationId": "listNamespacedLease", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -42248,7 +43028,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSetList" + "$ref": "#/definitions/v1beta1.LeaseList" } }, "401": { @@ -42257,13 +43037,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, "post": { - "description": "create a DaemonSet", + "description": "create a Lease", "consumes": [ "*/*" ], @@ -42276,16 +43056,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], - "operationId": "createNamespacedDaemonSet", + "operationId": "createNamespacedLease", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.Lease" } } ], @@ -42293,19 +43073,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.Lease" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.Lease" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.Lease" } }, "401": { @@ -42314,13 +43094,13 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, "delete": { - "description": "delete collection of DaemonSet", + "description": "delete collection of Lease", "consumes": [ "*/*" ], @@ -42333,14 +43113,14 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], - "operationId": "deleteCollectionNamespacedDaemonSet", + "operationId": "deleteCollectionNamespacedLease", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -42407,8 +43187,8 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -42430,9 +43210,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}": { + "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}": { "get": { - "description": "read the specified DaemonSet", + "description": "read the specified Lease", "consumes": [ "*/*" ], @@ -42445,9 +43225,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], - "operationId": "readNamespacedDaemonSet", + "operationId": "readNamespacedLease", "parameters": [ { "uniqueItems": true, @@ -42468,7 +43248,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.Lease" } }, "401": { @@ -42477,13 +43257,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, "put": { - "description": "replace the specified DaemonSet", + "description": "replace the specified Lease", "consumes": [ "*/*" ], @@ -42496,16 +43276,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], - "operationId": "replaceNamespacedDaemonSet", + "operationId": "replaceNamespacedLease", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.Lease" } } ], @@ -42513,13 +43293,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.Lease" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.Lease" } }, "401": { @@ -42528,13 +43308,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, "delete": { - "description": "delete a DaemonSet", + "description": "delete a Lease", "consumes": [ "*/*" ], @@ -42547,9 +43327,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], - "operationId": "deleteNamespacedDaemonSet", + "operationId": "deleteNamespacedLease", "parameters": [ { "name": "body", @@ -42559,6 +43339,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -42588,19 +43375,25 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, "patch": { - "description": "partially update the specified DaemonSet", + "description": "partially update the specified Lease", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -42615,9 +43408,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], - "operationId": "patchNamespacedDaemonSet", + "operationId": "patchNamespacedLease", "parameters": [ { "name": "body", @@ -42632,7 +43425,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.Lease" } }, "401": { @@ -42641,8 +43434,8 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -42650,7 +43443,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the DaemonSet", + "description": "name of the Lease", "name": "name", "in": "path", "required": true @@ -42672,11 +43465,238 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status": { + "/apis/coordination.k8s.io/v1beta1/watch/leases": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Lease", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/events.k8s.io/": { "get": { - "description": "read status of the specified DaemonSet", + "description": "get information of a group", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -42687,31 +43707,29 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events" ], - "operationId": "readNamespacedDaemonSetStatus", + "operationId": "getAPIGroup", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" } - }, - "put": { - "description": "replace status of the specified DaemonSet", + } + }, + "/apis/events.k8s.io/v1beta1/": { + "get": { + "description": "get available resources", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -42722,87 +43740,57 @@ "https" ], "tags": [ - "extensions_v1beta1" - ], - "operationId": "replaceNamespacedDaemonSetStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" - } - } + "events_v1beta1" ], + "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" } - }, - "patch": { - "description": "partially update status of the specified DaemonSet", + } + }, + "/apis/events.k8s.io/v1beta1/events": { + "get": { + "description": "list or watch objects of kind Event", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "extensions_v1beta1" - ], - "operationId": "patchNamespacedDaemonSetStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - } + "events_v1beta1" ], + "operationId": "listEventForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.EventList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, @@ -42810,18 +43798,37 @@ { "uniqueItems": true, "type": "string", - "description": "name of the DaemonSet", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -42829,12 +43836,33 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments": { + "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events": { "get": { - "description": "list or watch objects of kind Deployment", + "description": "list or watch objects of kind Event", "consumes": [ "*/*" ], @@ -42849,14 +43877,14 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "operationId": "listNamespacedDeployment", + "operationId": "listNamespacedEvent", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -42914,7 +43942,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentList" + "$ref": "#/definitions/v1beta1.EventList" } }, "401": { @@ -42923,13 +43951,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, "post": { - "description": "create a Deployment", + "description": "create an Event", "consumes": [ "*/*" ], @@ -42942,16 +43970,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "operationId": "createNamespacedDeployment", + "operationId": "createNamespacedEvent", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.Event" } } ], @@ -42959,19 +43987,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.Event" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.Event" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.Event" } }, "401": { @@ -42980,13 +44008,13 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, "delete": { - "description": "delete collection of Deployment", + "description": "delete collection of Event", "consumes": [ "*/*" ], @@ -42999,14 +44027,14 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "operationId": "deleteCollectionNamespacedDeployment", + "operationId": "deleteCollectionNamespacedEvent", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -43073,8 +44101,8 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, @@ -43096,9 +44124,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}": { + "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}": { "get": { - "description": "read the specified Deployment", + "description": "read the specified Event", "consumes": [ "*/*" ], @@ -43111,9 +44139,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "operationId": "readNamespacedDeployment", + "operationId": "readNamespacedEvent", "parameters": [ { "uniqueItems": true, @@ -43134,7 +44162,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.Event" } }, "401": { @@ -43143,13 +44171,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, "put": { - "description": "replace the specified Deployment", + "description": "replace the specified Event", "consumes": [ "*/*" ], @@ -43162,16 +44190,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "operationId": "replaceNamespacedDeployment", + "operationId": "replaceNamespacedEvent", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.Event" } } ], @@ -43179,13 +44207,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.Event" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.Event" } }, "401": { @@ -43194,13 +44222,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, "delete": { - "description": "delete a Deployment", + "description": "delete an Event", "consumes": [ "*/*" ], @@ -43213,9 +44241,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "operationId": "deleteNamespacedDeployment", + "operationId": "deleteNamespacedEvent", "parameters": [ { "name": "body", @@ -43225,6 +44253,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -43254,19 +44289,25 @@ "$ref": "#/definitions/v1.Status" } }, - "401": { - "description": "Unauthorized" - } - }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, "patch": { - "description": "partially update the specified Deployment", + "description": "partially update the specified Event", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -43281,9 +44322,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "operationId": "patchNamespacedDeployment", + "operationId": "patchNamespacedEvent", "parameters": [ { "name": "body", @@ -43298,7 +44339,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.Event" } }, "401": { @@ -43307,8 +44348,8 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, @@ -43316,7 +44357,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Deployment", + "description": "name of the Event", "name": "name", "in": "path", "required": true @@ -43338,69 +44379,189 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback": { - "post": { - "description": "create rollback of a Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "createNamespacedDeploymentRollback", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentRollback" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentRollback" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentRollback" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentRollback" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/events.k8s.io/v1beta1/watch/events": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DeploymentRollback", - "version": "v1beta1" + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, + ] + }, + "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the DeploymentRollback", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Event", "name": "name", "in": "path", "required": true @@ -43419,14 +44580,37 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale": { + "/apis/extensions/": { "get": { - "description": "read scale of the specified Deployment", + "description": "get information of a group", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -43437,31 +44621,29 @@ "https" ], "tags": [ - "extensions_v1beta1" + "extensions" ], - "operationId": "readNamespacedDeploymentScale", + "operationId": "getAPIGroup", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" } - }, - "put": { - "description": "replace scale of the specified Deployment", + } + }, + "/apis/extensions/v1beta1/": { + "get": { + "description": "get available resources", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -43474,52 +44656,32 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "replaceNamespacedDeploymentScale", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" - } - } - ], + "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" } - }, - "patch": { - "description": "partially update scale of the specified Deployment", + } + }, + "/apis/extensions/v1beta1/daemonsets": { + "get": { + "description": "list or watch objects of kind DaemonSet", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -43527,32 +44689,22 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "patchNamespacedDeploymentScale", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - } - ], + "operationId": "listDaemonSetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1beta1.DaemonSetList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Scale", + "kind": "DaemonSet", "version": "v1beta1" } }, @@ -43560,18 +44712,37 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Scale", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -43579,19 +44750,42 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status": { + "/apis/extensions/v1beta1/deployments": { "get": { - "description": "read status of the specified Deployment", + "description": "list or watch objects of kind Deployment", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -43599,87 +44793,103 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "readNamespacedDeploymentStatus", + "operationId": "listDeploymentForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/extensions.v1beta1.DeploymentList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "extensions", "kind": "Deployment", "version": "v1beta1" } }, - "put": { - "description": "replace status of the specified Deployment", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/ingresses": { + "get": { + "description": "list or watch objects of kind Ingress", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "replaceNamespacedDeploymentStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "patch": { - "description": "partially update status of the specified Deployment", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -43687,32 +44897,22 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "patchNamespacedDeploymentStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - } - ], + "operationId": "listIngressForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.IngressList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Deployment", + "kind": "Ingress", "version": "v1beta1" } }, @@ -43720,18 +44920,37 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Deployment", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -43739,12 +44958,33 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses": { + "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets": { "get": { - "description": "list or watch objects of kind Ingress", + "description": "list or watch objects of kind DaemonSet", "consumes": [ "*/*" ], @@ -43761,12 +45001,12 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "listNamespacedIngress", + "operationId": "listNamespacedDaemonSet", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -43824,7 +45064,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.IngressList" + "$ref": "#/definitions/v1beta1.DaemonSetList" } }, "401": { @@ -43834,12 +45074,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "DaemonSet", "version": "v1beta1" } }, "post": { - "description": "create an Ingress", + "description": "create a DaemonSet", "consumes": [ "*/*" ], @@ -43854,14 +45094,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "createNamespacedIngress", + "operationId": "createNamespacedDaemonSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.DaemonSet" } } ], @@ -43869,19 +45109,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.DaemonSet" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.DaemonSet" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.DaemonSet" } }, "401": { @@ -43891,12 +45131,12 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "DaemonSet", "version": "v1beta1" } }, "delete": { - "description": "delete collection of Ingress", + "description": "delete collection of DaemonSet", "consumes": [ "*/*" ], @@ -43911,12 +45151,12 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "deleteCollectionNamespacedIngress", + "operationId": "deleteCollectionNamespacedDaemonSet", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -43984,7 +45224,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "DaemonSet", "version": "v1beta1" } }, @@ -44006,9 +45246,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}": { + "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}": { "get": { - "description": "read the specified Ingress", + "description": "read the specified DaemonSet", "consumes": [ "*/*" ], @@ -44023,7 +45263,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "readNamespacedIngress", + "operationId": "readNamespacedDaemonSet", "parameters": [ { "uniqueItems": true, @@ -44044,7 +45284,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.DaemonSet" } }, "401": { @@ -44054,12 +45294,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "DaemonSet", "version": "v1beta1" } }, "put": { - "description": "replace the specified Ingress", + "description": "replace the specified DaemonSet", "consumes": [ "*/*" ], @@ -44074,14 +45314,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "replaceNamespacedIngress", + "operationId": "replaceNamespacedDaemonSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.DaemonSet" } } ], @@ -44089,13 +45329,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.DaemonSet" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.DaemonSet" } }, "401": { @@ -44105,12 +45345,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "DaemonSet", "version": "v1beta1" } }, "delete": { - "description": "delete an Ingress", + "description": "delete a DaemonSet", "consumes": [ "*/*" ], @@ -44125,7 +45365,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "deleteNamespacedIngress", + "operationId": "deleteNamespacedDaemonSet", "parameters": [ { "name": "body", @@ -44135,6 +45375,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -44164,6 +45411,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -44171,12 +45424,12 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "DaemonSet", "version": "v1beta1" } }, "patch": { - "description": "partially update the specified Ingress", + "description": "partially update the specified DaemonSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -44193,7 +45446,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "patchNamespacedIngress", + "operationId": "patchNamespacedDaemonSet", "parameters": [ { "name": "body", @@ -44208,7 +45461,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.DaemonSet" } }, "401": { @@ -44218,7 +45471,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "DaemonSet", "version": "v1beta1" } }, @@ -44226,7 +45479,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Ingress", + "description": "name of the DaemonSet", "name": "name", "in": "path", "required": true @@ -44248,9 +45501,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status": { + "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status": { "get": { - "description": "read status of the specified Ingress", + "description": "read status of the specified DaemonSet", "consumes": [ "*/*" ], @@ -44265,12 +45518,12 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "readNamespacedIngressStatus", + "operationId": "readNamespacedDaemonSetStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.DaemonSet" } }, "401": { @@ -44280,12 +45533,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "DaemonSet", "version": "v1beta1" } }, "put": { - "description": "replace status of the specified Ingress", + "description": "replace status of the specified DaemonSet", "consumes": [ "*/*" ], @@ -44300,14 +45553,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "replaceNamespacedIngressStatus", + "operationId": "replaceNamespacedDaemonSetStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.DaemonSet" } } ], @@ -44315,13 +45568,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.DaemonSet" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.DaemonSet" } }, "401": { @@ -44331,12 +45584,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "DaemonSet", "version": "v1beta1" } }, "patch": { - "description": "partially update status of the specified Ingress", + "description": "partially update status of the specified DaemonSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -44353,7 +45606,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "patchNamespacedIngressStatus", + "operationId": "patchNamespacedDaemonSetStatus", "parameters": [ { "name": "body", @@ -44368,7 +45621,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.DaemonSet" } }, "401": { @@ -44378,7 +45631,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "DaemonSet", "version": "v1beta1" } }, @@ -44386,7 +45639,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Ingress", + "description": "name of the DaemonSet", "name": "name", "in": "path", "required": true @@ -44408,9 +45661,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies": { + "/apis/extensions/v1beta1/namespaces/{namespace}/deployments": { "get": { - "description": "list or watch objects of kind NetworkPolicy", + "description": "list or watch objects of kind Deployment", "consumes": [ "*/*" ], @@ -44427,12 +45680,12 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "listNamespacedNetworkPolicy", + "operationId": "listNamespacedDeployment", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -44490,7 +45743,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicyList" + "$ref": "#/definitions/extensions.v1beta1.DeploymentList" } }, "401": { @@ -44500,12 +45753,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Deployment", "version": "v1beta1" } }, "post": { - "description": "create a NetworkPolicy", + "description": "create a Deployment", "consumes": [ "*/*" ], @@ -44520,14 +45773,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "createNamespacedNetworkPolicy", + "operationId": "createNamespacedDeployment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } } ], @@ -44535,19 +45788,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } }, "401": { @@ -44557,12 +45810,12 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Deployment", "version": "v1beta1" } }, "delete": { - "description": "delete collection of NetworkPolicy", + "description": "delete collection of Deployment", "consumes": [ "*/*" ], @@ -44577,12 +45830,12 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "deleteCollectionNamespacedNetworkPolicy", + "operationId": "deleteCollectionNamespacedDeployment", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -44650,7 +45903,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Deployment", "version": "v1beta1" } }, @@ -44672,9 +45925,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}": { + "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}": { "get": { - "description": "read the specified NetworkPolicy", + "description": "read the specified Deployment", "consumes": [ "*/*" ], @@ -44689,7 +45942,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "readNamespacedNetworkPolicy", + "operationId": "readNamespacedDeployment", "parameters": [ { "uniqueItems": true, @@ -44710,7 +45963,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } }, "401": { @@ -44720,12 +45973,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Deployment", "version": "v1beta1" } }, "put": { - "description": "replace the specified NetworkPolicy", + "description": "replace the specified Deployment", "consumes": [ "*/*" ], @@ -44740,14 +45993,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "replaceNamespacedNetworkPolicy", + "operationId": "replaceNamespacedDeployment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } } ], @@ -44755,13 +46008,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } }, "401": { @@ -44771,12 +46024,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Deployment", "version": "v1beta1" } }, "delete": { - "description": "delete a NetworkPolicy", + "description": "delete a Deployment", "consumes": [ "*/*" ], @@ -44791,7 +46044,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "deleteNamespacedNetworkPolicy", + "operationId": "deleteNamespacedDeployment", "parameters": [ { "name": "body", @@ -44801,6 +46054,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -44830,6 +46090,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -44837,12 +46103,12 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Deployment", "version": "v1beta1" } }, "patch": { - "description": "partially update the specified NetworkPolicy", + "description": "partially update the specified Deployment", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -44859,7 +46125,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "patchNamespacedNetworkPolicy", + "operationId": "patchNamespacedDeployment", "parameters": [ { "name": "body", @@ -44874,7 +46140,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } }, "401": { @@ -44884,7 +46150,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Deployment", "version": "v1beta1" } }, @@ -44892,7 +46158,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the NetworkPolicy", + "description": "name of the Deployment", "name": "name", "in": "path", "required": true @@ -44914,104 +46180,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets": { - "get": { - "description": "list or watch objects of kind ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "listNamespacedReplicaSet", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - } - }, + "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback": { "post": { - "description": "create a ReplicaSet", + "description": "create rollback of a Deployment", "consumes": [ "*/*" ], @@ -45026,14 +46197,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "createNamespacedReplicaSet", + "operationId": "createNamespacedDeploymentRollback", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/extensions.v1beta1.DeploymentRollback" } } ], @@ -45041,19 +46212,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/extensions.v1beta1.DeploymentStatus" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/extensions.v1beta1.DeploymentStatus" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/extensions.v1beta1.DeploymentStatus" } }, "401": { @@ -45063,104 +46234,19 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - } - }, - "delete": { - "description": "delete collection of ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "deleteCollectionNamespacedReplicaSet", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", + "kind": "DeploymentRollback", "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the DeploymentRollback", + "name": "name", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -45178,9 +46264,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}": { + "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale": { "get": { - "description": "read the specified ReplicaSet", + "description": "read scale of the specified Deployment", "consumes": [ "*/*" ], @@ -45195,28 +46281,12 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "readNamespacedReplicaSet", - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" - } - ], + "operationId": "readNamespacedDeploymentScale", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/extensions.v1beta1.Scale" } }, "401": { @@ -45226,12 +46296,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "ReplicaSet", + "kind": "Scale", "version": "v1beta1" } }, "put": { - "description": "replace the specified ReplicaSet", + "description": "replace scale of the specified Deployment", "consumes": [ "*/*" ], @@ -45246,14 +46316,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "replaceNamespacedReplicaSet", + "operationId": "replaceNamespacedDeploymentScale", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/extensions.v1beta1.Scale" } } ], @@ -45261,13 +46331,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/extensions.v1beta1.Scale" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/extensions.v1beta1.Scale" } }, "401": { @@ -45277,78 +46347,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - } - }, - "delete": { - "description": "delete a ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "deleteNamespacedReplicaSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "name": "propagationPolicy", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", + "kind": "Scale", "version": "v1beta1" } }, "patch": { - "description": "partially update the specified ReplicaSet", + "description": "partially update scale of the specified Deployment", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -45365,7 +46369,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "patchNamespacedReplicaSet", + "operationId": "patchNamespacedDeploymentScale", "parameters": [ { "name": "body", @@ -45380,7 +46384,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/extensions.v1beta1.Scale" } }, "401": { @@ -45390,7 +46394,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "ReplicaSet", + "kind": "Scale", "version": "v1beta1" } }, @@ -45398,7 +46402,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the ReplicaSet", + "description": "name of the Scale", "name": "name", "in": "path", "required": true @@ -45420,9 +46424,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale": { + "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status": { "get": { - "description": "read scale of the specified ReplicaSet", + "description": "read status of the specified Deployment", "consumes": [ "*/*" ], @@ -45437,12 +46441,12 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "readNamespacedReplicaSetScale", + "operationId": "readNamespacedDeploymentStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } }, "401": { @@ -45452,12 +46456,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Scale", + "kind": "Deployment", "version": "v1beta1" } }, "put": { - "description": "replace scale of the specified ReplicaSet", + "description": "replace status of the specified Deployment", "consumes": [ "*/*" ], @@ -45472,14 +46476,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "replaceNamespacedReplicaSetScale", + "operationId": "replaceNamespacedDeploymentStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } } ], @@ -45487,13 +46491,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } }, "401": { @@ -45503,12 +46507,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Scale", + "kind": "Deployment", "version": "v1beta1" } }, "patch": { - "description": "partially update scale of the specified ReplicaSet", + "description": "partially update status of the specified Deployment", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -45525,7 +46529,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "patchNamespacedReplicaSetScale", + "operationId": "patchNamespacedDeploymentStatus", "parameters": [ { "name": "body", @@ -45540,7 +46544,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } }, "401": { @@ -45550,7 +46554,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Scale", + "kind": "Deployment", "version": "v1beta1" } }, @@ -45558,7 +46562,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Scale", + "description": "name of the Deployment", "name": "name", "in": "path", "required": true @@ -45580,16 +46584,18 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status": { + "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses": { "get": { - "description": "read status of the specified ReplicaSet", + "description": "list or watch objects of kind Ingress", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -45597,27 +46603,85 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "readNamespacedReplicaSetStatus", + "operationId": "listNamespacedIngress", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/v1beta1.IngressList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "ReplicaSet", + "kind": "Ingress", "version": "v1beta1" } }, - "put": { - "description": "replace status of the specified ReplicaSet", + "post": { + "description": "create an Ingress", "consumes": [ "*/*" ], @@ -45632,14 +46696,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "replaceNamespacedReplicaSetStatus", + "operationId": "createNamespacedIngress", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/v1beta1.Ingress" } } ], @@ -45647,32 +46711,36 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/v1beta1.Ingress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/v1beta1.Ingress" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "ReplicaSet", + "kind": "Ingress", "version": "v1beta1" } }, - "patch": { - "description": "partially update status of the specified ReplicaSet", + "delete": { + "description": "delete collection of Ingress", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", @@ -45685,44 +46753,84 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "patchNamespacedReplicaSetStatus", + "operationId": "deleteCollectionNamespacedIngress", "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "ReplicaSet", + "kind": "Ingress", "version": "v1beta1" } }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the ReplicaSet", - "name": "name", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -45740,9 +46848,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale": { + "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}": { "get": { - "description": "read scale of the specified ReplicationControllerDummy", + "description": "read the specified Ingress", "consumes": [ "*/*" ], @@ -45757,12 +46865,28 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "readNamespacedReplicationControllerDummyScale", + "operationId": "readNamespacedIngress", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1beta1.Ingress" } }, "401": { @@ -45772,12 +46896,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Scale", + "kind": "Ingress", "version": "v1beta1" } }, "put": { - "description": "replace scale of the specified ReplicationControllerDummy", + "description": "replace the specified Ingress", "consumes": [ "*/*" ], @@ -45792,14 +46916,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "replaceNamespacedReplicationControllerDummyScale", + "operationId": "replaceNamespacedIngress", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1beta1.Ingress" } } ], @@ -45807,13 +46931,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1beta1.Ingress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1beta1.Ingress" } }, "401": { @@ -45823,12 +46947,91 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Scale", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete an Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteNamespacedIngress", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", "version": "v1beta1" } }, "patch": { - "description": "partially update scale of the specified ReplicationControllerDummy", + "description": "partially update the specified Ingress", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -45845,7 +47048,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "patchNamespacedReplicationControllerDummyScale", + "operationId": "patchNamespacedIngress", "parameters": [ { "name": "body", @@ -45860,7 +47063,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1beta1.Ingress" } }, "401": { @@ -45870,7 +47073,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Scale", + "kind": "Ingress", "version": "v1beta1" } }, @@ -45878,7 +47081,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Scale", + "description": "name of the Ingress", "name": "name", "in": "path", "required": true @@ -45900,18 +47103,16 @@ } ] }, - "/apis/extensions/v1beta1/networkpolicies": { + "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status": { "get": { - "description": "list or watch objects of kind NetworkPolicy", + "description": "read status of the specified Ingress", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" @@ -45919,60 +47120,139 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "listNetworkPolicyForAllNamespaces", + "operationId": "readNamespacedIngressStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicyList" + "$ref": "#/definitions/v1beta1.Ingress" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Ingress", "version": "v1beta1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + "put": { + "description": "replace status of the specified Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedIngressStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update status of the specified Ingress", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedIngressStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "description": "name of the Ingress", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -45980,33 +47260,12 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/extensions/v1beta1/podsecuritypolicies": { + "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies": { "get": { - "description": "list or watch objects of kind PodSecurityPolicy", + "description": "list or watch objects of kind NetworkPolicy", "consumes": [ "*/*" ], @@ -46023,12 +47282,12 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "listPodSecurityPolicy", + "operationId": "listNamespacedNetworkPolicy", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -46086,7 +47345,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicyList" + "$ref": "#/definitions/v1beta1.NetworkPolicyList" } }, "401": { @@ -46096,12 +47355,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "PodSecurityPolicy", + "kind": "NetworkPolicy", "version": "v1beta1" } }, "post": { - "description": "create a PodSecurityPolicy", + "description": "create a NetworkPolicy", "consumes": [ "*/*" ], @@ -46116,14 +47375,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "createPodSecurityPolicy", + "operationId": "createNamespacedNetworkPolicy", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1beta1.NetworkPolicy" } } ], @@ -46131,19 +47390,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1beta1.NetworkPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1beta1.NetworkPolicy" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1beta1.NetworkPolicy" } }, "401": { @@ -46153,12 +47412,12 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "PodSecurityPolicy", + "kind": "NetworkPolicy", "version": "v1beta1" } }, "delete": { - "description": "delete collection of PodSecurityPolicy", + "description": "delete collection of NetworkPolicy", "consumes": [ "*/*" ], @@ -46173,12 +47432,12 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "deleteCollectionPodSecurityPolicy", + "operationId": "deleteCollectionNamespacedNetworkPolicy", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -46246,11 +47505,19 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "PodSecurityPolicy", + "kind": "NetworkPolicy", "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -46260,9 +47527,9 @@ } ] }, - "/apis/extensions/v1beta1/podsecuritypolicies/{name}": { + "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}": { "get": { - "description": "read the specified PodSecurityPolicy", + "description": "read the specified NetworkPolicy", "consumes": [ "*/*" ], @@ -46277,7 +47544,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "readPodSecurityPolicy", + "operationId": "readNamespacedNetworkPolicy", "parameters": [ { "uniqueItems": true, @@ -46298,7 +47565,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1beta1.NetworkPolicy" } }, "401": { @@ -46308,12 +47575,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "PodSecurityPolicy", + "kind": "NetworkPolicy", "version": "v1beta1" } }, "put": { - "description": "replace the specified PodSecurityPolicy", + "description": "replace the specified NetworkPolicy", "consumes": [ "*/*" ], @@ -46328,14 +47595,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "replacePodSecurityPolicy", + "operationId": "replaceNamespacedNetworkPolicy", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1beta1.NetworkPolicy" } } ], @@ -46343,13 +47610,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1beta1.NetworkPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1beta1.NetworkPolicy" } }, "401": { @@ -46359,12 +47626,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "PodSecurityPolicy", + "kind": "NetworkPolicy", "version": "v1beta1" } }, "delete": { - "description": "delete a PodSecurityPolicy", + "description": "delete a NetworkPolicy", "consumes": [ "*/*" ], @@ -46379,7 +47646,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "deletePodSecurityPolicy", + "operationId": "deleteNamespacedNetworkPolicy", "parameters": [ { "name": "body", @@ -46389,6 +47656,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -46418,6 +47692,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -46425,12 +47705,12 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "PodSecurityPolicy", + "kind": "NetworkPolicy", "version": "v1beta1" } }, "patch": { - "description": "partially update the specified PodSecurityPolicy", + "description": "partially update the specified NetworkPolicy", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -46447,7 +47727,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "patchPodSecurityPolicy", + "operationId": "patchNamespacedNetworkPolicy", "parameters": [ { "name": "body", @@ -46462,7 +47742,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1beta1.NetworkPolicy" } }, "401": { @@ -46472,7 +47752,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "PodSecurityPolicy", + "kind": "NetworkPolicy", "version": "v1beta1" } }, @@ -46480,11 +47760,19 @@ { "uniqueItems": true, "type": "string", - "description": "name of the PodSecurityPolicy", + "description": "name of the NetworkPolicy", "name": "name", "in": "path", "required": true }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -46494,7 +47782,7 @@ } ] }, - "/apis/extensions/v1beta1/replicasets": { + "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets": { "get": { "description": "list or watch objects of kind ReplicaSet", "consumes": [ @@ -46513,52 +47801,1658 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "listReplicaSetForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSetList" - } + "operationId": "listNamespacedReplicaSet", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "post": { + "description": "create a ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "createNamespacedReplicaSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete collection of ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteCollectionNamespacedReplicaSet", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}": { + "get": { + "description": "read the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedReplicaSet", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedReplicaSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete a ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteNamespacedReplicaSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update the specified ReplicaSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedReplicaSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ReplicaSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale": { + "get": { + "description": "read scale of the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedReplicaSetScale", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + } + }, + "put": { + "description": "replace scale of the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedReplicaSetScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update scale of the specified ReplicaSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedReplicaSetScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Scale", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status": { + "get": { + "description": "read status of the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedReplicaSetStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "put": { + "description": "replace status of the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedReplicaSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update status of the specified ReplicaSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedReplicaSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ReplicaSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale": { + "get": { + "description": "read scale of the specified ReplicationControllerDummy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedReplicationControllerDummyScale", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + } + }, + "put": { + "description": "replace scale of the specified ReplicationControllerDummy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedReplicationControllerDummyScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update scale of the specified ReplicationControllerDummy", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedReplicationControllerDummyScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Scale", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/networkpolicies": { + "get": { + "description": "list or watch objects of kind NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "listNetworkPolicyForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.NetworkPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "NetworkPolicy", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/podsecuritypolicies": { + "get": { + "description": "list or watch objects of kind PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "listPodSecurityPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "post": { + "description": "create a PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "createPodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete collection of PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteCollectionPodSecurityPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/podsecuritypolicies/{name}": { + "get": { + "description": "read the specified PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readPodSecurityPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replacePodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete a PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deletePodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update the specified PodSecurityPolicy", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchPodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodSecurityPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/replicasets": { + "get": { + "description": "list or watch objects of kind ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "listReplicaSetForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", "in": "query" }, { @@ -46603,7 +49497,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -46670,7 +49564,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -46737,7 +49631,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -46804,7 +49698,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -46879,7 +49773,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -46962,7 +49856,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47037,7 +49931,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47120,7 +50014,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47195,7 +50089,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47278,7 +50172,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47353,7 +50247,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47436,7 +50330,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47511,7 +50405,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47594,7 +50488,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47661,7 +50555,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47728,7 +50622,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47803,7 +50697,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47955,7 +50849,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -48105,7 +50999,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -48324,6 +51218,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -48353,6 +51254,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -48479,7 +51386,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -48546,7 +51453,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -48621,7 +51528,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -48704,7 +51611,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -48856,7 +51763,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -49006,7 +51913,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -49225,6 +52132,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -49254,6 +52168,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -49540,7 +52460,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -49626,7 +52546,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -49776,7 +52696,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -49987,6 +52907,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -50016,6 +52943,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -50097,7 +53030,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -50172,7 +53105,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -50255,7 +53188,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -50322,7 +53255,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -50389,7 +53322,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -50549,7 +53482,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -50699,7 +53632,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -50894,6 +53827,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -50923,6 +53863,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -51023,7 +53969,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -51173,7 +54119,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -51368,6 +54314,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -51397,6 +54350,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -51497,7 +54456,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -51647,7 +54606,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -51850,6 +54809,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -51879,6 +54845,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -51987,7 +54959,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -52137,7 +55109,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -52340,6 +55312,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -52369,6 +55348,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -52495,7 +55480,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -52599,7 +55584,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -52666,7 +55651,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -52733,7 +55718,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -52808,7 +55793,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -52875,7 +55860,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -52950,7 +55935,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -53025,7 +56010,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -53108,7 +56093,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -53183,7 +56168,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -53266,7 +56251,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -53333,7 +56318,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -53452,7 +56437,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -53602,7 +56587,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -53797,6 +56782,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -53826,6 +56818,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -53926,7 +56924,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -54076,7 +57074,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -54271,6 +57269,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -54300,6 +57305,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -54400,7 +57411,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -54550,7 +57561,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -54753,6 +57764,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -54782,6 +57800,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -54890,7 +57914,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -55040,7 +58064,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -55243,6 +58267,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -55272,6 +58303,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -55398,7 +58435,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -55502,7 +58539,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -55569,7 +58606,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -55636,7 +58673,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -55711,7 +58748,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -55778,7 +58815,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -55853,7 +58890,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -55928,7 +58965,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -56011,7 +59048,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -56086,7 +59123,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -56169,7 +59206,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -56236,7 +59273,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -56355,7 +59392,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -56505,7 +59542,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -56700,6 +59737,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -56729,6 +59773,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -56829,7 +59879,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -56979,7 +60029,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -57174,6 +60224,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -57203,6 +60260,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -57303,7 +60366,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -57453,7 +60516,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -57656,6 +60719,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -57685,6 +60755,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -57793,7 +60869,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -57943,7 +61019,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -58146,6 +61222,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -58172,31 +61255,215 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update the specified Role", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "patchNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Role", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/rolebindings": { + "get": { + "description": "list or watch objects of kind RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "listRoleBindingForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.RoleBindingList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "delete", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "RoleBinding", "version": "v1beta1" } }, - "patch": { - "description": "partially update the specified Role", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/roles": { + "get": { + "description": "list or watch objects of kind Role", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -58204,40 +61471,491 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "operationId": "patchNamespacedRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - } - ], + "operationId": "listRoleForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Role" + "$ref": "#/definitions/v1beta1.RoleList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRole", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Role", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the RoleBinding", "name": "name", "in": "path", "required": true @@ -58256,52 +61974,36 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/rolebindings": { - "get": { - "description": "list or watch objects of kind RoleBinding", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "listRoleBindingForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.RoleBindingList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -58333,6 +62035,14 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -58363,49 +62073,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/roles": { - "get": { - "description": "list or watch objects of kind Role", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "listRoleForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.RoleList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } - }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -58437,6 +62110,22 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Role", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -58467,12 +62156,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings": { + "/apis/rbac.authorization.k8s.io/v1beta1/watch/rolebindings": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -58534,12 +62223,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings/{name}": { + "/apis/rbac.authorization.k8s.io/v1beta1/watch/roles": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -58571,14 +62260,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the ClusterRoleBinding", - "name": "name", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -58600,321 +62281,590 @@ "name": "timeoutSeconds", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/scheduling.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/scheduling.k8s.io/v1alpha1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/scheduling.k8s.io/v1alpha1/priorityclasses": { + "get": { + "description": "list or watch objects of kind PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "listPriorityClass", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClassList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "createPriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete collection of PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "deleteCollectionPriorityClass", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles": { + }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, { "uniqueItems": true, "type": "string", "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the ClusterRole", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" + "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}": { + "get": { + "description": "read the specified PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "readPriorityClass", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" + }, + "put": { + "description": "replace the specified PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "replacePriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete a PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "deletePriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update the specified PriorityClass", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "patchPriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings/{name}": { + }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the RoleBinding", + "description": "name of the PriorityClass", "name": "name", "in": "path", "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles": { + "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -58946,14 +62896,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -58984,12 +62926,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles/{name}": { + "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -59024,153 +62966,11 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Role", + "description": "name of the PriorityClass", "name": "name", "in": "path", "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/rolebindings": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/roles": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -59201,40 +63001,7 @@ } ] }, - "/apis/scheduling.k8s.io/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "scheduling" - ], - "operationId": "getAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/scheduling.k8s.io/v1alpha1/": { + "/apis/scheduling.k8s.io/v1beta1/": { "get": { "description": "get available resources", "consumes": [ @@ -59251,7 +63018,7 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], "operationId": "getAPIResources", "responses": { @@ -59267,7 +63034,7 @@ } } }, - "/apis/scheduling.k8s.io/v1alpha1/priorityclasses": { + "/apis/scheduling.k8s.io/v1beta1/priorityclasses": { "get": { "description": "list or watch objects of kind PriorityClass", "consumes": [ @@ -59284,14 +63051,14 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], "operationId": "listPriorityClass", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -59349,7 +63116,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClassList" + "$ref": "#/definitions/v1beta1.PriorityClassList" } }, "401": { @@ -59360,7 +63127,7 @@ "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "post": { @@ -59377,7 +63144,7 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], "operationId": "createPriorityClass", "parameters": [ @@ -59386,7 +63153,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } } ], @@ -59394,19 +63161,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "401": { @@ -59417,7 +63184,7 @@ "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "delete": { @@ -59434,14 +63201,14 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], "operationId": "deleteCollectionPriorityClass", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -59510,7 +63277,7 @@ "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -59523,7 +63290,7 @@ } ] }, - "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}": { + "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}": { "get": { "description": "read the specified PriorityClass", "consumes": [ @@ -59538,7 +63305,7 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], "operationId": "readPriorityClass", "parameters": [ @@ -59561,7 +63328,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "401": { @@ -59572,7 +63339,7 @@ "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "put": { @@ -59589,7 +63356,7 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], "operationId": "replacePriorityClass", "parameters": [ @@ -59598,7 +63365,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } } ], @@ -59606,13 +63373,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "401": { @@ -59623,7 +63390,7 @@ "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "delete": { @@ -59640,7 +63407,7 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], "operationId": "deletePriorityClass", "parameters": [ @@ -59652,6 +63419,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -59681,6 +63455,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -59689,7 +63469,7 @@ "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "patch": { @@ -59708,7 +63488,7 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], "operationId": "patchPriorityClass", "parameters": [ @@ -59725,7 +63505,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "401": { @@ -59736,7 +63516,7 @@ "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -59757,12 +63537,12 @@ } ] }, - "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses": { + "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -59824,12 +63604,12 @@ } ] }, - "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses/{name}": { + "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -59989,7 +63769,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -60139,7 +63919,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -60358,6 +64138,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -60387,6 +64174,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -60513,7 +64306,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -60580,7 +64373,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -60655,7 +64448,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -60738,7 +64531,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -60890,7 +64683,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -61040,7 +64833,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -61251,6 +65044,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -61280,6 +65080,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -61361,7 +65167,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -61428,7 +65234,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -61555,7 +65361,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -61705,7 +65511,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -61916,6 +65722,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -61945,6 +65758,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -62026,7 +65845,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -62093,7 +65912,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -62220,7 +66039,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -62370,7 +66189,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -62581,6 +66400,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -62610,6 +66436,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -62710,7 +66542,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -62860,7 +66692,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -63071,6 +66903,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -63100,6 +66939,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -63181,7 +67026,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -63248,7 +67093,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -63323,7 +67168,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -63390,7 +67235,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -63423,116 +67268,705 @@ "in": "query" }, { - "uniqueItems": true, + "uniqueItems": true, + "type": "string", + "description": "name of the VolumeAttachment", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/logs/": { + "get": { + "schemes": [ + "https" + ], + "tags": [ + "logs" + ], + "operationId": "logFileListHandler", + "responses": { + "401": { + "description": "Unauthorized" + } + } + } + }, + "/logs/{logpath}": { + "get": { + "schemes": [ + "https" + ], + "tags": [ + "logs" + ], + "operationId": "logFileHandler", + "responses": { + "401": { + "description": "Unauthorized" + } + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "path to the log", + "name": "logpath", + "in": "path", + "required": true + } + ] + }, + "/version/": { + "get": { + "description": "get the code version", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "schemes": [ + "https" + ], + "tags": [ + "version" + ], + "operationId": "getCode", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/version.Info" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/{group}/{version}/namespaces/{namespace}/{plural}": { + "post": { + "responses": { + "201": { + "description": "Created", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "Creates a namespace scoped Custom object", + "parameters": [ + { + "schema": { + "type": "object" + }, + "description": "The JSON schema of the Resource to create.", + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "custom_objects" + ], + "operationId": "createNamespacedCustomObject" + }, + "parameters": [ + { + "uniqueItems": true, + "in": "query", + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty" + }, + { + "description": "The custom resource's group name", + "required": true, + "type": "string", + "name": "group", + "in": "path" + }, + { + "description": "The custom resource's version", + "required": true, + "type": "string", + "name": "version", + "in": "path" + }, + { + "description": "The custom resource's namespace", + "required": true, + "type": "string", + "name": "namespace", + "in": "path" + }, + { + "description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.", + "required": true, + "type": "string", + "name": "plural", + "in": "path" + } + ], + "get": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "list or watch namespace scoped custom objects", + "parameters": [ + { + "uniqueItems": true, + "in": "query", + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector" + }, + { + "uniqueItems": true, + "in": "query", + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion" + }, + { + "uniqueItems": true, + "in": "query", + "type": "boolean", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications." + } + ], + "tags": [ + "custom_objects" + ], + "produces": [ + "application/json", + "application/json;stream=watch" + ], + "consumes": [ + "*/*" + ], + "operationId": "listNamespacedCustomObject" + } + }, + "/apis/{group}/{version}/{plural}": { + "post": { + "responses": { + "201": { + "description": "Created", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "Creates a cluster scoped Custom object", + "parameters": [ + { + "schema": { + "type": "object" + }, + "description": "The JSON schema of the Resource to create.", + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "custom_objects" + ], + "operationId": "createClusterCustomObject" + }, + "parameters": [ + { + "uniqueItems": true, + "in": "query", + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty" + }, + { + "description": "The custom resource's group name", + "required": true, + "type": "string", + "name": "group", + "in": "path" + }, + { + "description": "The custom resource's version", + "required": true, + "type": "string", + "name": "version", + "in": "path" + }, + { + "description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.", + "required": true, + "type": "string", + "name": "plural", + "in": "path" + } + ], + "get": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "list or watch cluster scoped custom objects", + "parameters": [ + { + "uniqueItems": true, + "in": "query", + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector" + }, + { + "uniqueItems": true, + "in": "query", + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion" + }, + { + "uniqueItems": true, + "in": "query", + "type": "boolean", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications." + } + ], + "tags": [ + "custom_objects" + ], + "produces": [ + "application/json", + "application/json;stream=watch" + ], + "consumes": [ + "*/*" + ], + "operationId": "listClusterCustomObject" + } + }, + "/apis/{group}/{version}/{plural}/{name}/status": { + "put": { + "responses": { + "201": { + "description": "Created", + "schema": { + "type": "object" + } + }, + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "replace status of the cluster scoped specified custom object", + "parameters": [ + { + "schema": { + "type": "object" + }, + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "operationId": "replaceClusterCustomObjectStatus" + }, + "patch": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "partially update status of the specified cluster scoped custom object", + "parameters": [ + { + "schema": { + "type": "object", + "description": "The JSON schema of the Resource to patch." + }, + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "tags": [ + "custom_objects" + ], + "consumes": [ + "application/merge-patch+json" + ], + "operationId": "patchClusterCustomObjectStatus" + }, + "parameters": [ + { + "description": "the custom resource's group", + "required": true, "type": "string", - "description": "name of the VolumeAttachment", - "name": "name", - "in": "path", - "required": true + "name": "group", + "in": "path" }, { - "uniqueItems": true, + "description": "the custom resource's version", + "required": true, "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" + "name": "version", + "in": "path" }, { - "uniqueItems": true, + "description": "the custom resource's plural name. For TPRs this would be lowercase plural kind.", + "required": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" + "name": "plural", + "in": "path" }, { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "description": "the custom object's name", + "required": true, + "type": "string", + "name": "name", + "in": "path" } - ] - }, - "/logs/": { + ], "get": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, "schemes": [ "https" ], + "description": "read status of the specified cluster scoped custom object", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], "tags": [ - "logs" + "custom_objects" ], - "operationId": "logFileListHandler", + "consumes": [ + "*/*" + ], + "operationId": "getClusterCustomObjectStatus" + } + }, + "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}": { + "put": { "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, "401": { "description": "Unauthorized" } - } - } - }, - "/logs/{logpath}": { - "get": { + }, "schemes": [ "https" ], + "description": "replace the specified namespace scoped custom object", + "parameters": [ + { + "schema": { + "type": "object" + }, + "description": "The JSON schema of the Resource to replace.", + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json" + ], "tags": [ - "logs" + "custom_objects" ], - "operationId": "logFileHandler", + "consumes": [ + "*/*" + ], + "operationId": "replaceNamespacedCustomObject" + }, + "patch": { "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, "401": { "description": "Unauthorized" } - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "path to the log", - "name": "logpath", - "in": "path", - "required": true - } - ] - }, - "/version/": { - "get": { - "description": "get the code version", - "consumes": [ - "application/json" + }, + "schemes": [ + "https" + ], + "description": "patch the specified namespace scoped custom object", + "parameters": [ + { + "schema": { + "type": "object" + }, + "description": "The JSON schema of the Resource to patch.", + "required": true, + "name": "body", + "in": "body" + } ], "produces": [ "application/json" ], + "tags": [ + "custom_objects" + ], + "consumes": [ + "application/merge-patch+json" + ], + "operationId": "patchNamespacedCustomObject" + }, + "delete": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, "schemes": [ "https" ], + "description": "Deletes the specified namespace scoped custom object", + "parameters": [ + { + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + }, + "required": true, + "name": "body", + "in": "body" + }, + { + "uniqueItems": true, + "in": "query", + "type": "integer", + "name": "gracePeriodSeconds", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately." + }, + { + "uniqueItems": true, + "in": "query", + "type": "boolean", + "name": "orphanDependents", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both." + }, + { + "uniqueItems": true, + "in": "query", + "type": "string", + "name": "propagationPolicy", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy." + } + ], + "produces": [ + "application/json" + ], "tags": [ - "version" + "custom_objects" ], - "operationId": "getCode", + "consumes": [ + "*/*" + ], + "operationId": "deleteNamespacedCustomObject" + }, + "parameters": [ + { + "description": "the custom resource's group", + "required": true, + "type": "string", + "name": "group", + "in": "path" + }, + { + "description": "the custom resource's version", + "required": true, + "type": "string", + "name": "version", + "in": "path" + }, + { + "description": "The custom resource's namespace", + "required": true, + "type": "string", + "name": "namespace", + "in": "path" + }, + { + "description": "the custom resource's plural name. For TPRs this would be lowercase plural kind.", + "required": true, + "type": "string", + "name": "plural", + "in": "path" + }, + { + "description": "the custom object's name", + "required": true, + "type": "string", + "name": "name", + "in": "path" + } + ], + "get": { "responses": { "200": { - "description": "OK", + "description": "A single Resource", "schema": { - "$ref": "#/definitions/version.Info" + "type": "object" } }, "401": { "description": "Unauthorized" } - } + }, + "schemes": [ + "https" + ], + "description": "Returns a namespace scoped custom object", + "produces": [ + "application/json" + ], + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "operationId": "getNamespacedCustomObject" } }, - "/apis/{group}/{version}/{plural}": { - "post": { + "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale": { + "put": { "responses": { "201": { "description": "Created", @@ -63540,6 +67974,12 @@ "type": "object" } }, + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, "401": { "description": "Unauthorized" } @@ -63547,54 +67987,105 @@ "schemes": [ "https" ], - "description": "Creates a cluster scoped Custom object", + "description": "replace scale of the specified namespace scoped custom object", "parameters": [ { "schema": { "type": "object" }, - "description": "The JSON schema of the Resource to create.", "required": true, "name": "body", "in": "body" } ], "produces": [ - "application/json" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "tags": [ "custom_objects" ], - "operationId": "createClusterCustomObject" + "consumes": [ + "*/*" + ], + "operationId": "replaceNamespacedCustomObjectScale" + }, + "patch": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "partially update scale of the specified namespace scoped custom object", + "parameters": [ + { + "schema": { + "type": "object", + "description": "The JSON schema of the Resource to patch." + }, + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "tags": [ + "custom_objects" + ], + "consumes": [ + "application/merge-patch+json" + ], + "operationId": "patchNamespacedCustomObjectScale" }, "parameters": [ { - "uniqueItems": true, - "in": "query", + "description": "the custom resource's group", + "required": true, "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty" + "name": "group", + "in": "path" }, { - "description": "The custom resource's group name", + "description": "the custom resource's version", "required": true, "type": "string", - "name": "group", + "name": "version", "in": "path" }, { - "description": "The custom resource's version", + "description": "The custom resource's namespace", "required": true, "type": "string", - "name": "version", + "name": "namespace", "in": "path" }, { - "description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.", + "description": "the custom resource's plural name. For TPRs this would be lowercase plural kind.", "required": true, "type": "string", "name": "plural", "in": "path" + }, + { + "description": "the custom object's name", + "required": true, + "type": "string", + "name": "name", + "in": "path" } ], "get": { @@ -63612,45 +68103,23 @@ "schemes": [ "https" ], - "description": "list or watch cluster scoped custom objects", - "parameters": [ - { - "uniqueItems": true, - "in": "query", - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector" - }, - { - "uniqueItems": true, - "in": "query", - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion" - }, - { - "uniqueItems": true, - "in": "query", - "type": "boolean", - "name": "watch", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications." - } + "description": "read scale of the specified namespace scoped custom object", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "tags": [ "custom_objects" ], - "produces": [ - "application/json", - "application/json;stream=watch" - ], "consumes": [ "*/*" ], - "operationId": "listClusterCustomObject" + "operationId": "getNamespacedCustomObjectScale" } }, - "/apis/{group}/{version}/namespaces/{namespace}/{plural}": { - "post": { + "/apis/{group}/{version}/{plural}/{name}/scale": { + "put": { "responses": { "201": { "description": "Created", @@ -63658,6 +68127,12 @@ "type": "object" } }, + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, "401": { "description": "Unauthorized" } @@ -63665,60 +68140,97 @@ "schemes": [ "https" ], - "description": "Creates a namespace scoped Custom object", + "description": "replace scale of the specified cluster scoped custom object", "parameters": [ { "schema": { "type": "object" }, - "description": "The JSON schema of the Resource to create.", "required": true, "name": "body", "in": "body" } ], "produces": [ - "application/json" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "tags": [ "custom_objects" ], - "operationId": "createNamespacedCustomObject" + "consumes": [ + "*/*" + ], + "operationId": "replaceClusterCustomObjectScale" }, - "parameters": [ - { - "uniqueItems": true, - "in": "query", - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty" + "patch": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } }, + "schemes": [ + "https" + ], + "description": "partially update scale of the specified cluster scoped custom object", + "parameters": [ + { + "schema": { + "type": "object", + "description": "The JSON schema of the Resource to patch." + }, + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "tags": [ + "custom_objects" + ], + "consumes": [ + "application/merge-patch+json" + ], + "operationId": "patchClusterCustomObjectScale" + }, + "parameters": [ { - "description": "The custom resource's group name", + "description": "the custom resource's group", "required": true, "type": "string", "name": "group", "in": "path" }, { - "description": "The custom resource's version", + "description": "the custom resource's version", "required": true, "type": "string", "name": "version", "in": "path" }, { - "description": "The custom resource's namespace", + "description": "the custom resource's plural name. For TPRs this would be lowercase plural kind.", "required": true, "type": "string", - "name": "namespace", + "name": "plural", "in": "path" }, { - "description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.", + "description": "the custom object's name", "required": true, "type": "string", - "name": "plural", + "name": "name", "in": "path" } ], @@ -63737,41 +68249,19 @@ "schemes": [ "https" ], - "description": "list or watch namespace scoped custom objects", - "parameters": [ - { - "uniqueItems": true, - "in": "query", - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector" - }, - { - "uniqueItems": true, - "in": "query", - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion" - }, - { - "uniqueItems": true, - "in": "query", - "type": "boolean", - "name": "watch", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications." - } + "description": "read scale of the specified custom object", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "tags": [ "custom_objects" ], - "produces": [ - "application/json", - "application/json;stream=watch" - ], "consumes": [ "*/*" ], - "operationId": "listNamespacedCustomObject" + "operationId": "getClusterCustomObjectScale" } }, "/apis/{group}/{version}/{plural}/{name}": { @@ -63967,47 +68457,15 @@ "operationId": "getClusterCustomObject" } }, - "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}": { + "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status": { "put": { "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "schema": { "type": "object" } }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "description": "replace the specified namespace scoped custom object", - "parameters": [ - { - "schema": { - "type": "object" - }, - "description": "The JSON schema of the Resource to replace.", - "required": true, - "name": "body", - "in": "body" - } - ], - "produces": [ - "application/json" - ], - "tags": [ - "custom_objects" - ], - "consumes": [ - "*/*" - ], - "operationId": "replaceNamespacedCustomObject" - }, - "patch": { - "responses": { "200": { "description": "OK", "schema": { @@ -64021,30 +68479,31 @@ "schemes": [ "https" ], - "description": "patch the specified namespace scoped custom object", + "description": "replace status of the specified namespace scoped custom object", "parameters": [ { "schema": { "type": "object" }, - "description": "The JSON schema of the Resource to patch.", "required": true, "name": "body", "in": "body" } ], "produces": [ - "application/json" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "tags": [ "custom_objects" ], "consumes": [ - "application/merge-patch+json" + "*/*" ], - "operationId": "patchNamespacedCustomObject" + "operationId": "replaceNamespacedCustomObjectStatus" }, - "delete": { + "patch": { "responses": { "200": { "description": "OK", @@ -64059,48 +68518,30 @@ "schemes": [ "https" ], - "description": "Deletes the specified namespace scoped custom object", + "description": "partially update status of the specified namespace scoped custom object", "parameters": [ { "schema": { - "$ref": "#/definitions/v1.DeleteOptions" + "type": "object", + "description": "The JSON schema of the Resource to patch." }, "required": true, "name": "body", "in": "body" - }, - { - "uniqueItems": true, - "in": "query", - "type": "integer", - "name": "gracePeriodSeconds", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately." - }, - { - "uniqueItems": true, - "in": "query", - "type": "boolean", - "name": "orphanDependents", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both." - }, - { - "uniqueItems": true, - "in": "query", - "type": "string", - "name": "propagationPolicy", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy." } ], "produces": [ - "application/json" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "tags": [ "custom_objects" ], "consumes": [ - "*/*" + "application/merge-patch+json" ], - "operationId": "deleteNamespacedCustomObject" + "operationId": "patchNamespacedCustomObjectStatus" }, "parameters": [ { @@ -64142,7 +68583,7 @@ "get": { "responses": { "200": { - "description": "A single Resource", + "description": "OK", "schema": { "type": "object" } @@ -64154,9 +68595,11 @@ "schemes": [ "https" ], - "description": "Returns a namespace scoped custom object", + "description": "read status of the specified namespace scoped custom object", "produces": [ - "application/json" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "tags": [ "custom_objects" @@ -64164,7 +68607,7 @@ "consumes": [ "*/*" ], - "operationId": "getNamespacedCustomObject" + "operationId": "getNamespacedCustomObjectStatus" } } }, @@ -64226,40 +68669,40 @@ } } }, - "v1.DeploymentCondition": { - "description": "DeploymentCondition describes the state of a deployment at a certain point.", + "v1beta1.VolumeAttachment": { + "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", "required": [ - "type", - "status" + "spec" ], "properties": { - "lastTransitionTime": { - "description": "Last time the condition transitioned from one status to another.", - "type": "string", - "format": "date-time" - }, - "lastUpdateTime": { - "description": "The last time this condition was updated.", - "type": "string", - "format": "date-time" - }, - "message": { - "description": "A human readable message indicating details about the transition.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "reason": { - "description": "The reason for the condition's last transition.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", - "type": "string" + "metadata": { + "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" }, - "type": { - "description": "Type of deployment condition.", - "type": "string" + "spec": { + "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.", + "$ref": "#/definitions/v1beta1.VolumeAttachmentSpec" + }, + "status": { + "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.", + "$ref": "#/definitions/v1beta1.VolumeAttachmentStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1beta1" + } + ] }, "apps.v1beta1.RollbackConfig": { "description": "DEPRECATED.", @@ -64284,6 +68727,30 @@ } } }, + "v1.CinderPersistentVolumeSource": { + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "string" + }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "boolean" + }, + "secretRef": { + "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", + "$ref": "#/definitions/v1.SecretReference" + }, + "volumeID": { + "description": "volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "string" + } + } + }, "v1.StatefulSet": { "description": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.", "properties": { @@ -64350,6 +68817,10 @@ "x-kubernetes-patch-merge-key": "type", "x-kubernetes-patch-strategy": "merge" }, + "config": { + "description": "Status of the config assigned to the node via the dynamic Kubelet config feature.", + "$ref": "#/definitions/v1.NodeConfigStatus" + }, "daemonEndpoints": { "description": "Endpoints of daemons running on the Node.", "$ref": "#/definitions/v1.NodeDaemonEndpoints" @@ -64385,6 +68856,30 @@ } } }, + "v1.ScopedResourceSelectorRequirement": { + "description": "A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.", + "required": [ + "scopeName", + "operator" + ], + "properties": { + "operator": { + "description": "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.", + "type": "string" + }, + "scopeName": { + "description": "The name of the scope that the selector applies to.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "v1beta1.HTTPIngressPath": { "description": "HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.", "required": [ @@ -64413,6 +68908,28 @@ } } }, + "v1beta1.VolumeAttachmentSpec": { + "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", + "required": [ + "attacher", + "source", + "nodeName" + ], + "properties": { + "attacher": { + "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", + "type": "string" + }, + "nodeName": { + "description": "The node that the volume should be attached to.", + "type": "string" + }, + "source": { + "description": "Source represents the volume that should be attached.", + "$ref": "#/definitions/v1beta1.VolumeAttachmentSource" + } + } + }, "v1beta1.PodDisruptionBudget": { "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", "properties": { @@ -64444,6 +68961,27 @@ } ] }, + "v2beta2.ObjectMetricStatus": { + "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", + "required": [ + "metric", + "current", + "describedObject" + ], + "properties": { + "current": { + "description": "current contains the current value for the given metric", + "$ref": "#/definitions/v2beta2.MetricValueStatus" + }, + "describedObject": { + "$ref": "#/definitions/v2beta2.CrossVersionObjectReference" + }, + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/v2beta2.MetricIdentifier" + } + } + }, "v1beta1.StatefulSetCondition": { "description": "StatefulSetCondition describes the state of a statefulset at a certain point.", "required": [ @@ -64640,6 +69178,46 @@ } ] }, + "v1beta1.PriorityClass": { + "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", + "required": [ + "value" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "description": { + "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used.", + "type": "string" + }, + "globalDefault": { + "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", + "type": "boolean" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "value": { + "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", + "type": "integer", + "format": "int32" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1beta1" + } + ] + }, "v1.CephFSPersistentVolumeSource": { "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", "required": [ @@ -64755,6 +69333,62 @@ } ] }, + "v2beta2.ObjectMetricSource": { + "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", + "required": [ + "describedObject", + "target", + "metric" + ], + "properties": { + "describedObject": { + "$ref": "#/definitions/v2beta2.CrossVersionObjectReference" + }, + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/v2beta2.MetricIdentifier" + }, + "target": { + "description": "target specifies the target value for the given metric", + "$ref": "#/definitions/v2beta2.MetricTarget" + } + } + }, + "v1.DeploymentCondition": { + "description": "DeploymentCondition describes the state of a deployment at a certain point.", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" + }, + "lastUpdateTime": { + "description": "The last time this condition was updated.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of deployment condition.", + "type": "string" + } + } + }, "apps.v1beta1.DeploymentSpec": { "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", "required": [ @@ -64876,6 +69510,13 @@ "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", "type": "boolean" }, + "allowedTopologies": { + "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.TopologySelectorTerm" + } + }, "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" @@ -64911,7 +69552,7 @@ "type": "string" }, "volumeBindingMode": { - "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is alpha-level and is only honored by servers that enable the VolumeScheduling feature.", + "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.", "type": "string" } }, @@ -65058,7 +69699,7 @@ "format": "int32" }, "protocol": { - "description": "The IP protocol for this port. Supports \"TCP\" and \"UDP\". Default is TCP.", + "description": "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP.", "type": "string" }, "targetPort": { @@ -65135,6 +69776,35 @@ } ] }, + "v1beta1.LeaseSpec": { + "description": "LeaseSpec is a specification of a Lease.", + "properties": { + "acquireTime": { + "description": "acquireTime is a time when the current lease was acquired.", + "type": "string", + "format": "date-time" + }, + "holderIdentity": { + "description": "holderIdentity contains the identity of the holder of a current lease.", + "type": "string" + }, + "leaseDurationSeconds": { + "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", + "type": "integer", + "format": "int32" + }, + "leaseTransitions": { + "description": "leaseTransitions is the number of transitions of a lease between holders.", + "type": "integer", + "format": "int32" + }, + "renewTime": { + "description": "renewTime is a time when the current holder of a lease has last updated the lease.", + "type": "string", + "format": "date-time" + } + } + }, "v1beta1.ClusterRole": { "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", "required": [ @@ -65265,13 +69935,13 @@ } }, "policy.v1beta1.SELinuxStrategyOptions": { - "description": "SELinux Strategy Options defines the strategy type and any options used to create the strategy.", + "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.", "required": [ "rule" ], "properties": { "rule": { - "description": "type is the strategy that will dictate the allowable labels that may be set.", + "description": "rule is the strategy that will dictate the allowable labels that may be set.", "type": "string" }, "seLinuxOptions": { @@ -65280,6 +69950,22 @@ } } }, + "v1beta1.IngressTLS": { + "description": "IngressTLS describes the transport layer security associated with an Ingress.", + "properties": { + "hosts": { + "description": "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", + "type": "array", + "items": { + "type": "string" + } + }, + "secretName": { + "description": "SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.", + "type": "string" + } + } + }, "v1.ClusterRoleList": { "description": "ClusterRoleList is a collection of ClusterRoles", "required": [ @@ -65335,14 +70021,14 @@ "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.", "properties": { "ranges": { - "description": "Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end.", + "description": "ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/policy.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", + "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", "type": "string" } } @@ -65401,6 +70087,44 @@ } ] }, + "v1.ClusterRole": { + "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", + "required": [ + "rules" + ], + "properties": { + "aggregationRule": { + "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.", + "$ref": "#/definitions/v1.AggregationRule" + }, + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "rules": { + "description": "Rules holds all the PolicyRules for this ClusterRole", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PolicyRule" + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + ] + }, "v1.ComponentStatusList": { "description": "Status of all the conditions for the component as a list of ComponentStatus objects.", "required": [ @@ -65436,11 +70160,15 @@ ] }, "extensions.v1beta1.AllowedHostPath": { - "description": "defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.", + "description": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead.", "properties": { "pathPrefix": { - "description": "is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", + "description": "pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", "type": "string" + }, + "readOnly": { + "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", + "type": "boolean" } } }, @@ -65678,6 +70406,10 @@ "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", "type": "boolean" }, + "secretRef": { + "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", + "$ref": "#/definitions/v1.LocalObjectReference" + }, "volumeID": { "description": "volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", "type": "string" @@ -65685,13 +70417,17 @@ } }, "v1.NodeSelectorTerm": { - "description": "A null or empty node selector term matches no objects.", - "required": [ - "matchExpressions" - ], + "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", "properties": { "matchExpressions": { - "description": "Required. A list of node selector requirements. The requirements are ANDed.", + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.NodeSelectorRequirement" + } + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", "type": "array", "items": { "$ref": "#/definitions/v1.NodeSelectorRequirement" @@ -65818,6 +70554,48 @@ } } }, + "v1beta2.ReplicaSetStatus": { + "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", + "required": [ + "replicas" + ], + "properties": { + "availableReplicas": { + "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", + "type": "integer", + "format": "int32" + }, + "conditions": { + "description": "Represents the latest available observations of a replica set's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta2.ReplicaSetCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "fullyLabeledReplicas": { + "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", + "type": "integer", + "format": "int32" + }, + "observedGeneration": { + "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", + "type": "integer", + "format": "int64" + }, + "readyReplicas": { + "description": "The number of ready replicas for this replica set.", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", + "type": "integer", + "format": "int32" + } + } + }, "extensions.v1beta1.DeploymentSpec": { "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", "required": [ @@ -65834,7 +70612,7 @@ "type": "boolean" }, "progressDeadlineSeconds": { - "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is not set by default.", + "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", "type": "integer", "format": "int32" }, @@ -65900,7 +70678,37 @@ "format": "int32" }, "protocol": { - "description": "The IP protocol for this port. Must be UDP or TCP. Default is TCP.", + "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.", + "type": "string" + } + } + }, + "v1.ConfigMapNodeConfigSource": { + "description": "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node.", + "required": [ + "namespace", + "name", + "kubeletConfigKey" + ], + "properties": { + "kubeletConfigKey": { + "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.", + "type": "string" + }, + "name": { + "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.", + "type": "string" + }, + "namespace": { + "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.", + "type": "string" + }, + "resourceVersion": { + "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.", + "type": "string" + }, + "uid": { + "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.", "type": "string" } } @@ -65998,12 +70806,16 @@ "description": "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.", "properties": { "hard": { - "description": "Hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", + "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", "type": "object", "additionalProperties": { "$ref": "#/definitions/resource.Quantity" } }, + "scopeSelector": { + "description": "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.", + "$ref": "#/definitions/v1.ScopeSelector" + }, "scopes": { "description": "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.", "type": "array", @@ -66122,7 +70934,14 @@ "description": "Status contains derived information about an API server", "$ref": "#/definitions/v1beta1.APIServiceStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" + } + ] }, "v1beta1.Ingress": { "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.", @@ -66159,7 +70978,6 @@ "v1beta1.PodDisruptionBudgetStatus": { "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", "required": [ - "disruptedPods", "disruptionsAllowed", "currentHealthy", "desiredHealthy", @@ -66180,6 +70998,7 @@ "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", "type": "object", "additionalProperties": { + "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": "string", "format": "date-time" } @@ -66201,6 +71020,40 @@ } } }, + "v2beta2.HorizontalPodAutoscalerList": { + "description": "HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of horizontal pod autoscaler objects.", + "type": "array", + "items": { + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "metadata is the standard list metadata.", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "autoscaling", + "kind": "HorizontalPodAutoscalerList", + "version": "v2beta2" + } + ] + }, "v1.APIServiceList": { "description": "APIServiceList is a list of APIService objects.", "required": [ @@ -66224,7 +71077,14 @@ "metadata": { "$ref": "#/definitions/v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIServiceList", + "version": "v1" + } + ] }, "v1.PodAffinityTerm": { "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running", @@ -66470,7 +71330,7 @@ ] }, "extensions.v1beta1.PodSecurityPolicy": { - "description": "Pod Security Policy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", + "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated: use PodSecurityPolicy from policy API Group instead.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", @@ -66501,11 +71361,11 @@ "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { - "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", + "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", "$ref": "#/definitions/intstr.IntOrString" }, "maxUnavailable": { - "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", + "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", "$ref": "#/definitions/intstr.IntOrString" } } @@ -66639,7 +71499,7 @@ }, "cinder": { "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "$ref": "#/definitions/v1.CinderVolumeSource" + "$ref": "#/definitions/v1.CinderPersistentVolumeSource" }, "claimRef": { "description": "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding", @@ -66813,7 +71673,6 @@ "v1.ClusterRoleBinding": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -66898,6 +71757,9 @@ }, "v1beta1.CustomResourceDefinition": { "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.", + "required": [ + "spec" + ], "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", @@ -66918,7 +71780,14 @@ "description": "Status indicates the actual state of the CustomResourceDefinition", "$ref": "#/definitions/v1beta1.CustomResourceDefinitionStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" + } + ] }, "v2beta1.ExternalMetricSource": { "description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one \"target\" type should be set.", @@ -66944,44 +71813,43 @@ } } }, - "v1.SubjectAccessReview": { - "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", + "v1beta1.LeaseList": { + "description": "LeaseList is a list of Lease objects.", "required": [ - "spec" + "items" ], "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "Items is a list of schema objects.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.Lease" + } + }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "Spec holds information about the request being evaluated", - "$ref": "#/definitions/v1.SubjectAccessReviewSpec" - }, - "status": { - "description": "Status is filled in by the server and indicates whether the request is allowed or not", - "$ref": "#/definitions/v1.SubjectAccessReviewStatus" + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "group": "authorization.k8s.io", - "kind": "SubjectAccessReview", - "version": "v1" + "group": "coordination.k8s.io", + "kind": "LeaseList", + "version": "v1beta1" } ] }, "v1.RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -67122,6 +71990,11 @@ "template": { "description": "Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", "$ref": "#/definitions/v1.PodTemplateSpec" + }, + "ttlSecondsAfterFinished": { + "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", + "type": "integer", + "format": "int32" } } }, @@ -67159,25 +72032,31 @@ } ] }, - "v1beta1.VolumeAttachmentSpec": { - "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", + "v2beta2.MetricStatus": { + "description": "MetricStatus describes the last-read state of a single metric.", "required": [ - "attacher", - "source", - "nodeName" + "type" ], "properties": { - "attacher": { - "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", - "type": "string" + "external": { + "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).", + "$ref": "#/definitions/v2beta2.ExternalMetricStatus" }, - "nodeName": { - "description": "The node that the volume should be attached to.", - "type": "string" + "object": { + "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).", + "$ref": "#/definitions/v2beta2.ObjectMetricStatus" }, - "source": { - "description": "Source represents the volume that should be attached.", - "$ref": "#/definitions/v1beta1.VolumeAttachmentSource" + "pods": { + "description": "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.", + "$ref": "#/definitions/v2beta2.PodsMetricStatus" + }, + "resource": { + "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", + "$ref": "#/definitions/v2beta2.ResourceMetricStatus" + }, + "type": { + "description": "type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object.", + "type": "string" } } }, @@ -67415,13 +72294,13 @@ } }, "extensions.v1beta1.AllowedFlexVolume": { - "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.", + "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used. Deprecated: use AllowedFlexVolume from policy API Group instead.", "required": [ "driver" ], "properties": { "driver": { - "description": "Driver is the name of the Flexvolume driver.", + "description": "driver is the name of the Flexvolume driver.", "type": "string" } } @@ -67492,42 +72371,20 @@ } ] }, - "v1.SecurityContext": { - "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", + "v1.Sysctl": { + "description": "Sysctl defines a kernel parameter to be set", + "required": [ + "name", + "value" + ], "properties": { - "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" - }, - "capabilities": { - "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.", - "$ref": "#/definitions/v1.Capabilities" - }, - "privileged": { - "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" - }, - "readOnlyRootFilesystem": { - "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" - }, - "runAsGroup": { - "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", - "format": "int64" - }, - "runAsNonRoot": { - "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" - }, - "runAsUser": { - "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", - "format": "int64" + "name": { + "description": "Name of a property to set", + "type": "string" }, - "seLinuxOptions": { - "description": "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "$ref": "#/definitions/v1.SELinuxOptions" + "value": { + "description": "Value of a property to set", + "type": "string" } } }, @@ -67556,18 +72413,6 @@ } } }, - "v1beta1.JSON": { - "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.", - "required": [ - "Raw" - ], - "properties": { - "Raw": { - "type": "string", - "format": "byte" - } - } - }, "v1beta1.ReplicaSet": { "description": "DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1beta2/ReplicaSet. See the release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time.", "properties": { @@ -67636,7 +72481,7 @@ } }, "extensions.v1beta1.PodSecurityPolicySpec": { - "description": "Pod Security Policy Spec defines the policy enforced.", + "description": "PodSecurityPolicySpec defines the policy enforced. Deprecated: use PodSecurityPolicySpec from policy API Group instead.", "required": [ "seLinux", "runAsUser", @@ -67645,43 +72490,64 @@ ], "properties": { "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", + "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", "type": "boolean" }, "allowedCapabilities": { - "description": "AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities.", + "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", "type": "array", "items": { "type": "string" } }, "allowedFlexVolumes": { - "description": "AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"Volumes\" field.", + "description": "allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field.", "type": "array", "items": { "$ref": "#/definitions/extensions.v1beta1.AllowedFlexVolume" } }, "allowedHostPaths": { - "description": "is a white list of allowed host paths. Empty indicates that all host paths may be used.", + "description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.", "type": "array", "items": { "$ref": "#/definitions/extensions.v1beta1.AllowedHostPath" } }, + "allowedProcMountTypes": { + "description": "AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.", + "type": "array", + "items": { + "type": "string" + } + }, + "allowedUnsafeSysctls": { + "description": "allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc.", + "type": "array", + "items": { + "type": "string" + } + }, "defaultAddCapabilities": { - "description": "DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both DefaultAddCapabilities and RequiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the AllowedCapabilities list.", + "description": "defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.", "type": "array", "items": { "type": "string" } }, "defaultAllowPrivilegeEscalation": { - "description": "DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", + "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", "type": "boolean" }, + "forbiddenSysctls": { + "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", + "type": "array", + "items": { + "type": "string" + } + }, "fsGroup": { - "description": "FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.", + "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.", "$ref": "#/definitions/extensions.v1beta1.FSGroupStrategyOptions" }, "hostIPC": { @@ -67708,11 +72574,11 @@ "type": "boolean" }, "readOnlyRootFilesystem": { - "description": "ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", + "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", "type": "boolean" }, "requiredDropCapabilities": { - "description": "RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", + "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", "type": "array", "items": { "type": "string" @@ -67727,11 +72593,11 @@ "$ref": "#/definitions/extensions.v1beta1.SELinuxStrategyOptions" }, "supplementalGroups": { - "description": "SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", + "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", "$ref": "#/definitions/extensions.v1beta1.SupplementalGroupsStrategyOptions" }, "volumes": { - "description": "volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used.", + "description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.", "type": "array", "items": { "type": "string" @@ -67844,6 +72710,28 @@ } ] }, + "v1alpha1.VolumeAttachmentSpec": { + "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", + "required": [ + "attacher", + "source", + "nodeName" + ], + "properties": { + "attacher": { + "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", + "type": "string" + }, + "nodeName": { + "description": "The node that the volume should be attached to.", + "type": "string" + }, + "source": { + "description": "Source represents the volume that should be attached.", + "$ref": "#/definitions/v1alpha1.VolumeAttachmentSource" + } + } + }, "v1.NodeSelectorRequirement": { "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", "required": [ @@ -67923,7 +72811,7 @@ "$ref": "#/definitions/v1.GCEPersistentDiskVolumeSource" }, "gitRepo": { - "description": "GitRepo represents a git repository at a particular revision.", + "description": "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", "$ref": "#/definitions/v1.GitRepoVolumeSource" }, "glusterfs": { @@ -68090,7 +72978,7 @@ "type": "string" }, "mountPropagation": { - "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationHostToContainer is used. This field is beta in 1.10.", + "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.", "type": "string" }, "name": { @@ -68245,7 +73133,7 @@ "$ref": "#/definitions/v1.Probe" }, "resources": { - "description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "$ref": "#/definitions/v1.ResourceRequirements" }, "securityContext": { @@ -68540,7 +73428,6 @@ "required": [ "currentReplicas", "desiredReplicas", - "currentMetrics", "conditions" ], "properties": { @@ -68730,6 +73617,49 @@ } ] }, + "v1.SecurityContext": { + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", + "type": "boolean" + }, + "capabilities": { + "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.", + "$ref": "#/definitions/v1.Capabilities" + }, + "privileged": { + "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", + "type": "boolean" + }, + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", + "type": "string" + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem. Default is false.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "$ref": "#/definitions/v1.SELinuxOptions" + } + } + }, "v1.NetworkPolicySpec": { "description": "NetworkPolicySpec provides the specification of a NetworkPolicy", "required": [ @@ -68907,6 +73837,18 @@ } } }, + "v1.TopologySelectorTerm": { + "description": "A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.", + "properties": { + "matchLabelExpressions": { + "description": "A list of topology selector requirements by labels.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.TopologySelectorLabelRequirement" + } + } + } + }, "v1.ObjectFieldSelector": { "description": "ObjectFieldSelector selects an APIVersioned field of an object.", "required": [ @@ -69065,19 +74007,40 @@ } } }, + "v2beta2.CrossVersionObjectReference": { + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", + "required": [ + "kind", + "name" + ], + "properties": { + "apiVersion": { + "description": "API version of the referent", + "type": "string" + }, + "kind": { + "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds\"", + "type": "string" + }, + "name": { + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "type": "string" + } + } + }, "v1beta1.NetworkPolicyPeer": { "description": "DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer.", "properties": { "ipBlock": { - "description": "IPBlock defines policy on a particular IPBlock", + "description": "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.", "$ref": "#/definitions/v1beta1.IPBlock" }, "namespaceSelector": { - "description": "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces.", + "description": "Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.", "$ref": "#/definitions/v1.LabelSelector" }, "podSelector": { - "description": "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace.", + "description": "This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.", "$ref": "#/definitions/v1.LabelSelector" } } @@ -69156,13 +74119,13 @@ ] }, "extensions.v1beta1.SELinuxStrategyOptions": { - "description": "SELinux Strategy Options defines the strategy type and any options used to create the strategy.", + "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use SELinuxStrategyOptions from policy API Group instead.", "required": [ "rule" ], "properties": { "rule": { - "description": "type is the strategy that will dictate the allowable labels that may be set.", + "description": "rule is the strategy that will dictate the allowable labels that may be set.", "type": "string" }, "seLinuxOptions": { @@ -69339,11 +74302,31 @@ } } }, + "v1.ResourceRequirements": { + "description": "ResourceRequirements describes the compute resource requirements.", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/resource.Quantity" + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/resource.Quantity" + } + } + } + }, "v1beta1.CustomResourceDefinitionStatus": { "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition", "required": [ "conditions", - "acceptedNames" + "acceptedNames", + "storedVersions" ], "properties": { "acceptedNames": { @@ -69356,6 +74339,13 @@ "items": { "$ref": "#/definitions/v1beta1.CustomResourceDefinitionCondition" } + }, + "storedVersions": { + "description": "StoredVersions are all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so the migration controller can first finish a migration to another version (i.e. that no old objects are left in the storage), and then remove the rest of the versions from this list. None of the versions in this list can be removed from the spec.Versions field.", + "type": "array", + "items": { + "type": "string" + } } } }, @@ -69442,62 +74432,6 @@ } } }, - "admissionregistration.v1beta1.ServiceReference": { - "description": "ServiceReference holds a reference to Service.legacy.k8s.io", - "required": [ - "namespace", - "name" - ], - "properties": { - "name": { - "description": "`name` is the name of the service. Required", - "type": "string" - }, - "namespace": { - "description": "`namespace` is the namespace of the service. Required", - "type": "string" - }, - "path": { - "description": "`path` is an optional URL path which will be sent in any request to this service.", - "type": "string" - } - } - }, - "v1beta1.VolumeAttachment": { - "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", - "required": [ - "spec" - ], - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.", - "$ref": "#/definitions/v1beta1.VolumeAttachmentSpec" - }, - "status": { - "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.", - "$ref": "#/definitions/v1beta1.VolumeAttachmentStatus" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1beta1" - } - ] - }, "v1beta1.APIServiceList": { "description": "APIServiceList is a list of APIService objects.", "required": [ @@ -69521,7 +74455,14 @@ "metadata": { "$ref": "#/definitions/v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIServiceList", + "version": "v1beta1" + } + ] }, "v1alpha1.VolumeAttachmentStatus": { "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", @@ -69633,6 +74574,27 @@ } } }, + "v1.NodeConfigStatus": { + "description": "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.", + "properties": { + "active": { + "description": "Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error.", + "$ref": "#/definitions/v1.NodeConfigSource" + }, + "assigned": { + "description": "Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned.", + "$ref": "#/definitions/v1.NodeConfigSource" + }, + "error": { + "description": "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.", + "type": "string" + }, + "lastKnownGood": { + "description": "LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future.", + "$ref": "#/definitions/v1.NodeConfigSource" + } + } + }, "v1alpha1.PriorityClassList": { "description": "PriorityClassList is a collection of priority classes.", "required": [ @@ -69671,11 +74633,17 @@ "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", "required": [ "group", - "version", "names", "scope" ], "properties": { + "additionalPrinterColumns": { + "description": "AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.CustomResourceColumnDefinition" + } + }, "group": { "description": "Group is the group this resource belongs in", "type": "string" @@ -69689,7 +74657,7 @@ "type": "string" }, "subresources": { - "description": "Subresources describes the subresources for CustomResources This field is alpha-level and should only be sent to servers that enable subresources via the CustomResourceSubresources feature gate.", + "description": "Subresources describes the subresources for CustomResources", "$ref": "#/definitions/v1beta1.CustomResourceSubresources" }, "validation": { @@ -69697,8 +74665,15 @@ "$ref": "#/definitions/v1beta1.CustomResourceValidation" }, "version": { - "description": "Version is the version this resource belongs in", + "description": "Version is the version this resource belongs in Should be always first item in Versions field if provided. Optional, but at least one of Version or Versions must be set. Deprecated: Please use `Versions`.", "type": "string" + }, + "versions": { + "description": "Versions is the list of all supported versions for this resource. If Version field is provided, this field is optional. Validation: All versions must use the same validation schema for now. i.e., top level Validation field is applied to all of these versions. Order: The version name will be used to compute the order. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinitionVersion" + } } } }, @@ -69832,7 +74807,7 @@ "$ref": "#/definitions/v1.NodeConfigSource" }, "externalID": { - "description": "External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated.", + "description": "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966", "type": "string" }, "podCIDR": { @@ -69870,6 +74845,10 @@ "secret": { "description": "information about the secret data to project", "$ref": "#/definitions/v1.SecretProjection" + }, + "serviceAccountToken": { + "description": "information about the serviceAccountToken data to project", + "$ref": "#/definitions/v1.ServiceAccountTokenProjection" } } }, @@ -69980,6 +74959,40 @@ } } }, + "v1alpha1.RoleList": { + "description": "RoleList is a collection of Roles", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is a list of Roles", + "type": "array", + "items": { + "$ref": "#/definitions/v1alpha1.Role" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "RoleList", + "version": "v1alpha1" + } + ] + }, "v1.RBDVolumeSource": { "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", "required": [ @@ -70050,26 +75063,30 @@ "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", "properties": { "ranges": { - "description": "Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end.", + "description": "ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/policy.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", + "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", "type": "string" } } }, "v1.LocalVolumeSource": { - "description": "Local represents directly-attached storage with node affinity", + "description": "Local represents directly-attached storage with node affinity (Beta feature)", "required": [ "path" ], "properties": { + "fsType": { + "description": "Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem if unspecified.", + "type": "string" + }, "path": { - "description": "The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device", + "description": "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).", "type": "string" } } @@ -70147,18 +75164,32 @@ } } }, - "extensions.v1beta1.SupplementalGroupsStrategyOptions": { - "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.", + "v2beta2.HorizontalPodAutoscalerCondition": { + "description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.", + "required": [ + "type", + "status" + ], "properties": { - "ranges": { - "description": "Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end.", - "type": "array", - "items": { - "$ref": "#/definitions/extensions.v1beta1.IDRange" - } + "lastTransitionTime": { + "description": "lastTransitionTime is the last time the condition transitioned from one status to another", + "type": "string", + "format": "date-time" }, - "rule": { - "description": "Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", + "message": { + "description": "message is a human-readable explanation containing details about the transition", + "type": "string" + }, + "reason": { + "description": "reason is the reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "status is the status of the condition (True, False, Unknown)", + "type": "string" + }, + "type": { + "description": "type describes the current condition", "type": "string" } } @@ -70205,7 +75236,7 @@ "type": "string" }, "protocol": { - "description": "Protocol for port. Must be UDP or TCP. Defaults to \"TCP\".", + "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".", "type": "string" } } @@ -70363,22 +75394,20 @@ } } }, - "v1.ResourceRequirements": { - "description": "ResourceRequirements describes the compute resource requirements.", + "v2beta2.ExternalMetricStatus": { + "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", + "required": [ + "metric", + "current" + ], "properties": { - "limits": { - "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/resource.Quantity" - } + "current": { + "description": "current contains the current value for the given metric", + "$ref": "#/definitions/v2beta2.MetricValueStatus" }, - "requests": { - "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/resource.Quantity" - } + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/v2beta2.MetricIdentifier" } } }, @@ -70546,6 +75575,31 @@ } } }, + "v2beta2.MetricTarget": { + "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric", + "required": [ + "type" + ], + "properties": { + "averageUtilization": { + "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", + "type": "integer", + "format": "int32" + }, + "averageValue": { + "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)", + "$ref": "#/definitions/resource.Quantity" + }, + "type": { + "description": "type represents whether the metric type is Utilization, Value, or AverageValue", + "type": "string" + }, + "value": { + "description": "value is the target value of the metric (as a quantity).", + "$ref": "#/definitions/resource.Quantity" + } + } + }, "v1beta1.ExternalDocumentation": { "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", "properties": { @@ -70557,40 +75611,40 @@ } } }, - "v1.ObjectReference": { - "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", + "v1.Deployment": { + "description": "Deployment enables declarative updates for Pods and ReplicaSets.", "properties": { "apiVersion": { - "description": "API version of the referent.", - "type": "string" - }, - "fieldPath": { - "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "kind": { - "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", - "type": "string" - }, - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "namespace": { - "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", - "type": "string" + "metadata": { + "description": "Standard object metadata.", + "$ref": "#/definitions/v1.ObjectMeta" }, - "resourceVersion": { - "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency", - "type": "string" + "spec": { + "description": "Specification of the desired behavior of the Deployment.", + "$ref": "#/definitions/v1.DeploymentSpec" }, - "uid": { - "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids", - "type": "string" + "status": { + "description": "Most recently observed status of the Deployment.", + "$ref": "#/definitions/v1.DeploymentStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "Deployment", + "version": "v1" + } + ] }, "resource.Quantity": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" }, "v1beta1.DaemonSetStatus": { @@ -70784,7 +75838,7 @@ } }, "policy.v1beta1.HostPortRange": { - "description": "Host Port Range defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", + "description": "HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", "required": [ "min", "max" @@ -70802,6 +75856,23 @@ } } }, + "v2beta2.PodsMetricSource": { + "description": "PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.", + "required": [ + "metric", + "target" + ], + "properties": { + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/v2beta2.MetricIdentifier" + }, + "target": { + "description": "target specifies the target value for the given metric", + "$ref": "#/definitions/v2beta2.MetricTarget" + } + } + }, "v1.DeploymentStatus": { "description": "DeploymentStatus is the most recently observed status of the Deployment.", "properties": { @@ -70898,7 +75969,7 @@ ], "properties": { "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\".", "type": "string" }, "gateway": { @@ -70922,7 +75993,7 @@ "type": "boolean" }, "storageMode": { - "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.", + "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", "type": "string" }, "storagePool": { @@ -70940,20 +76011,20 @@ } }, "extensions.v1beta1.RunAsUserStrategyOptions": { - "description": "Run A sUser Strategy Options defines the strategy type and any options used to create the strategy.", + "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead.", "required": [ "rule" ], "properties": { "ranges": { - "description": "Ranges are the allowed ranges of uids that may be used.", + "description": "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/extensions.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate the allowable RunAsUser values that may be set.", + "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set.", "type": "string" } } @@ -71010,22 +76081,6 @@ } } }, - "v1.TCPSocketAction": { - "description": "TCPSocketAction describes an action based on opening a socket", - "required": [ - "port" - ], - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "description": "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", - "$ref": "#/definitions/intstr.IntOrString" - } - } - }, "v1.StorageOSPersistentVolumeSource": { "description": "Represents a StorageOS persistent volume resource.", "properties": { @@ -71369,25 +76424,11 @@ "v1.NodeConfigSource": { "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" - }, - "configMapRef": { - "$ref": "#/definitions/v1.ObjectReference" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", - "type": "string" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "NodeConfigSource", - "version": "v1" + "configMap": { + "description": "ConfigMap is a reference to a Node's ConfigMap", + "$ref": "#/definitions/v1.ConfigMapNodeConfigSource" } - ] + } }, "v1beta1.LocalSubjectAccessReview": { "description": "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.", @@ -71501,43 +76542,21 @@ } } }, - "v1.ClusterRole": { - "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", + "v1.TCPSocketAction": { + "description": "TCPSocketAction describes an action based on opening a socket", "required": [ - "rules" + "port" ], "properties": { - "aggregationRule": { - "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.", - "$ref": "#/definitions/v1.AggregationRule" - }, - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", "type": "string" }, - "metadata": { - "description": "Standard object's metadata.", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "rules": { - "description": "Rules holds all the PolicyRules for this ClusterRole", - "type": "array", - "items": { - "$ref": "#/definitions/v1.PolicyRule" - } - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" + "port": { + "description": "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", + "$ref": "#/definitions/intstr.IntOrString" } - ] + } }, "v1.ReplicaSetSpec": { "description": "ReplicaSetSpec is the specification of a ReplicaSet.", @@ -71565,29 +76584,31 @@ } } }, - "v1.PodDNSConfig": { - "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.", + "v2beta2.MetricSpec": { + "description": "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).", + "required": [ + "type" + ], "properties": { - "nameservers": { - "description": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.", - "type": "array", - "items": { - "type": "string" - } + "external": { + "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).", + "$ref": "#/definitions/v2beta2.ExternalMetricSource" }, - "options": { - "description": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.PodDNSConfigOption" - } + "object": { + "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).", + "$ref": "#/definitions/v2beta2.ObjectMetricSource" }, - "searches": { - "description": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.", - "type": "array", - "items": { - "type": "string" - } + "pods": { + "description": "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.", + "$ref": "#/definitions/v2beta2.PodsMetricSource" + }, + "resource": { + "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", + "$ref": "#/definitions/v2beta2.ResourceMetricSource" + }, + "type": { + "description": "type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object.", + "type": "string" } } }, @@ -71670,27 +76691,33 @@ } ] }, - "v1alpha1.VolumeAttachmentSpec": { - "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", - "required": [ - "attacher", - "source", - "nodeName" - ], + "v1beta1.Lease": { + "description": "Lease defines a lease concept.", "properties": { - "attacher": { - "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "nodeName": { - "description": "The node that the volume should be attached to.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "source": { - "description": "Source represents the volume that should be attached.", - "$ref": "#/definitions/v1alpha1.VolumeAttachmentSource" + "metadata": { + "description": "More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1beta1.LeaseSpec" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1beta1" + } + ] }, "v1.NFSVolumeSource": { "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", @@ -71749,6 +76776,21 @@ "kind": "WatchEvent", "version": "v1beta1" }, + { + "group": "apiextensions.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, { "group": "apps", "kind": "WatchEvent", @@ -71794,6 +76836,11 @@ "kind": "WatchEvent", "version": "v2beta1" }, + { + "group": "autoscaling", + "kind": "WatchEvent", + "version": "v2beta2" + }, { "group": "batch", "kind": "WatchEvent", @@ -71814,6 +76861,11 @@ "kind": "WatchEvent", "version": "v1beta1" }, + { + "group": "coordination.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, { "group": "events.k8s.io", "kind": "WatchEvent", @@ -71859,6 +76911,11 @@ "kind": "WatchEvent", "version": "v1alpha1" }, + { + "group": "scheduling.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, { "group": "settings.k8s.io", "kind": "WatchEvent", @@ -71984,15 +77041,36 @@ "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { - "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.", + "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.", "$ref": "#/definitions/intstr.IntOrString" }, "maxUnavailable": { - "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", + "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", "$ref": "#/definitions/intstr.IntOrString" } } }, + "v1.TypedLocalObjectReference": { + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + } + }, "v1.ReplicationController": { "description": "ReplicationController represents the configuration of a replication controller.", "properties": { @@ -72025,37 +77103,6 @@ } ] }, - "v1.DaemonSetSpec": { - "description": "DaemonSetSpec is the specification of a daemon set.", - "required": [ - "selector", - "template" - ], - "properties": { - "minReadySeconds": { - "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", - "format": "int32" - }, - "revisionHistoryLimit": { - "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", - "format": "int32" - }, - "selector": { - "description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "$ref": "#/definitions/v1.LabelSelector" - }, - "template": { - "description": "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template", - "$ref": "#/definitions/v1.PodTemplateSpec" - }, - "updateStrategy": { - "description": "An update strategy to replace existing DaemonSet pods with new pods.", - "$ref": "#/definitions/v1.DaemonSetUpdateStrategy" - } - } - }, "v2beta1.MetricStatus": { "description": "MetricStatus describes the last-read state of a single metric.", "required": [ @@ -72084,6 +77131,74 @@ } } }, + "v2beta2.ExternalMetricSource": { + "description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).", + "required": [ + "metric", + "target" + ], + "properties": { + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/v2beta2.MetricIdentifier" + }, + "target": { + "description": "target specifies the target value for the given metric", + "$ref": "#/definitions/v2beta2.MetricTarget" + } + } + }, + "v2beta2.PodsMetricStatus": { + "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).", + "required": [ + "metric", + "current" + ], + "properties": { + "current": { + "description": "current contains the current value for the given metric", + "$ref": "#/definitions/v2beta2.MetricValueStatus" + }, + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/v2beta2.MetricIdentifier" + } + } + }, + "v1beta1.PriorityClassList": { + "description": "PriorityClassList is a collection of priority classes.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of PriorityClasses", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.PriorityClass" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "scheduling.k8s.io", + "kind": "PriorityClassList", + "version": "v1beta1" + } + ] + }, "v1beta1.NetworkPolicyIngressRule": { "description": "DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.", "properties": { @@ -72104,7 +77219,7 @@ } }, "policy.v1beta1.PodSecurityPolicySpec": { - "description": "Pod Security Policy Spec defines the policy enforced.", + "description": "PodSecurityPolicySpec defines the policy enforced.", "required": [ "seLinux", "runAsUser", @@ -72113,43 +77228,64 @@ ], "properties": { "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", + "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", "type": "boolean" }, "allowedCapabilities": { - "description": "AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities.", + "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", "type": "array", "items": { "type": "string" } }, "allowedFlexVolumes": { - "description": "AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"Volumes\" field.", + "description": "allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field.", "type": "array", "items": { "$ref": "#/definitions/policy.v1beta1.AllowedFlexVolume" } }, "allowedHostPaths": { - "description": "is a white list of allowed host paths. Empty indicates that all host paths may be used.", + "description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.", "type": "array", "items": { "$ref": "#/definitions/policy.v1beta1.AllowedHostPath" } }, + "allowedProcMountTypes": { + "description": "AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.", + "type": "array", + "items": { + "type": "string" + } + }, + "allowedUnsafeSysctls": { + "description": "allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc.", + "type": "array", + "items": { + "type": "string" + } + }, "defaultAddCapabilities": { - "description": "DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both DefaultAddCapabilities and RequiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the AllowedCapabilities list.", + "description": "defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.", "type": "array", "items": { "type": "string" } }, "defaultAllowPrivilegeEscalation": { - "description": "DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", + "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", "type": "boolean" }, + "forbiddenSysctls": { + "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", + "type": "array", + "items": { + "type": "string" + } + }, "fsGroup": { - "description": "FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.", + "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.", "$ref": "#/definitions/policy.v1beta1.FSGroupStrategyOptions" }, "hostIPC": { @@ -72176,11 +77312,11 @@ "type": "boolean" }, "readOnlyRootFilesystem": { - "description": "ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", + "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", "type": "boolean" }, "requiredDropCapabilities": { - "description": "RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", + "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", "type": "array", "items": { "type": "string" @@ -72195,11 +77331,11 @@ "$ref": "#/definitions/policy.v1beta1.SELinuxStrategyOptions" }, "supplementalGroups": { - "description": "SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", + "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", "$ref": "#/definitions/policy.v1beta1.SupplementalGroupsStrategyOptions" }, "volumes": { - "description": "volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used.", + "description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.", "type": "array", "items": { "type": "string" @@ -72276,7 +77412,7 @@ } }, "extensions.v1beta1.HostPortRange": { - "description": "Host Port Range defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", + "description": "HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. Deprecated: use HostPortRange from policy API Group instead.", "required": [ "min", "max" @@ -72377,6 +77513,13 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "dryRun": { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "type": "array", + "items": { + "type": "string" + } + }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", "type": "integer", @@ -72420,6 +77563,21 @@ "kind": "DeleteOptions", "version": "v1beta1" }, + { + "group": "apiextensions.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, { "group": "apps", "kind": "DeleteOptions", @@ -72465,6 +77623,11 @@ "kind": "DeleteOptions", "version": "v2beta1" }, + { + "group": "autoscaling", + "kind": "DeleteOptions", + "version": "v2beta2" + }, { "group": "batch", "kind": "DeleteOptions", @@ -72485,6 +77648,11 @@ "kind": "DeleteOptions", "version": "v1beta1" }, + { + "group": "coordination.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, { "group": "events.k8s.io", "kind": "DeleteOptions", @@ -72530,6 +77698,11 @@ "kind": "DeleteOptions", "version": "v1alpha1" }, + { + "group": "scheduling.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, { "group": "settings.k8s.io", "kind": "DeleteOptions", @@ -72619,7 +77792,7 @@ "x-kubernetes-patch-strategy": "merge" }, "publishNotReadyAddresses": { - "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. This field will replace the service.alpha.kubernetes.io/tolerate-unready-endpoints when that annotation is deprecated and all clients have been converted to use this field.", + "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", "type": "boolean" }, "selector": { @@ -72652,45 +77825,19 @@ } } }, - "v1beta2.ReplicaSetStatus": { - "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", + "v2beta2.MetricIdentifier": { + "description": "MetricIdentifier defines the name and optionally selector for a metric", "required": [ - "replicas" + "name" ], "properties": { - "availableReplicas": { - "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", - "format": "int32" - }, - "conditions": { - "description": "Represents the latest available observations of a replica set's current state.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta2.ReplicaSetCondition" - }, - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "fullyLabeledReplicas": { - "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", - "format": "int32" - }, - "observedGeneration": { - "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", - "format": "int64" - }, - "readyReplicas": { - "description": "The number of ready replicas for this replica set.", - "type": "integer", - "format": "int32" + "name": { + "description": "name is the name of the given metric", + "type": "string" }, - "replicas": { - "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", - "format": "int32" + "selector": { + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.", + "$ref": "#/definitions/v1.LabelSelector" } } }, @@ -72787,7 +77934,6 @@ "v1beta1.ClusterRoleBinding": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -73194,6 +78340,10 @@ "items": { "$ref": "#/definitions/v1beta1.RuleWithOperations" } + }, + "sideEffects": { + "description": "SideEffects states whether this webhookk has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.", + "type": "string" } } }, @@ -73201,7 +78351,7 @@ "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", "properties": { "continue": { - "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response.", + "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.", "type": "string" }, "resourceVersion": { @@ -73215,11 +78365,15 @@ } }, "policy.v1beta1.AllowedHostPath": { - "description": "defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.", + "description": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.", "properties": { "pathPrefix": { - "description": "is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", + "description": "pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", "type": "string" + }, + "readOnly": { + "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", + "type": "boolean" } } }, @@ -73315,18 +78469,18 @@ } }, "v1.NetworkPolicyPeer": { - "description": "NetworkPolicyPeer describes a peer to allow traffic from. Exactly one of its fields must be specified.", + "description": "NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of fields are allowed", "properties": { "ipBlock": { - "description": "IPBlock defines policy on a particular IPBlock", + "description": "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.", "$ref": "#/definitions/v1.IPBlock" }, "namespaceSelector": { - "description": "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces.", + "description": "Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.", "$ref": "#/definitions/v1.LabelSelector" }, "podSelector": { - "description": "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace.", + "description": "This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.", "$ref": "#/definitions/v1.LabelSelector" } } @@ -73495,6 +78649,10 @@ "metricName": { "description": "metricName is the name of the metric in question", "type": "string" + }, + "selector": { + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.", + "$ref": "#/definitions/v1.LabelSelector" } } }, @@ -73519,7 +78677,7 @@ "$ref": "#/definitions/intstr.IntOrString" }, "protocol": { - "description": "Optional. The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP.", + "description": "Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", "type": "string" } } @@ -73532,10 +78690,18 @@ "targetValue" ], "properties": { + "averageValue": { + "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)", + "$ref": "#/definitions/resource.Quantity" + }, "metricName": { "description": "metricName is the name of the metric in question.", "type": "string" }, + "selector": { + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.", + "$ref": "#/definitions/v1.LabelSelector" + }, "target": { "description": "target is the described Kubernetes object.", "$ref": "#/definitions/v2beta1.CrossVersionObjectReference" @@ -73941,8 +79107,7 @@ "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "required": [ "name", - "versions", - "serverAddressByClientCIDRs" + "versions" ], "properties": { "apiVersion": { @@ -74089,28 +79254,57 @@ ] }, "policy.v1beta1.IDRange": { - "description": "ID Range provides a min/max of an allowed range of IDs.", + "description": "IDRange provides a min/max of an allowed range of IDs.", "required": [ "min", "max" ], "properties": { "max": { - "description": "Max is the end of the range, inclusive.", + "description": "max is the end of the range, inclusive.", "type": "integer", "format": "int64" }, "min": { - "description": "Min is the start of the range, inclusive.", + "description": "min is the start of the range, inclusive.", "type": "integer", "format": "int64" } } }, + "v2beta2.HorizontalPodAutoscalerSpec": { + "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", + "required": [ + "scaleTargetRef", + "maxReplicas" + ], + "properties": { + "maxReplicas": { + "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", + "type": "integer", + "format": "int32" + }, + "metrics": { + "description": "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.", + "type": "array", + "items": { + "$ref": "#/definitions/v2beta2.MetricSpec" + } + }, + "minReplicas": { + "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", + "type": "integer", + "format": "int32" + }, + "scaleTargetRef": { + "description": "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.", + "$ref": "#/definitions/v2beta2.CrossVersionObjectReference" + } + } + }, "v1alpha1.ClusterRoleBinding": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -74146,12 +79340,46 @@ } ] }, - "v1.LocalObjectReference": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", + "v1alpha1.PolicyRule": { + "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", + "required": [ + "verbs" + ], "properties": { - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" + "apiGroups": { + "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.", + "type": "array", + "items": { + "type": "string" + } + }, + "nonResourceURLs": { + "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path This name is intentionally different than the internal type so that the DefaultConvert works nicely and because the ordering may be different. Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", + "type": "array", + "items": { + "type": "string" + } + }, + "resourceNames": { + "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", + "type": "array", + "items": { + "type": "string" + } + }, + "resources": { + "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", + "type": "array", + "items": { + "type": "string" + } + }, + "verbs": { + "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", + "type": "array", + "items": { + "type": "string" + } } } }, @@ -74162,7 +79390,7 @@ ], "properties": { "driver": { - "description": "Driver is the name of the Flexvolume driver.", + "description": "driver is the name of the Flexvolume driver.", "type": "string" } } @@ -74199,7 +79427,14 @@ "description": "Status contains derived information about an API server", "$ref": "#/definitions/v1.APIServiceStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + ] }, "v1.SubjectAccessReviewSpec": { "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", @@ -74538,6 +79773,23 @@ } } }, + "v2beta2.ResourceMetricStatus": { + "description": "ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", + "required": [ + "name", + "current" + ], + "properties": { + "current": { + "description": "current contains the current value for the given metric", + "$ref": "#/definitions/v2beta2.MetricValueStatus" + }, + "name": { + "description": "Name is the name of the resource in question.", + "type": "string" + } + } + }, "v1.ServiceAccountList": { "description": "ServiceAccountList is a list of ServiceAccount objects", "required": [ @@ -74618,7 +79870,7 @@ } }, "policy.v1beta1.PodSecurityPolicy": { - "description": "Pod Security Policy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", + "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", @@ -74691,6 +79943,10 @@ "type": "string" } }, + "dataSource": { + "description": "This field requires the VolumeSnapshotDataSource alpha feature gate to be enabled and currently VolumeSnapshot is the only supported data source. If the provisioner can support VolumeSnapshot data source, it will create a new volume and data will be restored to the volume at the same time. If the provisioner does not support VolumeSnapshot data source, volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change.", + "$ref": "#/definitions/v1.TypedLocalObjectReference" + }, "resources": { "description": "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", "$ref": "#/definitions/v1.ResourceRequirements" @@ -74781,29 +80037,6 @@ } ] }, - "v1beta1.IngressSpec": { - "description": "IngressSpec describes the Ingress the user wishes to exist.", - "properties": { - "backend": { - "description": "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default.", - "$ref": "#/definitions/v1beta1.IngressBackend" - }, - "rules": { - "description": "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.IngressRule" - } - }, - "tls": { - "description": "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.IngressTLS" - } - } - } - }, "v1.APIVersions": { "description": "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.", "required": [ @@ -74875,7 +80108,7 @@ ] }, "policy.v1beta1.PodSecurityPolicyList": { - "description": "Pod Security Policy List is a list of PodSecurityPolicy objects.", + "description": "PodSecurityPolicyList is a list of PodSecurityPolicy objects.", "required": [ "items" ], @@ -74885,7 +80118,7 @@ "type": "string" }, "items": { - "description": "Items is a list of schema objects.", + "description": "items is a list of schema objects.", "type": "array", "items": { "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" @@ -74967,46 +80200,12 @@ } } }, - "v1alpha1.PolicyRule": { - "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", - "required": [ - "verbs" - ], + "v1.LocalObjectReference": { + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", "properties": { - "apiGroups": { - "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.", - "type": "array", - "items": { - "type": "string" - } - }, - "nonResourceURLs": { - "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path This name is intentionally different than the internal type so that the DefaultConvert works nicely and because the ordering may be different. Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", - "type": "array", - "items": { - "type": "string" - } - }, - "resourceNames": { - "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", - "type": "array", - "items": { - "type": "string" - } - }, - "resources": { - "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", - "type": "array", - "items": { - "type": "string" - } - }, - "verbs": { - "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", - "type": "array", - "items": { - "type": "string" - } + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" } } }, @@ -75095,24 +80294,6 @@ } ] }, - "v1beta1.JSONSchemaPropsOrArray": { - "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.", - "required": [ - "Schema", - "JSONSchemas" - ], - "properties": { - "JSONSchemas": { - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.JSONSchemaProps" - } - }, - "Schema": { - "$ref": "#/definitions/v1beta1.JSONSchemaProps" - } - } - }, "extensions.v1beta1.DeploymentRollback": { "description": "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.", "required": [ @@ -75237,6 +80418,18 @@ } ] }, + "v1.PodReadinessGate": { + "description": "PodReadinessGate contains the reference to a pod condition", + "required": [ + "conditionType" + ], + "properties": { + "conditionType": { + "description": "ConditionType refers to a condition in the pod's condition list with matching type.", + "type": "string" + } + } + }, "v1.APIResourceList": { "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", "required": [ @@ -75376,7 +80569,7 @@ ] }, "v1.GitRepoVolumeSource": { - "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.", + "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", "required": [ "repository" ], @@ -75395,6 +80588,27 @@ } } }, + "v1.ServiceAccountTokenProjection": { + "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).", + "required": [ + "path" + ], + "properties": { + "audience": { + "description": "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.", + "type": "string" + }, + "expirationSeconds": { + "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", + "type": "integer", + "format": "int64" + }, + "path": { + "description": "Path is the path relative to the mount point of the file to project the token into.", + "type": "string" + } + } + }, "v1.EnvVar": { "description": "EnvVar represents an environment variable present in a Container.", "required": [ @@ -75467,20 +80681,20 @@ } }, "policy.v1beta1.RunAsUserStrategyOptions": { - "description": "Run A sUser Strategy Options defines the strategy type and any options used to create the strategy.", + "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.", "required": [ "rule" ], "properties": { "ranges": { - "description": "Ranges are the allowed ranges of uids that may be used.", + "description": "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/policy.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate the allowable RunAsUser values that may be set.", + "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set.", "type": "string" } } @@ -75530,21 +80744,6 @@ } } }, - "v1beta1.JSONSchemaPropsOrBool": { - "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.", - "required": [ - "Allows", - "Schema" - ], - "properties": { - "Allows": { - "type": "boolean" - }, - "Schema": { - "$ref": "#/definitions/v1beta1.JSONSchemaProps" - } - } - }, "v1beta1.CertificateSigningRequestList": { "required": [ "items" @@ -75611,19 +80810,19 @@ ] }, "extensions.v1beta1.IDRange": { - "description": "ID Range provides a min/max of an allowed range of IDs.", + "description": "IDRange provides a min/max of an allowed range of IDs. Deprecated: use IDRange from policy API Group instead.", "required": [ "min", "max" ], "properties": { "max": { - "description": "Max is the end of the range, inclusive.", + "description": "max is the end of the range, inclusive.", "type": "integer", "format": "int64" }, "min": { - "description": "Min is the start of the range, inclusive.", + "description": "min is the start of the range, inclusive.", "type": "integer", "format": "int64" } @@ -75663,6 +80862,38 @@ } ] }, + "v2beta2.HorizontalPodAutoscaler": { + "description": "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.", + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscalerSpec" + }, + "status": { + "description": "status is the current information about the autoscaler.", + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscalerStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" + } + ] + }, "v1beta1.StatefulSetStatus": { "description": "StatefulSetStatus represents the current state of a StatefulSet.", "required": [ @@ -75758,6 +80989,10 @@ "currentValue" ], "properties": { + "averageValue": { + "description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)", + "$ref": "#/definitions/resource.Quantity" + }, "currentValue": { "description": "currentValue is the current value of the metric (as a quantity).", "$ref": "#/definitions/resource.Quantity" @@ -75766,12 +81001,50 @@ "description": "metricName is the name of the metric in question.", "type": "string" }, + "selector": { + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.", + "$ref": "#/definitions/v1.LabelSelector" + }, "target": { "description": "target is the described Kubernetes object.", "$ref": "#/definitions/v2beta1.CrossVersionObjectReference" } } }, + "v1.HorizontalPodAutoscalerList": { + "description": "list of horizontal pod autoscaler objects.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "list of horizontal pod autoscaler objects.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata.", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "autoscaling", + "kind": "HorizontalPodAutoscalerList", + "version": "v1" + } + ] + }, "v1.Binding": { "description": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.", "required": [ @@ -75838,39 +81111,22 @@ } } }, - "v1alpha1.RoleList": { - "description": "RoleList is a collection of Roles", + "v2beta2.ResourceMetricSource": { + "description": "ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set.", "required": [ - "items" + "name", + "target" ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of Roles", - "type": "array", - "items": { - "$ref": "#/definitions/v1alpha1.Role" - } - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "name": { + "description": "name is the name of the resource in question.", "type": "string" }, - "metadata": { - "description": "Standard object's metadata.", - "$ref": "#/definitions/v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "RoleList", - "version": "v1alpha1" + "target": { + "description": "target specifies the target value for the given metric", + "$ref": "#/definitions/v2beta2.MetricTarget" } - ] + } }, "v1.VsphereVirtualDiskVolumeSource": { "description": "Represents a vSphere volume resource.", @@ -75951,7 +81207,7 @@ "$ref": "#/definitions/intstr.IntOrString" }, "protocol": { - "description": "The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP.", + "description": "The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", "type": "string" } } @@ -76038,7 +81294,6 @@ "v1beta1.RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -76141,22 +81396,6 @@ } } }, - "v1beta1.IngressTLS": { - "description": "IngressTLS describes the transport layer security associated with an Ingress.", - "properties": { - "hosts": { - "description": "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", - "type": "array", - "items": { - "type": "string" - } - }, - "secretName": { - "description": "SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.", - "type": "string" - } - } - }, "v1beta1.StorageClass": { "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", "required": [ @@ -76167,6 +81406,13 @@ "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", "type": "boolean" }, + "allowedTopologies": { + "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.TopologySelectorTerm" + } + }, "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" @@ -76202,7 +81448,7 @@ "type": "string" }, "volumeBindingMode": { - "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is alpha-level and is only honored by servers that enable the VolumeScheduling feature.", + "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.", "type": "string" } }, @@ -76215,7 +81461,7 @@ ] }, "v1.PodStatus": { - "description": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system.", + "description": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.", "properties": { "conditions": { "description": "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", @@ -76253,7 +81499,7 @@ "type": "string" }, "phase": { - "description": "Current condition of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase", + "description": "The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values:\n\nPending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase", "type": "string" }, "podIP": { @@ -76564,6 +81810,26 @@ } } }, + "v1.TopologySelectorLabelRequirement": { + "description": "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.", + "required": [ + "key", + "values" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "values": { + "description": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "v1beta1.CronJobSpec": { "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", "required": [ @@ -76925,63 +82191,6 @@ } } }, - "v1.NodeSystemInfo": { - "description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.", - "required": [ - "machineID", - "systemUUID", - "bootID", - "kernelVersion", - "osImage", - "containerRuntimeVersion", - "kubeletVersion", - "kubeProxyVersion", - "operatingSystem", - "architecture" - ], - "properties": { - "architecture": { - "description": "The Architecture reported by the node", - "type": "string" - }, - "bootID": { - "description": "Boot ID reported by the node.", - "type": "string" - }, - "containerRuntimeVersion": { - "description": "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).", - "type": "string" - }, - "kernelVersion": { - "description": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).", - "type": "string" - }, - "kubeProxyVersion": { - "description": "KubeProxy Version reported by the node.", - "type": "string" - }, - "kubeletVersion": { - "description": "Kubelet Version reported by the node.", - "type": "string" - }, - "machineID": { - "description": "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html", - "type": "string" - }, - "operatingSystem": { - "description": "The Operating System reported by the node", - "type": "string" - }, - "osImage": { - "description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).", - "type": "string" - }, - "systemUUID": { - "description": "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html", - "type": "string" - } - } - }, "v1beta1.ClusterRoleList": { "description": "ClusterRoleList is a collection of ClusterRoles", "required": [ @@ -77049,6 +82258,32 @@ } } }, + "v1.PodDNSConfig": { + "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.", + "properties": { + "nameservers": { + "description": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.", + "type": "array", + "items": { + "type": "string" + } + }, + "options": { + "description": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PodDNSConfigOption" + } + }, + "searches": { + "description": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "v1.PodCondition": { "description": "PodCondition contains details for the current condition of this pod.", "required": [ @@ -77079,7 +82314,7 @@ "type": "string" }, "type": { - "description": "Type is the type of the condition. Currently only Ready. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", + "description": "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", "type": "string" } } @@ -77164,7 +82399,7 @@ "format": "byte" }, "service": { - "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`.\n\nIf there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error.", + "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`.\n\nPort 443 will be used if it is open, otherwise it is an error.", "$ref": "#/definitions/admissionregistration.v1beta1.ServiceReference" }, "url": { @@ -77254,6 +82489,39 @@ } } }, + "v1.ObjectReference": { + "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", + "properties": { + "apiVersion": { + "description": "API version of the referent.", + "type": "string" + }, + "fieldPath": { + "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.", + "type": "string" + }, + "kind": { + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "namespace": { + "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", + "type": "string" + }, + "resourceVersion": { + "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency", + "type": "string" + }, + "uid": { + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids", + "type": "string" + } + } + }, "v1.CSIPersistentVolumeSource": { "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)", "required": [ @@ -77270,7 +82538,7 @@ "type": "string" }, "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".", "type": "string" }, "nodePublishSecretRef": { @@ -77299,17 +82567,17 @@ } }, "extensions.v1beta1.FSGroupStrategyOptions": { - "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", + "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use FSGroupStrategyOptions from policy API Group instead.", "properties": { "ranges": { - "description": "Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end.", + "description": "ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/extensions.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", + "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", "type": "string" } } @@ -77339,40 +82607,6 @@ } } }, - "v1.HorizontalPodAutoscalerList": { - "description": "list of horizontal pod autoscaler objects.", - "required": [ - "items" - ], - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "list of horizontal pod autoscaler objects.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" - } - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "description": "Standard list metadata.", - "$ref": "#/definitions/v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "autoscaling", - "kind": "HorizontalPodAutoscalerList", - "version": "v1" - } - ] - }, "v1beta1.CertificateSigningRequestSpec": { "description": "This information is immutable after the request is created. Only the Request and Usages fields can be set on creation, other fields are derived by Kubernetes and cannot be modified by users.", "required": [ @@ -77487,11 +82721,11 @@ "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { - "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", + "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", "$ref": "#/definitions/intstr.IntOrString" }, "maxUnavailable": { - "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", + "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", "$ref": "#/definitions/intstr.IntOrString" } } @@ -77512,6 +82746,50 @@ } } }, + "v2beta2.HorizontalPodAutoscalerStatus": { + "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", + "required": [ + "currentReplicas", + "desiredReplicas", + "conditions" + ], + "properties": { + "conditions": { + "description": "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.", + "type": "array", + "items": { + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscalerCondition" + } + }, + "currentMetrics": { + "description": "currentMetrics is the last read state of the metrics used by this autoscaler.", + "type": "array", + "items": { + "$ref": "#/definitions/v2beta2.MetricStatus" + } + }, + "currentReplicas": { + "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", + "type": "integer", + "format": "int32" + }, + "desiredReplicas": { + "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", + "type": "integer", + "format": "int32" + }, + "lastScaleTime": { + "description": "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.", + "type": "string", + "format": "date-time" + }, + "observedGeneration": { + "description": "observedGeneration is the most recent generation observed by this autoscaler.", + "type": "integer", + "format": "int64" + } + } + }, "v1alpha1.PodPreset": { "description": "PodPreset is a policy resource that defines additional runtime requirements for a Pod.", "properties": { @@ -77579,7 +82857,6 @@ "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.", "required": [ "service", - "caBundle", "groupPriorityMinimum", "versionPriority" ], @@ -77611,12 +82888,46 @@ "type": "string" }, "versionPriority": { - "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s.", + "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", "type": "integer", "format": "int32" } } }, + "v1.SubjectAccessReview": { + "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", + "required": [ + "spec" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds information about the request being evaluated", + "$ref": "#/definitions/v1.SubjectAccessReviewSpec" + }, + "status": { + "description": "Status is filled in by the server and indicates whether the request is allowed or not", + "$ref": "#/definitions/v1.SubjectAccessReviewStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "authorization.k8s.io", + "kind": "SubjectAccessReview", + "version": "v1" + } + ] + }, "v1beta1.CustomResourceDefinitionList": { "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.", "required": [ @@ -77641,7 +82952,14 @@ "metadata": { "$ref": "#/definitions/v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinitionList", + "version": "v1beta1" + } + ] }, "v1.Toleration": { "description": "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator .", @@ -77704,6 +83022,7 @@ } }, "intstr.IntOrString": { + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.", "type": "string", "format": "int-or-string" }, @@ -77786,6 +83105,24 @@ } } }, + "v2beta2.MetricValueStatus": { + "description": "MetricValueStatus holds the current value for a metric", + "properties": { + "averageUtilization": { + "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", + "type": "integer", + "format": "int32" + }, + "averageValue": { + "description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)", + "$ref": "#/definitions/resource.Quantity" + }, + "value": { + "description": "value is the current value of the metric (as a quantity).", + "$ref": "#/definitions/resource.Quantity" + } + } + }, "apiregistration.v1beta1.ServiceReference": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "properties": { @@ -77833,6 +83170,27 @@ } } }, + "admissionregistration.v1beta1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", + "required": [ + "namespace", + "name" + ], + "properties": { + "name": { + "description": "`name` is the name of the service. Required", + "type": "string" + }, + "namespace": { + "description": "`namespace` is the namespace of the service. Required", + "type": "string" + }, + "path": { + "description": "`path` is an optional URL path which will be sent in any request to this service.", + "type": "string" + } + } + }, "v1.PodSpec": { "description": "PodSpec is a description of a pod.", "required": [ @@ -77932,10 +83290,21 @@ "description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.", "type": "string" }, + "readinessGates": { + "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PodReadinessGate" + } + }, "restartPolicy": { "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy", "type": "string" }, + "runtimeClassName": { + "description": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://github.com/kubernetes/community/blob/master/keps/sig-node/0014-runtime-class.md This is an alpha feature and may change in the future.", + "type": "string" + }, "schedulerName": { "description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.", "type": "string" @@ -77953,7 +83322,7 @@ "type": "string" }, "shareProcessNamespace": { - "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is alpha-level and is honored only by servers that enable the PodShareProcessNamespace feature.", + "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", "type": "boolean" }, "subdomain": { @@ -78066,11 +83435,26 @@ } ] }, + "extensions.v1beta1.SupplementalGroupsStrategyOptions": { + "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use SupplementalGroupsStrategyOptions from policy API Group instead.", + "properties": { + "ranges": { + "description": "ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.", + "type": "array", + "items": { + "$ref": "#/definitions/extensions.v1beta1.IDRange" + } + }, + "rule": { + "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", + "type": "string" + } + } + }, "v1beta1.APIServiceSpec": { "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.", "required": [ "service", - "caBundle", "groupPriorityMinimum", "versionPriority" ], @@ -78102,7 +83486,7 @@ "type": "string" }, "versionPriority": { - "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s.", + "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", "type": "integer", "format": "int32" } @@ -78122,37 +83506,118 @@ } } }, - "v1.Deployment": { - "description": "Deployment enables declarative updates for Pods and ReplicaSets.", + "v1.NodeSystemInfo": { + "description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.", + "required": [ + "machineID", + "systemUUID", + "bootID", + "kernelVersion", + "osImage", + "containerRuntimeVersion", + "kubeletVersion", + "kubeProxyVersion", + "operatingSystem", + "architecture" + ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "architecture": { + "description": "The Architecture reported by the node", "type": "string" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "bootID": { + "description": "Boot ID reported by the node.", "type": "string" }, - "metadata": { - "description": "Standard object metadata.", - "$ref": "#/definitions/v1.ObjectMeta" + "containerRuntimeVersion": { + "description": "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).", + "type": "string" }, - "spec": { - "description": "Specification of the desired behavior of the Deployment.", - "$ref": "#/definitions/v1.DeploymentSpec" + "kernelVersion": { + "description": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).", + "type": "string" }, - "status": { - "description": "Most recently observed status of the Deployment.", - "$ref": "#/definitions/v1.DeploymentStatus" + "kubeProxyVersion": { + "description": "KubeProxy Version reported by the node.", + "type": "string" + }, + "kubeletVersion": { + "description": "Kubelet Version reported by the node.", + "type": "string" + }, + "machineID": { + "description": "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html", + "type": "string" + }, + "operatingSystem": { + "description": "The Operating System reported by the node", + "type": "string" + }, + "osImage": { + "description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).", + "type": "string" + }, + "systemUUID": { + "description": "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html", + "type": "string" } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "Deployment", - "version": "v1" + } + }, + "v1beta1.CustomResourceDefinitionVersion": { + "required": [ + "name", + "served", + "storage" + ], + "properties": { + "name": { + "description": "Name is the version name, e.g. \u201cv1\u201d, \u201cv2beta1\u201d, etc.", + "type": "string" + }, + "served": { + "description": "Served is a flag enabling/disabling this version from being served via REST APIs", + "type": "boolean" + }, + "storage": { + "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", + "type": "boolean" } - ] + } + }, + "v1beta1.CustomResourceColumnDefinition": { + "description": "CustomResourceColumnDefinition specifies a column for server side printing.", + "required": [ + "name", + "type", + "JSONPath" + ], + "properties": { + "JSONPath": { + "description": "JSONPath is a simple JSON path, i.e. with array notation.", + "type": "string" + }, + "description": { + "description": "description is a human readable description of this column.", + "type": "string" + }, + "format": { + "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.", + "type": "string" + }, + "name": { + "description": "name is a human readable name for the column.", + "type": "string" + }, + "priority": { + "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", + "type": "integer", + "format": "int32" + }, + "type": { + "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.", + "type": "string" + } + } }, "v1.ResourceFieldSelector": { "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", @@ -78200,24 +83665,6 @@ } } }, - "v1beta1.JSONSchemaPropsOrStringArray": { - "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.", - "required": [ - "Schema", - "Property" - ], - "properties": { - "Property": { - "type": "array", - "items": { - "type": "string" - } - }, - "Schema": { - "$ref": "#/definitions/v1beta1.JSONSchemaProps" - } - } - }, "v1.ScaleIOPersistentVolumeSource": { "description": "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume", "required": [ @@ -78227,7 +83674,7 @@ ], "properties": { "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"", "type": "string" }, "gateway": { @@ -78251,7 +83698,7 @@ "type": "boolean" }, "storageMode": { - "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.", + "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", "type": "string" }, "storagePool": { @@ -78673,10 +84120,12 @@ "type": "string" }, "additionalItems": { - "$ref": "#/definitions/v1beta1.JSONSchemaPropsOrBool" + "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.", + "type": "object" }, "additionalProperties": { - "$ref": "#/definitions/v1beta1.JSONSchemaPropsOrBool" + "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.", + "type": "object" }, "allOf": { "type": "array", @@ -78691,7 +84140,8 @@ } }, "default": { - "$ref": "#/definitions/v1beta1.JSON" + "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.", + "type": "object" }, "definitions": { "type": "object", @@ -78702,7 +84152,8 @@ "dependencies": { "type": "object", "additionalProperties": { - "$ref": "#/definitions/v1beta1.JSONSchemaPropsOrStringArray" + "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.", + "type": "object" } }, "description": { @@ -78711,11 +84162,13 @@ "enum": { "type": "array", "items": { - "$ref": "#/definitions/v1beta1.JSON" + "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.", + "type": "object" } }, "example": { - "$ref": "#/definitions/v1beta1.JSON" + "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.", + "type": "object" }, "exclusiveMaximum": { "type": "boolean" @@ -78733,7 +84186,8 @@ "type": "string" }, "items": { - "$ref": "#/definitions/v1beta1.JSONSchemaPropsOrArray" + "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.", + "type": "object" }, "maxItems": { "type": "integer", @@ -78813,7 +84267,7 @@ } }, "extensions.v1beta1.PodSecurityPolicyList": { - "description": "Pod Security Policy List is a list of PodSecurityPolicy objects.", + "description": "PodSecurityPolicyList is a list of PodSecurityPolicy objects. Deprecated: use PodSecurityPolicyList from policy API Group instead.", "required": [ "items" ], @@ -78823,7 +84277,7 @@ "type": "string" }, "items": { - "description": "Items is a list of schema objects.", + "description": "items is a list of schema objects.", "type": "array", "items": { "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" @@ -78846,6 +84300,37 @@ } ] }, + "v1.DaemonSetSpec": { + "description": "DaemonSetSpec is the specification of a daemon set.", + "required": [ + "selector", + "template" + ], + "properties": { + "minReadySeconds": { + "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", + "type": "integer", + "format": "int32" + }, + "revisionHistoryLimit": { + "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "$ref": "#/definitions/v1.LabelSelector" + }, + "template": { + "description": "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template", + "$ref": "#/definitions/v1.PodTemplateSpec" + }, + "updateStrategy": { + "description": "An update strategy to replace existing DaemonSet pods with new pods.", + "$ref": "#/definitions/v1.DaemonSetUpdateStrategy" + } + } + }, "v1.StatefulSetSpec": { "description": "A StatefulSetSpec is the specification of a StatefulSet.", "required": [ @@ -78893,6 +84378,29 @@ } } }, + "v1beta1.IngressSpec": { + "description": "IngressSpec describes the Ingress the user wishes to exist.", + "properties": { + "backend": { + "description": "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default.", + "$ref": "#/definitions/v1beta1.IngressBackend" + }, + "rules": { + "description": "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.IngressRule" + } + }, + "tls": { + "description": "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.IngressTLS" + } + } + } + }, "v1.ContainerStatus": { "description": "ContainerStatus contains details for the current status of this container.", "required": [ @@ -78938,6 +84446,18 @@ } } }, + "v1.ScopeSelector": { + "description": "A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.", + "properties": { + "matchExpressions": { + "description": "A list of scope selector requirements by scope of the resources.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ScopedResourceSelectorRequirement" + } + } + } + }, "v1.ServiceAccount": { "description": "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets", "properties": { @@ -79102,7 +84622,6 @@ "v1alpha1.RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -79318,6 +84837,10 @@ "description": "metricName is the name of the metric in question", "type": "string" }, + "selector": { + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.", + "$ref": "#/definitions/v1.LabelSelector" + }, "targetAverageValue": { "description": "targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)", "$ref": "#/definitions/resource.Quantity" @@ -79507,6 +85030,13 @@ "type": "integer", "format": "int64" } + }, + "sysctls": { + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.Sysctl" + } } } }, diff --git a/src/KubernetesClient/generated/swagger.json.unprocessed b/src/KubernetesClient/generated/swagger.json.unprocessed index ec890cf3c..5ea44009a 100644 --- a/src/KubernetesClient/generated/swagger.json.unprocessed +++ b/src/KubernetesClient/generated/swagger.json.unprocessed @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Kubernetes", - "version": "v1.10.0" + "version": "v1.12.0" }, "paths": { "/api/": { @@ -113,7 +113,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -271,7 +271,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -375,7 +375,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -479,7 +479,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -583,7 +583,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -669,7 +669,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -908,7 +908,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -1058,7 +1058,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -1277,6 +1277,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -1306,6 +1313,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -1414,7 +1427,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -1564,7 +1577,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -1783,6 +1796,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -1812,6 +1832,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -1920,7 +1946,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -2070,7 +2096,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -2289,6 +2315,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -2318,6 +2351,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -2426,7 +2465,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -2576,7 +2615,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -2795,6 +2834,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -2824,6 +2870,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -2932,7 +2984,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -3082,7 +3134,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -3301,6 +3353,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -3330,6 +3389,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -3598,7 +3663,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -3748,7 +3813,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -3967,6 +4032,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -3996,6 +4068,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -4110,7 +4188,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodAttachOptions", "version": "v1" } }, @@ -4143,7 +4221,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodAttachOptions", "version": "v1" } }, @@ -4158,7 +4236,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Pod", + "description": "name of the PodAttachOptions", "name": "name", "in": "path", "required": true @@ -4399,7 +4477,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodExecOptions", "version": "v1" } }, @@ -4432,7 +4510,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodExecOptions", "version": "v1" } }, @@ -4454,7 +4532,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Pod", + "description": "name of the PodExecOptions", "name": "name", "in": "path", "required": true @@ -4639,7 +4717,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodPortForwardOptions", "version": "v1" } }, @@ -4672,7 +4750,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodPortForwardOptions", "version": "v1" } }, @@ -4680,7 +4758,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Pod", + "description": "name of the PodPortForwardOptions", "name": "name", "in": "path", "required": true @@ -4732,7 +4810,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4765,7 +4843,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4798,7 +4876,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4831,7 +4909,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4864,7 +4942,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4897,7 +4975,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4930,7 +5008,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4938,7 +5016,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Pod", + "description": "name of the PodProxyOptions", "name": "name", "in": "path", "required": true @@ -4990,7 +5068,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -5023,7 +5101,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -5056,7 +5134,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -5089,7 +5167,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -5122,7 +5200,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -5155,7 +5233,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -5188,7 +5266,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -5196,7 +5274,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Pod", + "description": "name of the PodProxyOptions", "name": "name", "in": "path", "required": true @@ -5410,7 +5488,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -5560,7 +5638,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -5779,6 +5857,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -5808,6 +5893,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -5916,7 +6007,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -6066,7 +6157,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -6285,6 +6376,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -6314,6 +6412,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -6742,7 +6846,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -6892,7 +6996,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -7111,6 +7215,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -7140,6 +7251,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -7408,7 +7525,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -7558,7 +7675,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -7777,6 +7894,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -7806,6 +7930,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -7914,7 +8044,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -8064,7 +8194,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -8283,6 +8413,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -8312,6 +8449,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -8420,7 +8563,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -8696,6 +8839,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -8725,6 +8875,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -8839,7 +8995,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8872,7 +9028,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8905,7 +9061,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8938,7 +9094,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8971,7 +9127,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -9004,7 +9160,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -9037,7 +9193,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -9045,7 +9201,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Service", + "description": "name of the ServiceProxyOptions", "name": "name", "in": "path", "required": true @@ -9097,7 +9253,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -9130,7 +9286,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -9163,7 +9319,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -9196,7 +9352,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -9229,7 +9385,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -9262,7 +9418,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -9295,7 +9451,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -9303,7 +9459,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Service", + "description": "name of the ServiceProxyOptions", "name": "name", "in": "path", "required": true @@ -9622,6 +9778,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -9651,6 +9814,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -9973,7 +10142,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -10123,7 +10292,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -10334,6 +10503,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -10363,6 +10539,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -10469,7 +10651,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10502,7 +10684,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10535,7 +10717,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10568,7 +10750,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10601,7 +10783,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10634,7 +10816,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10667,7 +10849,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10675,7 +10857,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Node", + "description": "name of the NodeProxyOptions", "name": "name", "in": "path", "required": true @@ -10719,7 +10901,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10752,7 +10934,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10785,7 +10967,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10818,7 +11000,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10851,7 +11033,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10884,7 +11066,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10917,7 +11099,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10925,7 +11107,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Node", + "description": "name of the NodeProxyOptions", "name": "name", "in": "path", "required": true @@ -11141,7 +11323,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -11227,7 +11409,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -11377,7 +11559,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -11588,6 +11770,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -11617,6 +11806,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -11887,7 +12082,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -11991,7 +12186,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12095,7 +12290,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12199,7 +12394,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12303,7 +12498,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12407,7 +12602,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12511,7 +12706,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12575,7 +12770,7 @@ }, "/api/v1/watch/configmaps": { "get": { - "description": "watch individual changes to a list of ConfigMap", + "description": "watch individual changes to a list of ConfigMap. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -12615,7 +12810,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12679,7 +12874,7 @@ }, "/api/v1/watch/endpoints": { "get": { - "description": "watch individual changes to a list of Endpoints", + "description": "watch individual changes to a list of Endpoints. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -12719,7 +12914,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12783,7 +12978,7 @@ }, "/api/v1/watch/events": { "get": { - "description": "watch individual changes to a list of Event", + "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -12823,7 +13018,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12887,7 +13082,7 @@ }, "/api/v1/watch/limitranges": { "get": { - "description": "watch individual changes to a list of LimitRange", + "description": "watch individual changes to a list of LimitRange. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -12927,7 +13122,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -12991,7 +13186,7 @@ }, "/api/v1/watch/namespaces": { "get": { - "description": "watch individual changes to a list of Namespace", + "description": "watch individual changes to a list of Namespace. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -13031,7 +13226,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13095,7 +13290,7 @@ }, "/api/v1/watch/namespaces/{namespace}/configmaps": { "get": { - "description": "watch individual changes to a list of ConfigMap", + "description": "watch individual changes to a list of ConfigMap. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -13135,7 +13330,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13207,7 +13402,7 @@ }, "/api/v1/watch/namespaces/{namespace}/configmaps/{name}": { "get": { - "description": "watch changes to an object of kind ConfigMap", + "description": "watch changes to an object of kind ConfigMap. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -13247,7 +13442,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13327,7 +13522,7 @@ }, "/api/v1/watch/namespaces/{namespace}/endpoints": { "get": { - "description": "watch individual changes to a list of Endpoints", + "description": "watch individual changes to a list of Endpoints. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -13367,7 +13562,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13439,7 +13634,7 @@ }, "/api/v1/watch/namespaces/{namespace}/endpoints/{name}": { "get": { - "description": "watch changes to an object of kind Endpoints", + "description": "watch changes to an object of kind Endpoints. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -13479,7 +13674,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13559,7 +13754,7 @@ }, "/api/v1/watch/namespaces/{namespace}/events": { "get": { - "description": "watch individual changes to a list of Event", + "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -13599,7 +13794,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13671,7 +13866,7 @@ }, "/api/v1/watch/namespaces/{namespace}/events/{name}": { "get": { - "description": "watch changes to an object of kind Event", + "description": "watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -13711,7 +13906,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13791,7 +13986,7 @@ }, "/api/v1/watch/namespaces/{namespace}/limitranges": { "get": { - "description": "watch individual changes to a list of LimitRange", + "description": "watch individual changes to a list of LimitRange. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -13831,7 +14026,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13903,7 +14098,7 @@ }, "/api/v1/watch/namespaces/{namespace}/limitranges/{name}": { "get": { - "description": "watch changes to an object of kind LimitRange", + "description": "watch changes to an object of kind LimitRange. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -13943,7 +14138,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14023,7 +14218,7 @@ }, "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims": { "get": { - "description": "watch individual changes to a list of PersistentVolumeClaim", + "description": "watch individual changes to a list of PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -14063,7 +14258,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14135,7 +14330,7 @@ }, "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims/{name}": { "get": { - "description": "watch changes to an object of kind PersistentVolumeClaim", + "description": "watch changes to an object of kind PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -14175,7 +14370,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14255,7 +14450,7 @@ }, "/api/v1/watch/namespaces/{namespace}/pods": { "get": { - "description": "watch individual changes to a list of Pod", + "description": "watch individual changes to a list of Pod. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -14295,7 +14490,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14367,7 +14562,7 @@ }, "/api/v1/watch/namespaces/{namespace}/pods/{name}": { "get": { - "description": "watch changes to an object of kind Pod", + "description": "watch changes to an object of kind Pod. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -14407,7 +14602,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14487,7 +14682,7 @@ }, "/api/v1/watch/namespaces/{namespace}/podtemplates": { "get": { - "description": "watch individual changes to a list of PodTemplate", + "description": "watch individual changes to a list of PodTemplate. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -14527,7 +14722,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14599,7 +14794,7 @@ }, "/api/v1/watch/namespaces/{namespace}/podtemplates/{name}": { "get": { - "description": "watch changes to an object of kind PodTemplate", + "description": "watch changes to an object of kind PodTemplate. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -14639,7 +14834,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14719,7 +14914,7 @@ }, "/api/v1/watch/namespaces/{namespace}/replicationcontrollers": { "get": { - "description": "watch individual changes to a list of ReplicationController", + "description": "watch individual changes to a list of ReplicationController. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -14759,7 +14954,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14831,7 +15026,7 @@ }, "/api/v1/watch/namespaces/{namespace}/replicationcontrollers/{name}": { "get": { - "description": "watch changes to an object of kind ReplicationController", + "description": "watch changes to an object of kind ReplicationController. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -14871,7 +15066,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14951,7 +15146,7 @@ }, "/api/v1/watch/namespaces/{namespace}/resourcequotas": { "get": { - "description": "watch individual changes to a list of ResourceQuota", + "description": "watch individual changes to a list of ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -14991,7 +15186,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15063,7 +15258,7 @@ }, "/api/v1/watch/namespaces/{namespace}/resourcequotas/{name}": { "get": { - "description": "watch changes to an object of kind ResourceQuota", + "description": "watch changes to an object of kind ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -15103,7 +15298,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15183,7 +15378,7 @@ }, "/api/v1/watch/namespaces/{namespace}/secrets": { "get": { - "description": "watch individual changes to a list of Secret", + "description": "watch individual changes to a list of Secret. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -15223,7 +15418,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15295,7 +15490,7 @@ }, "/api/v1/watch/namespaces/{namespace}/secrets/{name}": { "get": { - "description": "watch changes to an object of kind Secret", + "description": "watch changes to an object of kind Secret. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -15335,7 +15530,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15415,7 +15610,7 @@ }, "/api/v1/watch/namespaces/{namespace}/serviceaccounts": { "get": { - "description": "watch individual changes to a list of ServiceAccount", + "description": "watch individual changes to a list of ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -15455,7 +15650,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15527,7 +15722,7 @@ }, "/api/v1/watch/namespaces/{namespace}/serviceaccounts/{name}": { "get": { - "description": "watch changes to an object of kind ServiceAccount", + "description": "watch changes to an object of kind ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -15567,7 +15762,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15647,7 +15842,7 @@ }, "/api/v1/watch/namespaces/{namespace}/services": { "get": { - "description": "watch individual changes to a list of Service", + "description": "watch individual changes to a list of Service. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -15687,7 +15882,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15759,7 +15954,7 @@ }, "/api/v1/watch/namespaces/{namespace}/services/{name}": { "get": { - "description": "watch changes to an object of kind Service", + "description": "watch changes to an object of kind Service. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -15799,7 +15994,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15879,7 +16074,7 @@ }, "/api/v1/watch/namespaces/{name}": { "get": { - "description": "watch changes to an object of kind Namespace", + "description": "watch changes to an object of kind Namespace. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -15919,7 +16114,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15991,7 +16186,7 @@ }, "/api/v1/watch/nodes": { "get": { - "description": "watch individual changes to a list of Node", + "description": "watch individual changes to a list of Node. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -16031,7 +16226,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -16095,7 +16290,7 @@ }, "/api/v1/watch/nodes/{name}": { "get": { - "description": "watch changes to an object of kind Node", + "description": "watch changes to an object of kind Node. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -16135,7 +16330,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -16207,7 +16402,7 @@ }, "/api/v1/watch/persistentvolumeclaims": { "get": { - "description": "watch individual changes to a list of PersistentVolumeClaim", + "description": "watch individual changes to a list of PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -16247,7 +16442,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -16311,7 +16506,7 @@ }, "/api/v1/watch/persistentvolumes": { "get": { - "description": "watch individual changes to a list of PersistentVolume", + "description": "watch individual changes to a list of PersistentVolume. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -16351,7 +16546,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -16415,7 +16610,7 @@ }, "/api/v1/watch/persistentvolumes/{name}": { "get": { - "description": "watch changes to an object of kind PersistentVolume", + "description": "watch changes to an object of kind PersistentVolume. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -16455,7 +16650,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -16527,7 +16722,7 @@ }, "/api/v1/watch/pods": { "get": { - "description": "watch individual changes to a list of Pod", + "description": "watch individual changes to a list of Pod. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -16567,7 +16762,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -16631,7 +16826,7 @@ }, "/api/v1/watch/podtemplates": { "get": { - "description": "watch individual changes to a list of PodTemplate", + "description": "watch individual changes to a list of PodTemplate. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -16671,7 +16866,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -16735,7 +16930,7 @@ }, "/api/v1/watch/replicationcontrollers": { "get": { - "description": "watch individual changes to a list of ReplicationController", + "description": "watch individual changes to a list of ReplicationController. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -16775,7 +16970,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -16839,7 +17034,7 @@ }, "/api/v1/watch/resourcequotas": { "get": { - "description": "watch individual changes to a list of ResourceQuota", + "description": "watch individual changes to a list of ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -16879,7 +17074,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -16943,7 +17138,7 @@ }, "/api/v1/watch/secrets": { "get": { - "description": "watch individual changes to a list of Secret", + "description": "watch individual changes to a list of Secret. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -16983,7 +17178,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -17047,7 +17242,7 @@ }, "/api/v1/watch/serviceaccounts": { "get": { - "description": "watch individual changes to a list of ServiceAccount", + "description": "watch individual changes to a list of ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -17087,7 +17282,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -17151,7 +17346,7 @@ }, "/api/v1/watch/services": { "get": { - "description": "watch individual changes to a list of Service", + "description": "watch individual changes to a list of Service. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -17191,7 +17386,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -17376,7 +17571,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -17526,7 +17721,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -17737,6 +17932,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -17766,6 +17968,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -17844,7 +18052,7 @@ }, "/apis/admissionregistration.k8s.io/v1alpha1/watch/initializerconfigurations": { "get": { - "description": "watch individual changes to a list of InitializerConfiguration", + "description": "watch individual changes to a list of InitializerConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -17884,7 +18092,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -17948,7 +18156,7 @@ }, "/apis/admissionregistration.k8s.io/v1alpha1/watch/initializerconfigurations/{name}": { "get": { - "description": "watch changes to an object of kind InitializerConfiguration", + "description": "watch changes to an object of kind InitializerConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -17988,7 +18196,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -18115,7 +18323,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -18265,7 +18473,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -18476,6 +18684,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -18505,6 +18720,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -18605,7 +18826,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -18755,7 +18976,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -18966,6 +19187,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -18995,6 +19223,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -19073,7 +19307,7 @@ }, "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations": { "get": { - "description": "watch individual changes to a list of MutatingWebhookConfiguration", + "description": "watch individual changes to a list of MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -19113,7 +19347,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -19177,7 +19411,7 @@ }, "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations/{name}": { "get": { - "description": "watch changes to an object of kind MutatingWebhookConfiguration", + "description": "watch changes to an object of kind MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -19217,7 +19451,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -19289,7 +19523,7 @@ }, "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingwebhookconfigurations": { "get": { - "description": "watch individual changes to a list of ValidatingWebhookConfiguration", + "description": "watch individual changes to a list of ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -19329,7 +19563,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -19393,7 +19627,7 @@ }, "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingwebhookconfigurations/{name}": { "get": { - "description": "watch changes to an object of kind ValidatingWebhookConfiguration", + "description": "watch changes to an object of kind ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -19433,7 +19667,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -19593,7 +19827,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -19743,7 +19977,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -19954,6 +20188,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -19983,6 +20224,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -20060,6 +20307,41 @@ ] }, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status": { + "get": { + "description": "read status of the specified CustomResourceDefinition", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1beta1" + ], + "operationId": "readApiextensionsV1beta1CustomResourceDefinitionStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" + } + }, "put": { "description": "replace status of the specified CustomResourceDefinition", "consumes": [ @@ -20111,6 +20393,53 @@ "version": "v1beta1" } }, + "patch": { + "description": "partially update status of the specified CustomResourceDefinition", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1beta1" + ], + "operationId": "patchApiextensionsV1beta1CustomResourceDefinitionStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" + } + }, "parameters": [ { "uniqueItems": true, @@ -20131,7 +20460,7 @@ }, "/apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions": { "get": { - "description": "watch individual changes to a list of CustomResourceDefinition", + "description": "watch individual changes to a list of CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -20171,7 +20500,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -20235,7 +20564,7 @@ }, "/apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions/{name}": { "get": { - "description": "watch changes to an object of kind CustomResourceDefinition", + "description": "watch changes to an object of kind CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -20275,7 +20604,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -20435,7 +20764,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -20585,7 +20914,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -20796,6 +21125,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -20825,6 +21161,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -20902,6 +21244,41 @@ ] }, "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status": { + "get": { + "description": "read status of the specified APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "readApiregistrationV1APIServiceStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, "put": { "description": "replace status of the specified APIService", "consumes": [ @@ -20953,6 +21330,53 @@ "version": "v1" } }, + "patch": { + "description": "partially update status of the specified APIService", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "patchApiregistrationV1APIServiceStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, "parameters": [ { "uniqueItems": true, @@ -20973,7 +21397,7 @@ }, "/apis/apiregistration.k8s.io/v1/watch/apiservices": { "get": { - "description": "watch individual changes to a list of APIService", + "description": "watch individual changes to a list of APIService. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -21013,7 +21437,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -21077,7 +21501,7 @@ }, "/apis/apiregistration.k8s.io/v1/watch/apiservices/{name}": { "get": { - "description": "watch changes to an object of kind APIService", + "description": "watch changes to an object of kind APIService. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -21117,7 +21541,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -21244,7 +21668,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -21394,7 +21818,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -21605,6 +22029,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -21634,6 +22065,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -21711,6 +22148,41 @@ ] }, "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status": { + "get": { + "description": "read status of the specified APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1beta1" + ], + "operationId": "readApiregistrationV1beta1APIServiceStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" + } + }, "put": { "description": "replace status of the specified APIService", "consumes": [ @@ -21762,6 +22234,53 @@ "version": "v1beta1" } }, + "patch": { + "description": "partially update status of the specified APIService", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1beta1" + ], + "operationId": "patchApiregistrationV1beta1APIServiceStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" + } + }, "parameters": [ { "uniqueItems": true, @@ -21782,7 +22301,7 @@ }, "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices": { "get": { - "description": "watch individual changes to a list of APIService", + "description": "watch individual changes to a list of APIService. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -21822,7 +22341,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -21886,7 +22405,7 @@ }, "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices/{name}": { "get": { - "description": "watch changes to an object of kind APIService", + "description": "watch changes to an object of kind APIService. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -21926,7 +22445,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -22104,7 +22623,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -22208,7 +22727,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -22312,7 +22831,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -22398,7 +22917,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -22548,7 +23067,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -22767,6 +23286,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -22796,6 +23322,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -22904,7 +23436,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -23054,7 +23586,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -23273,6 +23805,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -23302,6 +23841,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -23570,7 +24115,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -23720,7 +24265,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -23939,6 +24484,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -23968,6 +24520,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -24396,7 +24954,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -24546,7 +25104,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -24765,6 +25323,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -24794,6 +25359,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -25222,7 +25793,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -25372,7 +25943,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -25591,6 +26162,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -25620,6 +26198,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -26066,7 +26650,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -26170,7 +26754,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -26234,7 +26818,7 @@ }, "/apis/apps/v1/watch/controllerrevisions": { "get": { - "description": "watch individual changes to a list of ControllerRevision", + "description": "watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -26274,7 +26858,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -26338,7 +26922,7 @@ }, "/apis/apps/v1/watch/daemonsets": { "get": { - "description": "watch individual changes to a list of DaemonSet", + "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -26378,7 +26962,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -26442,7 +27026,7 @@ }, "/apis/apps/v1/watch/deployments": { "get": { - "description": "watch individual changes to a list of Deployment", + "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -26482,7 +27066,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -26546,7 +27130,7 @@ }, "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions": { "get": { - "description": "watch individual changes to a list of ControllerRevision", + "description": "watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -26586,7 +27170,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -26658,7 +27242,7 @@ }, "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions/{name}": { "get": { - "description": "watch changes to an object of kind ControllerRevision", + "description": "watch changes to an object of kind ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -26698,7 +27282,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -26778,7 +27362,7 @@ }, "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets": { "get": { - "description": "watch individual changes to a list of DaemonSet", + "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -26818,7 +27402,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -26890,7 +27474,7 @@ }, "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets/{name}": { "get": { - "description": "watch changes to an object of kind DaemonSet", + "description": "watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -26930,7 +27514,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27010,7 +27594,7 @@ }, "/apis/apps/v1/watch/namespaces/{namespace}/deployments": { "get": { - "description": "watch individual changes to a list of Deployment", + "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -27050,7 +27634,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27122,7 +27706,7 @@ }, "/apis/apps/v1/watch/namespaces/{namespace}/deployments/{name}": { "get": { - "description": "watch changes to an object of kind Deployment", + "description": "watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -27162,7 +27746,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27242,7 +27826,7 @@ }, "/apis/apps/v1/watch/namespaces/{namespace}/replicasets": { "get": { - "description": "watch individual changes to a list of ReplicaSet", + "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -27282,7 +27866,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27354,7 +27938,7 @@ }, "/apis/apps/v1/watch/namespaces/{namespace}/replicasets/{name}": { "get": { - "description": "watch changes to an object of kind ReplicaSet", + "description": "watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -27394,7 +27978,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27474,7 +28058,7 @@ }, "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets": { "get": { - "description": "watch individual changes to a list of StatefulSet", + "description": "watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -27514,7 +28098,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27586,7 +28170,7 @@ }, "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets/{name}": { "get": { - "description": "watch changes to an object of kind StatefulSet", + "description": "watch changes to an object of kind StatefulSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -27626,7 +28210,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27706,7 +28290,7 @@ }, "/apis/apps/v1/watch/replicasets": { "get": { - "description": "watch individual changes to a list of ReplicaSet", + "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -27746,7 +28330,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27810,7 +28394,7 @@ }, "/apis/apps/v1/watch/statefulsets": { "get": { - "description": "watch individual changes to a list of StatefulSet", + "description": "watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -27850,7 +28434,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27987,7 +28571,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -28091,7 +28675,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -28177,7 +28761,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -28327,7 +28911,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -28546,6 +29130,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -28575,6 +29166,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -28683,7 +29280,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -28833,7 +29430,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -29052,6 +29649,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -29081,6 +29685,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -29197,19 +29807,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentRollback" + "$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentStatus" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentRollback" + "$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentStatus" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentRollback" + "$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentStatus" } }, "401": { @@ -29593,7 +30203,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -29743,7 +30353,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -29962,6 +30572,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -29991,6 +30608,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -30437,7 +31060,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -30501,7 +31124,7 @@ }, "/apis/apps/v1beta1/watch/controllerrevisions": { "get": { - "description": "watch individual changes to a list of ControllerRevision", + "description": "watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -30541,7 +31164,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -30605,7 +31228,7 @@ }, "/apis/apps/v1beta1/watch/deployments": { "get": { - "description": "watch individual changes to a list of Deployment", + "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -30645,7 +31268,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -30709,7 +31332,7 @@ }, "/apis/apps/v1beta1/watch/namespaces/{namespace}/controllerrevisions": { "get": { - "description": "watch individual changes to a list of ControllerRevision", + "description": "watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -30749,7 +31372,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -30821,7 +31444,7 @@ }, "/apis/apps/v1beta1/watch/namespaces/{namespace}/controllerrevisions/{name}": { "get": { - "description": "watch changes to an object of kind ControllerRevision", + "description": "watch changes to an object of kind ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -30861,7 +31484,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -30941,7 +31564,7 @@ }, "/apis/apps/v1beta1/watch/namespaces/{namespace}/deployments": { "get": { - "description": "watch individual changes to a list of Deployment", + "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -30981,7 +31604,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -31053,7 +31676,7 @@ }, "/apis/apps/v1beta1/watch/namespaces/{namespace}/deployments/{name}": { "get": { - "description": "watch changes to an object of kind Deployment", + "description": "watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -31093,7 +31716,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -31173,7 +31796,7 @@ }, "/apis/apps/v1beta1/watch/namespaces/{namespace}/statefulsets": { "get": { - "description": "watch individual changes to a list of StatefulSet", + "description": "watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -31213,7 +31836,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -31285,7 +31908,7 @@ }, "/apis/apps/v1beta1/watch/namespaces/{namespace}/statefulsets/{name}": { "get": { - "description": "watch changes to an object of kind StatefulSet", + "description": "watch changes to an object of kind StatefulSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -31325,7 +31948,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -31405,7 +32028,7 @@ }, "/apis/apps/v1beta1/watch/statefulsets": { "get": { - "description": "watch individual changes to a list of StatefulSet", + "description": "watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -31445,7 +32068,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -31582,7 +32205,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -31686,7 +32309,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -31790,7 +32413,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -31876,7 +32499,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -32026,7 +32649,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -32245,6 +32868,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -32274,6 +32904,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -32382,7 +33018,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -32532,7 +33168,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -32751,6 +33387,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -32780,6 +33423,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -33048,7 +33697,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -33198,7 +33847,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -33417,6 +34066,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -33446,6 +34102,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -33874,7 +34536,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -34024,7 +34686,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -34243,6 +34905,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -34272,6 +34941,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -34700,7 +35375,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -34850,7 +35525,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -35069,6 +35744,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -35098,6 +35780,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -35544,7 +36232,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -35648,7 +36336,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -35712,7 +36400,7 @@ }, "/apis/apps/v1beta2/watch/controllerrevisions": { "get": { - "description": "watch individual changes to a list of ControllerRevision", + "description": "watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -35752,7 +36440,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -35816,7 +36504,7 @@ }, "/apis/apps/v1beta2/watch/daemonsets": { "get": { - "description": "watch individual changes to a list of DaemonSet", + "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -35856,7 +36544,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -35920,7 +36608,7 @@ }, "/apis/apps/v1beta2/watch/deployments": { "get": { - "description": "watch individual changes to a list of Deployment", + "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -35960,7 +36648,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -36024,7 +36712,7 @@ }, "/apis/apps/v1beta2/watch/namespaces/{namespace}/controllerrevisions": { "get": { - "description": "watch individual changes to a list of ControllerRevision", + "description": "watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -36064,7 +36752,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -36136,7 +36824,7 @@ }, "/apis/apps/v1beta2/watch/namespaces/{namespace}/controllerrevisions/{name}": { "get": { - "description": "watch changes to an object of kind ControllerRevision", + "description": "watch changes to an object of kind ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -36176,7 +36864,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -36256,7 +36944,7 @@ }, "/apis/apps/v1beta2/watch/namespaces/{namespace}/daemonsets": { "get": { - "description": "watch individual changes to a list of DaemonSet", + "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -36296,7 +36984,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -36368,7 +37056,7 @@ }, "/apis/apps/v1beta2/watch/namespaces/{namespace}/daemonsets/{name}": { "get": { - "description": "watch changes to an object of kind DaemonSet", + "description": "watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -36408,7 +37096,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -36488,7 +37176,7 @@ }, "/apis/apps/v1beta2/watch/namespaces/{namespace}/deployments": { "get": { - "description": "watch individual changes to a list of Deployment", + "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -36528,7 +37216,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -36600,7 +37288,7 @@ }, "/apis/apps/v1beta2/watch/namespaces/{namespace}/deployments/{name}": { "get": { - "description": "watch changes to an object of kind Deployment", + "description": "watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -36640,7 +37328,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -36720,7 +37408,7 @@ }, "/apis/apps/v1beta2/watch/namespaces/{namespace}/replicasets": { "get": { - "description": "watch individual changes to a list of ReplicaSet", + "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -36760,7 +37448,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -36832,7 +37520,7 @@ }, "/apis/apps/v1beta2/watch/namespaces/{namespace}/replicasets/{name}": { "get": { - "description": "watch changes to an object of kind ReplicaSet", + "description": "watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -36872,7 +37560,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -36952,7 +37640,7 @@ }, "/apis/apps/v1beta2/watch/namespaces/{namespace}/statefulsets": { "get": { - "description": "watch individual changes to a list of StatefulSet", + "description": "watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -36992,7 +37680,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -37064,7 +37752,7 @@ }, "/apis/apps/v1beta2/watch/namespaces/{namespace}/statefulsets/{name}": { "get": { - "description": "watch changes to an object of kind StatefulSet", + "description": "watch changes to an object of kind StatefulSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -37104,7 +37792,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -37184,7 +37872,7 @@ }, "/apis/apps/v1beta2/watch/replicasets": { "get": { - "description": "watch individual changes to a list of ReplicaSet", + "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -37224,7 +37912,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -37288,7 +37976,7 @@ }, "/apis/apps/v1beta2/watch/statefulsets": { "get": { - "description": "watch individual changes to a list of StatefulSet", + "description": "watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -37328,7 +38016,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -38392,7 +39080,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -38478,7 +39166,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -38628,7 +39316,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -38847,6 +39535,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -38876,6 +39571,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -39122,7 +39823,7 @@ }, "/apis/autoscaling/v1/watch/horizontalpodautoscalers": { "get": { - "description": "watch individual changes to a list of HorizontalPodAutoscaler", + "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -39162,7 +39863,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -39226,7 +39927,7 @@ }, "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers": { "get": { - "description": "watch individual changes to a list of HorizontalPodAutoscaler", + "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -39266,7 +39967,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -39338,7 +40039,7 @@ }, "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "get": { - "description": "watch changes to an object of kind HorizontalPodAutoscaler", + "description": "watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -39378,7 +40079,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -39531,7 +40232,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -39617,7 +40318,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -39767,7 +40468,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -39986,6 +40687,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -40015,6 +40723,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -40261,7 +40975,7 @@ }, "/apis/autoscaling/v2beta1/watch/horizontalpodautoscalers": { "get": { - "description": "watch individual changes to a list of HorizontalPodAutoscaler", + "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -40301,7 +41015,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -40365,7 +41079,7 @@ }, "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers": { "get": { - "description": "watch individual changes to a list of HorizontalPodAutoscaler", + "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -40405,7 +41119,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -40477,7 +41191,7 @@ }, "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "get": { - "description": "watch changes to an object of kind HorizontalPodAutoscaler", + "description": "watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -40517,7 +41231,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -40595,40 +41309,7 @@ } ] }, - "/apis/batch/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "batch" - ], - "operationId": "getBatchAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/batch/v1/": { + "/apis/autoscaling/v2beta2/": { "get": { "description": "get available resources", "consumes": [ @@ -40645,9 +41326,9 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "getBatchV1APIResources", + "operationId": "getAutoscalingV2beta2APIResources", "responses": { "200": { "description": "OK", @@ -40661,9 +41342,9 @@ } } }, - "/apis/batch/v1/jobs": { + "/apis/autoscaling/v2beta2/horizontalpodautoscalers": { "get": { - "description": "list or watch objects of kind Job", + "description": "list or watch objects of kind HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -40678,14 +41359,14 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "listBatchV1JobForAllNamespaces", + "operationId": "listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.JobList" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList" } }, "401": { @@ -40694,16 +41375,16 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -40765,9 +41446,9 @@ } ] }, - "/apis/batch/v1/namespaces/{namespace}/jobs": { + "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers": { "get": { - "description": "list or watch objects of kind Job", + "description": "list or watch objects of kind HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -40782,14 +41463,14 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "listBatchV1NamespacedJob", + "operationId": "listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -40847,7 +41528,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.JobList" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList" } }, "401": { @@ -40856,13 +41537,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "post": { - "description": "create a Job", + "description": "create a HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -40875,16 +41556,16 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "createBatchV1NamespacedJob", + "operationId": "createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } } ], @@ -40892,19 +41573,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -40913,13 +41594,13 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "delete": { - "description": "delete collection of Job", + "description": "delete collection of HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -40932,14 +41613,14 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "deleteBatchV1CollectionNamespacedJob", + "operationId": "deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -41006,9 +41687,9 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ @@ -41029,9 +41710,9 @@ } ] }, - "/apis/batch/v1/namespaces/{namespace}/jobs/{name}": { + "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "get": { - "description": "read the specified Job", + "description": "read the specified HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -41044,9 +41725,9 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "readBatchV1NamespacedJob", + "operationId": "readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", "parameters": [ { "uniqueItems": true, @@ -41067,7 +41748,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -41076,13 +41757,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "put": { - "description": "replace the specified Job", + "description": "replace the specified HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -41095,16 +41776,16 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "replaceBatchV1NamespacedJob", + "operationId": "replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } } ], @@ -41112,13 +41793,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -41127,13 +41808,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "delete": { - "description": "delete a Job", + "description": "delete a HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -41146,9 +41827,9 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "deleteBatchV1NamespacedJob", + "operationId": "deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", "parameters": [ { "name": "body", @@ -41158,6 +41839,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -41187,19 +41875,25 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "patch": { - "description": "partially update the specified Job", + "description": "partially update the specified HorizontalPodAutoscaler", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -41214,9 +41908,9 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "patchBatchV1NamespacedJob", + "operationId": "patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", "parameters": [ { "name": "body", @@ -41231,7 +41925,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -41240,16 +41934,16 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Job", + "description": "name of the HorizontalPodAutoscaler", "name": "name", "in": "path", "required": true @@ -41271,9 +41965,9 @@ } ] }, - "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status": { + "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { "get": { - "description": "read status of the specified Job", + "description": "read status of the specified HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -41286,14 +41980,14 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "readBatchV1NamespacedJobStatus", + "operationId": "readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -41302,13 +41996,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "put": { - "description": "replace status of the specified Job", + "description": "replace status of the specified HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -41321,16 +42015,16 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "replaceBatchV1NamespacedJobStatus", + "operationId": "replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } } ], @@ -41338,13 +42032,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -41353,13 +42047,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "patch": { - "description": "partially update status of the specified Job", + "description": "partially update status of the specified HorizontalPodAutoscaler", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -41374,9 +42068,9 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "patchBatchV1NamespacedJobStatus", + "operationId": "patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus", "parameters": [ { "name": "body", @@ -41391,7 +42085,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -41400,16 +42094,16 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Job", + "description": "name of the HorizontalPodAutoscaler", "name": "name", "in": "path", "required": true @@ -41431,9 +42125,9 @@ } ] }, - "/apis/batch/v1/watch/jobs": { + "/apis/autoscaling/v2beta2/watch/horizontalpodautoscalers": { "get": { - "description": "watch individual changes to a list of Job", + "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -41448,9 +42142,9 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "watchBatchV1JobListForAllNamespaces", + "operationId": "watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces", "responses": { "200": { "description": "OK", @@ -41464,16 +42158,16 @@ }, "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -41535,9 +42229,9 @@ } ] }, - "/apis/batch/v1/watch/namespaces/{namespace}/jobs": { + "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers": { "get": { - "description": "watch individual changes to a list of Job", + "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -41552,9 +42246,9 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "watchBatchV1NamespacedJobList", + "operationId": "watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList", "responses": { "200": { "description": "OK", @@ -41568,16 +42262,16 @@ }, "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -41647,9 +42341,9 @@ } ] }, - "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}": { + "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "get": { - "description": "watch changes to an object of kind Job", + "description": "watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -41664,9 +42358,9 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v2beta2" ], - "operationId": "watchBatchV1NamespacedJob", + "operationId": "watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", "responses": { "200": { "description": "OK", @@ -41679,6 +42373,192 @@ } }, "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the HorizontalPodAutoscaler", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/batch/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch" + ], + "operationId": "getBatchAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/batch/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "getBatchV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/batch/v1/jobs": { + "get": { + "description": "list or watch objects of kind Job", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "listBatchV1JobForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.JobList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "Job", @@ -41689,7 +42569,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -41721,22 +42601,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the Job", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -41767,146 +42631,9 @@ } ] }, - "/apis/batch/v1beta1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "operationId": "getBatchV1beta1APIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/batch/v1beta1/cronjobs": { - "get": { - "description": "list or watch objects of kind CronJob", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "operationId": "listBatchV1beta1CronJobForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJobList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs": { + "/apis/batch/v1/namespaces/{namespace}/jobs": { "get": { - "description": "list or watch objects of kind CronJob", + "description": "list or watch objects of kind Job", "consumes": [ "*/*" ], @@ -41921,14 +42648,14 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "listBatchV1beta1NamespacedCronJob", + "operationId": "listBatchV1NamespacedJob", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -41986,7 +42713,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJobList" + "$ref": "#/definitions/io.k8s.api.batch.v1.JobList" } }, "401": { @@ -41996,12 +42723,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "post": { - "description": "create a CronJob", + "description": "create a Job", "consumes": [ "*/*" ], @@ -42014,16 +42741,16 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "createBatchV1beta1NamespacedCronJob", + "operationId": "createBatchV1NamespacedJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } } ], @@ -42031,19 +42758,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -42053,12 +42780,12 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "delete": { - "description": "delete collection of CronJob", + "description": "delete collection of Job", "consumes": [ "*/*" ], @@ -42071,14 +42798,14 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "deleteBatchV1beta1CollectionNamespacedCronJob", + "operationId": "deleteBatchV1CollectionNamespacedJob", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -42146,8 +42873,8 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "parameters": [ @@ -42168,9 +42895,9 @@ } ] }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}": { + "/apis/batch/v1/namespaces/{namespace}/jobs/{name}": { "get": { - "description": "read the specified CronJob", + "description": "read the specified Job", "consumes": [ "*/*" ], @@ -42183,9 +42910,9 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "readBatchV1beta1NamespacedCronJob", + "operationId": "readBatchV1NamespacedJob", "parameters": [ { "uniqueItems": true, @@ -42206,7 +42933,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -42216,12 +42943,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "put": { - "description": "replace the specified CronJob", + "description": "replace the specified Job", "consumes": [ "*/*" ], @@ -42234,16 +42961,16 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "replaceBatchV1beta1NamespacedCronJob", + "operationId": "replaceBatchV1NamespacedJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } } ], @@ -42251,13 +42978,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -42267,12 +42994,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "delete": { - "description": "delete a CronJob", + "description": "delete a Job", "consumes": [ "*/*" ], @@ -42285,9 +43012,9 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "deleteBatchV1beta1NamespacedCronJob", + "operationId": "deleteBatchV1NamespacedJob", "parameters": [ { "name": "body", @@ -42297,6 +43024,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -42326,6 +43060,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -42333,12 +43073,12 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "patch": { - "description": "partially update the specified CronJob", + "description": "partially update the specified Job", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -42353,9 +43093,9 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "patchBatchV1beta1NamespacedCronJob", + "operationId": "patchBatchV1NamespacedJob", "parameters": [ { "name": "body", @@ -42370,7 +43110,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -42380,15 +43120,15 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the CronJob", + "description": "name of the Job", "name": "name", "in": "path", "required": true @@ -42410,9 +43150,9 @@ } ] }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status": { + "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status": { "get": { - "description": "read status of the specified CronJob", + "description": "read status of the specified Job", "consumes": [ "*/*" ], @@ -42425,14 +43165,14 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "readBatchV1beta1NamespacedCronJobStatus", + "operationId": "readBatchV1NamespacedJobStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -42442,12 +43182,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "put": { - "description": "replace status of the specified CronJob", + "description": "replace status of the specified Job", "consumes": [ "*/*" ], @@ -42460,16 +43200,16 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "replaceBatchV1beta1NamespacedCronJobStatus", + "operationId": "replaceBatchV1NamespacedJobStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } } ], @@ -42477,13 +43217,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -42493,12 +43233,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "patch": { - "description": "partially update status of the specified CronJob", + "description": "partially update status of the specified Job", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -42513,9 +43253,9 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "patchBatchV1beta1NamespacedCronJobStatus", + "operationId": "patchBatchV1NamespacedJobStatus", "parameters": [ { "name": "body", @@ -42530,7 +43270,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -42540,15 +43280,15 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the CronJob", + "description": "name of the Job", "name": "name", "in": "path", "required": true @@ -42570,9 +43310,9 @@ } ] }, - "/apis/batch/v1beta1/watch/cronjobs": { + "/apis/batch/v1/watch/jobs": { "get": { - "description": "watch individual changes to a list of CronJob", + "description": "watch individual changes to a list of Job. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -42587,9 +43327,9 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "watchBatchV1beta1CronJobListForAllNamespaces", + "operationId": "watchBatchV1JobListForAllNamespaces", "responses": { "200": { "description": "OK", @@ -42604,15 +43344,15 @@ "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -42674,9 +43414,9 @@ } ] }, - "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs": { + "/apis/batch/v1/watch/namespaces/{namespace}/jobs": { "get": { - "description": "watch individual changes to a list of CronJob", + "description": "watch individual changes to a list of Job. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -42691,9 +43431,9 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "watchBatchV1beta1NamespacedCronJobList", + "operationId": "watchBatchV1NamespacedJobList", "responses": { "200": { "description": "OK", @@ -42708,15 +43448,15 @@ "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -42786,9 +43526,9 @@ } ] }, - "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs/{name}": { + "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}": { "get": { - "description": "watch changes to an object of kind CronJob", + "description": "watch changes to an object of kind Job. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -42803,9 +43543,9 @@ "https" ], "tags": [ - "batch_v1beta1" + "batch_v1" ], - "operationId": "watchBatchV1beta1NamespacedCronJob", + "operationId": "watchBatchV1NamespacedJob", "responses": { "200": { "description": "OK", @@ -42820,15 +43560,15 @@ "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "kind": "Job", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -42863,7 +43603,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the CronJob", + "description": "name of the Job", "name": "name", "in": "path", "required": true @@ -42906,7 +43646,7 @@ } ] }, - "/apis/batch/v2alpha1/": { + "/apis/batch/v1beta1/": { "get": { "description": "get available resources", "consumes": [ @@ -42923,9 +43663,9 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], - "operationId": "getBatchV2alpha1APIResources", + "operationId": "getBatchV1beta1APIResources", "responses": { "200": { "description": "OK", @@ -42939,7 +43679,7 @@ } } }, - "/apis/batch/v2alpha1/cronjobs": { + "/apis/batch/v1beta1/cronjobs": { "get": { "description": "list or watch objects of kind CronJob", "consumes": [ @@ -42956,14 +43696,14 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], - "operationId": "listBatchV2alpha1CronJobForAllNamespaces", + "operationId": "listBatchV1beta1CronJobForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJobList" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJobList" } }, "401": { @@ -42974,14 +43714,14 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -43043,7 +43783,7 @@ } ] }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs": { + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs": { "get": { "description": "list or watch objects of kind CronJob", "consumes": [ @@ -43060,14 +43800,14 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], - "operationId": "listBatchV2alpha1NamespacedCronJob", + "operationId": "listBatchV1beta1NamespacedCronJob", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -43125,7 +43865,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJobList" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJobList" } }, "401": { @@ -43136,7 +43876,7 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "post": { @@ -43153,16 +43893,16 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], - "operationId": "createBatchV2alpha1NamespacedCronJob", + "operationId": "createBatchV1beta1NamespacedCronJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } } ], @@ -43170,19 +43910,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "401": { @@ -43193,7 +43933,7 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "delete": { @@ -43210,14 +43950,14 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], - "operationId": "deleteBatchV2alpha1CollectionNamespacedCronJob", + "operationId": "deleteBatchV1beta1CollectionNamespacedCronJob", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -43286,7 +44026,7 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -43307,7 +44047,7 @@ } ] }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}": { + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}": { "get": { "description": "read the specified CronJob", "consumes": [ @@ -43322,9 +44062,9 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], - "operationId": "readBatchV2alpha1NamespacedCronJob", + "operationId": "readBatchV1beta1NamespacedCronJob", "parameters": [ { "uniqueItems": true, @@ -43345,7 +44085,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "401": { @@ -43356,7 +44096,7 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "put": { @@ -43373,16 +44113,16 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], - "operationId": "replaceBatchV2alpha1NamespacedCronJob", + "operationId": "replaceBatchV1beta1NamespacedCronJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } } ], @@ -43390,13 +44130,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "401": { @@ -43407,7 +44147,7 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "delete": { @@ -43424,9 +44164,9 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], - "operationId": "deleteBatchV2alpha1NamespacedCronJob", + "operationId": "deleteBatchV1beta1NamespacedCronJob", "parameters": [ { "name": "body", @@ -43436,6 +44176,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -43465,179 +44212,25 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - }, - "patch": { - "description": "partially update the specified CronJob", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "operationId": "patchBatchV2alpha1NamespacedCronJob", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the CronJob", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status": { - "get": { - "description": "read status of the specified CronJob", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "operationId": "readBatchV2alpha1NamespacedCronJobStatus", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - }, - "put": { - "description": "replace status of the specified CronJob", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "operationId": "replaceBatchV2alpha1NamespacedCronJobStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" - } - }, - "201": { - "description": "Created", + "202": { + "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "patch": { - "description": "partially update status of the specified CronJob", + "description": "partially update the specified CronJob", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -43652,9 +44245,9 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], - "operationId": "patchBatchV2alpha1NamespacedCronJobStatus", + "operationId": "patchBatchV1beta1NamespacedCronJob", "parameters": [ { "name": "body", @@ -43669,7 +44262,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "401": { @@ -43680,7 +44273,7 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -43709,9 +44302,169 @@ } ] }, - "/apis/batch/v2alpha1/watch/cronjobs": { + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status": { "get": { - "description": "watch individual changes to a list of CronJob", + "description": "read status of the specified CronJob", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1beta1" + ], + "operationId": "readBatchV1beta1NamespacedCronJobStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" + } + }, + "put": { + "description": "replace status of the specified CronJob", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1beta1" + ], + "operationId": "replaceBatchV1beta1NamespacedCronJobStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update status of the specified CronJob", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1beta1" + ], + "operationId": "patchBatchV1beta1NamespacedCronJobStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the CronJob", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/batch/v1beta1/watch/cronjobs": { + "get": { + "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -43726,9 +44479,9 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], - "operationId": "watchBatchV2alpha1CronJobListForAllNamespaces", + "operationId": "watchBatchV1beta1CronJobListForAllNamespaces", "responses": { "200": { "description": "OK", @@ -43744,14 +44497,14 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -43813,9 +44566,9 @@ } ] }, - "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs": { + "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs": { "get": { - "description": "watch individual changes to a list of CronJob", + "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -43830,9 +44583,9 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], - "operationId": "watchBatchV2alpha1NamespacedCronJobList", + "operationId": "watchBatchV1beta1NamespacedCronJobList", "responses": { "200": { "description": "OK", @@ -43848,14 +44601,14 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -43925,9 +44678,9 @@ } ] }, - "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs/{name}": { + "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs/{name}": { "get": { - "description": "watch changes to an object of kind CronJob", + "description": "watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -43942,9 +44695,9 @@ "https" ], "tags": [ - "batch_v2alpha1" + "batch_v1beta1" ], - "operationId": "watchBatchV2alpha1NamespacedCronJob", + "operationId": "watchBatchV1beta1NamespacedCronJob", "responses": { "200": { "description": "OK", @@ -43960,14 +44713,14 @@ "x-kubernetes-group-version-kind": { "group": "batch", "kind": "CronJob", - "version": "v2alpha1" + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -44045,9 +44798,9 @@ } ] }, - "/apis/certificates.k8s.io/": { + "/apis/batch/v2alpha1/": { "get": { - "description": "get information of a group", + "description": "get available resources", "consumes": [ "application/json", "application/yaml", @@ -44062,14 +44815,14 @@ "https" ], "tags": [ - "certificates" + "batch_v2alpha1" ], - "operationId": "getCertificatesAPIGroup", + "operationId": "getBatchV2alpha1APIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" } }, "401": { @@ -44078,42 +44831,113 @@ } } }, - "/apis/certificates.k8s.io/v1beta1/": { + "/apis/batch/v2alpha1/cronjobs": { "get": { - "description": "get available resources", + "description": "list or watch objects of kind CronJob", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "getCertificatesV1beta1APIResources", + "operationId": "listBatchV2alpha1CronJobForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJobList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } - } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests": { + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs": { "get": { - "description": "list or watch objects of kind CertificateSigningRequest", + "description": "list or watch objects of kind CronJob", "consumes": [ "*/*" ], @@ -44128,14 +44952,14 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "listCertificatesV1beta1CertificateSigningRequest", + "operationId": "listBatchV2alpha1NamespacedCronJob", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -44193,7 +45017,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequestList" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJobList" } }, "401": { @@ -44202,13 +45026,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "post": { - "description": "create a CertificateSigningRequest", + "description": "create a CronJob", "consumes": [ "*/*" ], @@ -44221,16 +45045,16 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "createCertificatesV1beta1CertificateSigningRequest", + "operationId": "createBatchV2alpha1NamespacedCronJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } } ], @@ -44238,19 +45062,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "401": { @@ -44259,13 +45083,13 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "delete": { - "description": "delete collection of CertificateSigningRequest", + "description": "delete collection of CronJob", "consumes": [ "*/*" ], @@ -44278,14 +45102,14 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "deleteCertificatesV1beta1CollectionCertificateSigningRequest", + "operationId": "deleteBatchV2alpha1CollectionNamespacedCronJob", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -44352,12 +45176,20 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -44367,9 +45199,9 @@ } ] }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}": { + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}": { "get": { - "description": "read the specified CertificateSigningRequest", + "description": "read the specified CronJob", "consumes": [ "*/*" ], @@ -44382,9 +45214,9 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "readCertificatesV1beta1CertificateSigningRequest", + "operationId": "readBatchV2alpha1NamespacedCronJob", "parameters": [ { "uniqueItems": true, @@ -44405,7 +45237,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "401": { @@ -44414,13 +45246,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "put": { - "description": "replace the specified CertificateSigningRequest", + "description": "replace the specified CronJob", "consumes": [ "*/*" ], @@ -44433,16 +45265,16 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "replaceCertificatesV1beta1CertificateSigningRequest", + "operationId": "replaceBatchV2alpha1NamespacedCronJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } } ], @@ -44450,13 +45282,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "401": { @@ -44465,13 +45297,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "delete": { - "description": "delete a CertificateSigningRequest", + "description": "delete a CronJob", "consumes": [ "*/*" ], @@ -44484,9 +45316,9 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "deleteCertificatesV1beta1CertificateSigningRequest", + "operationId": "deleteBatchV2alpha1NamespacedCronJob", "parameters": [ { "name": "body", @@ -44496,6 +45328,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -44525,19 +45364,25 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "patch": { - "description": "partially update the specified CertificateSigningRequest", + "description": "partially update the specified CronJob", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -44552,9 +45397,9 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "patchCertificatesV1beta1CertificateSigningRequest", + "operationId": "patchBatchV2alpha1NamespacedCronJob", "parameters": [ { "name": "body", @@ -44569,7 +45414,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "401": { @@ -44578,20 +45423,28 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the CertificateSigningRequest", + "description": "name of the CronJob", "name": "name", "in": "path", "required": true }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -44601,9 +45454,44 @@ } ] }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval": { + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status": { + "get": { + "description": "read status of the specified CronJob", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v2alpha1" + ], + "operationId": "readBatchV2alpha1NamespacedCronJobStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" + } + }, "put": { - "description": "replace approval of the specified CertificateSigningRequest", + "description": "replace status of the specified CronJob", "consumes": [ "*/*" ], @@ -44616,16 +45504,16 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "replaceCertificatesV1beta1CertificateSigningRequestApproval", + "operationId": "replaceBatchV2alpha1NamespacedCronJobStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } } ], @@ -44633,13 +45521,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "401": { @@ -44648,34 +45536,17 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the CertificateSigningRequest", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status": { - "put": { - "description": "replace status of the specified CertificateSigningRequest", + "patch": { + "description": "partially update status of the specified CronJob", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", @@ -44686,16 +45557,16 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "replaceCertificatesV1beta1CertificateSigningRequestStatus", + "operationId": "patchBatchV2alpha1NamespacedCronJobStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" } } ], @@ -44703,35 +45574,37 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the CertificateSigningRequest", + "description": "name of the CronJob", "name": "name", "in": "path", "required": true }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -44741,9 +45614,9 @@ } ] }, - "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests": { + "/apis/batch/v2alpha1/watch/cronjobs": { "get": { - "description": "watch individual changes to a list of CertificateSigningRequest", + "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -44758,9 +45631,9 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "watchCertificatesV1beta1CertificateSigningRequestList", + "operationId": "watchBatchV2alpha1CronJobListForAllNamespaces", "responses": { "200": { "description": "OK", @@ -44774,16 +45647,16 @@ }, "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -44845,9 +45718,9 @@ } ] }, - "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests/{name}": { + "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs": { "get": { - "description": "watch changes to an object of kind CertificateSigningRequest", + "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -44862,9 +45735,9 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v2alpha1" ], - "operationId": "watchCertificatesV1beta1CertificateSigningRequest", + "operationId": "watchBatchV2alpha1NamespacedCronJobList", "responses": { "200": { "description": "OK", @@ -44876,18 +45749,18 @@ "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -44922,8 +45795,8 @@ { "uniqueItems": true, "type": "string", - "description": "name of the CertificateSigningRequest", - "name": "name", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", "in": "path", "required": true }, @@ -44957,75 +45830,9 @@ } ] }, - "/apis/events.k8s.io/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "events" - ], - "operationId": "getEventsAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/events.k8s.io/v1beta1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "events_v1beta1" - ], - "operationId": "getEventsV1beta1APIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/events.k8s.io/v1beta1/events": { + "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs/{name}": { "get": { - "description": "list or watch objects of kind Event", + "description": "watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -45040,32 +45847,32 @@ "https" ], "tags": [ - "events_v1beta1" + "batch_v2alpha1" ], - "operationId": "listEventsV1beta1EventForAllNamespaces", + "operationId": "watchBatchV2alpha1NamespacedCronJob", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.EventList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -45097,6 +45904,22 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the CronJob", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -45127,9 +45950,75 @@ } ] }, - "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events": { + "/apis/certificates.k8s.io/": { "get": { - "description": "list or watch objects of kind Event", + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates" + ], + "operationId": "getCertificatesAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/certificates.k8s.io/v1beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "getCertificatesV1beta1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests": { + "get": { + "description": "list or watch objects of kind CertificateSigningRequest", "consumes": [ "*/*" ], @@ -45144,14 +46033,14 @@ "https" ], "tags": [ - "events_v1beta1" + "certificates_v1beta1" ], - "operationId": "listEventsV1beta1NamespacedEvent", + "operationId": "listCertificatesV1beta1CertificateSigningRequest", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -45209,7 +46098,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.EventList" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequestList" } }, "401": { @@ -45218,13 +46107,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", "version": "v1beta1" } }, "post": { - "description": "create an Event", + "description": "create a CertificateSigningRequest", "consumes": [ "*/*" ], @@ -45237,16 +46126,16 @@ "https" ], "tags": [ - "events_v1beta1" + "certificates_v1beta1" ], - "operationId": "createEventsV1beta1NamespacedEvent", + "operationId": "createCertificatesV1beta1CertificateSigningRequest", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } } ], @@ -45254,19 +46143,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "401": { @@ -45275,13 +46164,13 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", "version": "v1beta1" } }, "delete": { - "description": "delete collection of Event", + "description": "delete collection of CertificateSigningRequest", "consumes": [ "*/*" ], @@ -45294,14 +46183,14 @@ "https" ], "tags": [ - "events_v1beta1" + "certificates_v1beta1" ], - "operationId": "deleteEventsV1beta1CollectionNamespacedEvent", + "operationId": "deleteCertificatesV1beta1CollectionCertificateSigningRequest", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -45368,20 +46257,12 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", "version": "v1beta1" } }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -45391,9 +46272,9 @@ } ] }, - "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}": { + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}": { "get": { - "description": "read the specified Event", + "description": "read the specified CertificateSigningRequest", "consumes": [ "*/*" ], @@ -45406,9 +46287,9 @@ "https" ], "tags": [ - "events_v1beta1" + "certificates_v1beta1" ], - "operationId": "readEventsV1beta1NamespacedEvent", + "operationId": "readCertificatesV1beta1CertificateSigningRequest", "parameters": [ { "uniqueItems": true, @@ -45429,7 +46310,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "401": { @@ -45438,13 +46319,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", "version": "v1beta1" } }, "put": { - "description": "replace the specified Event", + "description": "replace the specified CertificateSigningRequest", "consumes": [ "*/*" ], @@ -45457,16 +46338,16 @@ "https" ], "tags": [ - "events_v1beta1" + "certificates_v1beta1" ], - "operationId": "replaceEventsV1beta1NamespacedEvent", + "operationId": "replaceCertificatesV1beta1CertificateSigningRequest", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } } ], @@ -45474,13 +46355,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "401": { @@ -45489,13 +46370,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", "version": "v1beta1" } }, "delete": { - "description": "delete an Event", + "description": "delete a CertificateSigningRequest", "consumes": [ "*/*" ], @@ -45508,9 +46389,9 @@ "https" ], "tags": [ - "events_v1beta1" + "certificates_v1beta1" ], - "operationId": "deleteEventsV1beta1NamespacedEvent", + "operationId": "deleteCertificatesV1beta1CertificateSigningRequest", "parameters": [ { "name": "body", @@ -45520,6 +46401,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -45549,19 +46437,25 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", "version": "v1beta1" } }, "patch": { - "description": "partially update the specified Event", + "description": "partially update the specified CertificateSigningRequest", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -45576,9 +46470,9 @@ "https" ], "tags": [ - "events_v1beta1" + "certificates_v1beta1" ], - "operationId": "patchEventsV1beta1NamespacedEvent", + "operationId": "patchCertificatesV1beta1CertificateSigningRequest", "parameters": [ { "name": "body", @@ -45593,7 +46487,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "401": { @@ -45602,8 +46496,8 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", "version": "v1beta1" } }, @@ -45611,19 +46505,11 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Event", + "description": "name of the CertificateSigningRequest", "name": "name", "in": "path", "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -45633,41 +46519,55 @@ } ] }, - "/apis/events.k8s.io/v1beta1/watch/events": { - "get": { - "description": "watch individual changes to a list of Event", + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval": { + "put": { + "description": "replace approval of the specified CertificateSigningRequest", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "events_v1beta1" + "certificates_v1beta1" + ], + "operationId": "replaceCertificatesV1beta1CertificateSigningRequestApproval", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + } ], - "operationId": "watchEventsV1beta1EventListForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", "version": "v1beta1" } }, @@ -45675,37 +46575,162 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" + "description": "name of the CertificateSigningRequest", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", "in": "query" + } + ] + }, + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status": { + "get": { + "description": "read status of the specified CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "readCertificatesV1beta1CertificateSigningRequestStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + }, + "put": { + "description": "replace status of the specified CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "replaceCertificatesV1beta1CertificateSigningRequestStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update status of the specified CertificateSigningRequest", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "patchCertificatesV1beta1CertificateSigningRequestStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + }, + "parameters": [ { "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "type": "string", + "description": "name of the CertificateSigningRequest", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -45713,33 +46738,12 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events": { + "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests": { "get": { - "description": "watch individual changes to a list of Event", + "description": "watch individual changes to a list of CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -45754,9 +46758,9 @@ "https" ], "tags": [ - "events_v1beta1" + "certificates_v1beta1" ], - "operationId": "watchEventsV1beta1NamespacedEventList", + "operationId": "watchCertificatesV1beta1CertificateSigningRequestList", "responses": { "200": { "description": "OK", @@ -45770,8 +46774,8 @@ }, "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", "version": "v1beta1" } }, @@ -45779,7 +46783,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -45811,14 +46815,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -45849,9 +46845,9 @@ } ] }, - "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events/{name}": { + "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests/{name}": { "get": { - "description": "watch changes to an object of kind Event", + "description": "watch changes to an object of kind CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -45866,9 +46862,9 @@ "https" ], "tags": [ - "events_v1beta1" + "certificates_v1beta1" ], - "operationId": "watchEventsV1beta1NamespacedEvent", + "operationId": "watchCertificatesV1beta1CertificateSigningRequest", "responses": { "200": { "description": "OK", @@ -45882,8 +46878,8 @@ }, "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", "version": "v1beta1" } }, @@ -45891,7 +46887,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -45926,19 +46922,11 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Event", + "description": "name of the CertificateSigningRequest", "name": "name", "in": "path", "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -45969,7 +46957,7 @@ } ] }, - "/apis/extensions/": { + "/apis/coordination.k8s.io/": { "get": { "description": "get information of a group", "consumes": [ @@ -45986,9 +46974,9 @@ "https" ], "tags": [ - "extensions" + "coordination" ], - "operationId": "getExtensionsAPIGroup", + "operationId": "getCoordinationAPIGroup", "responses": { "200": { "description": "OK", @@ -46002,7 +46990,7 @@ } } }, - "/apis/extensions/v1beta1/": { + "/apis/coordination.k8s.io/v1beta1/": { "get": { "description": "get available resources", "consumes": [ @@ -46019,9 +47007,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], - "operationId": "getExtensionsV1beta1APIResources", + "operationId": "getCoordinationV1beta1APIResources", "responses": { "200": { "description": "OK", @@ -46035,9 +47023,9 @@ } } }, - "/apis/extensions/v1beta1/daemonsets": { + "/apis/coordination.k8s.io/v1beta1/leases": { "get": { - "description": "list or watch objects of kind DaemonSet", + "description": "list or watch objects of kind Lease", "consumes": [ "*/*" ], @@ -46052,14 +47040,14 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], - "operationId": "listExtensionsV1beta1DaemonSetForAllNamespaces", + "operationId": "listCoordinationV1beta1LeaseForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSetList" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.LeaseList" } }, "401": { @@ -46068,8 +47056,8 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -46077,7 +47065,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -46139,217 +47127,9 @@ } ] }, - "/apis/extensions/v1beta1/deployments": { - "get": { - "description": "list or watch objects of kind Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "listExtensionsV1beta1DeploymentForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/ingresses": { - "get": { - "description": "list or watch objects of kind Ingress", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "listExtensionsV1beta1IngressForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets": { + "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases": { "get": { - "description": "list or watch objects of kind DaemonSet", + "description": "list or watch objects of kind Lease", "consumes": [ "*/*" ], @@ -46364,14 +47144,14 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], - "operationId": "listExtensionsV1beta1NamespacedDaemonSet", + "operationId": "listCoordinationV1beta1NamespacedLease", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -46429,7 +47209,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSetList" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.LeaseList" } }, "401": { @@ -46438,13 +47218,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, "post": { - "description": "create a DaemonSet", + "description": "create a Lease", "consumes": [ "*/*" ], @@ -46457,16 +47237,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], - "operationId": "createExtensionsV1beta1NamespacedDaemonSet", + "operationId": "createCoordinationV1beta1NamespacedLease", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } } ], @@ -46474,19 +47254,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "401": { @@ -46495,13 +47275,13 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, "delete": { - "description": "delete collection of DaemonSet", + "description": "delete collection of Lease", "consumes": [ "*/*" ], @@ -46514,14 +47294,14 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], - "operationId": "deleteExtensionsV1beta1CollectionNamespacedDaemonSet", + "operationId": "deleteCoordinationV1beta1CollectionNamespacedLease", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -46588,8 +47368,8 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -46611,9 +47391,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}": { + "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}": { "get": { - "description": "read the specified DaemonSet", + "description": "read the specified Lease", "consumes": [ "*/*" ], @@ -46626,9 +47406,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], - "operationId": "readExtensionsV1beta1NamespacedDaemonSet", + "operationId": "readCoordinationV1beta1NamespacedLease", "parameters": [ { "uniqueItems": true, @@ -46649,7 +47429,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "401": { @@ -46658,13 +47438,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, "put": { - "description": "replace the specified DaemonSet", + "description": "replace the specified Lease", "consumes": [ "*/*" ], @@ -46677,16 +47457,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], - "operationId": "replaceExtensionsV1beta1NamespacedDaemonSet", + "operationId": "replaceCoordinationV1beta1NamespacedLease", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } } ], @@ -46694,13 +47474,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "401": { @@ -46709,13 +47489,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, "delete": { - "description": "delete a DaemonSet", + "description": "delete a Lease", "consumes": [ "*/*" ], @@ -46728,9 +47508,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], - "operationId": "deleteExtensionsV1beta1NamespacedDaemonSet", + "operationId": "deleteCoordinationV1beta1NamespacedLease", "parameters": [ { "name": "body", @@ -46740,6 +47520,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -46769,19 +47556,25 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, "patch": { - "description": "partially update the specified DaemonSet", + "description": "partially update the specified Lease", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -46796,9 +47589,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], - "operationId": "patchExtensionsV1beta1NamespacedDaemonSet", + "operationId": "patchCoordinationV1beta1NamespacedLease", "parameters": [ { "name": "body", @@ -46813,7 +47606,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "401": { @@ -46822,8 +47615,8 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -46831,7 +47624,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the DaemonSet", + "description": "name of the Lease", "name": "name", "in": "path", "required": true @@ -46853,137 +47646,257 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status": { + "/apis/coordination.k8s.io/v1beta1/watch/leases": { "get": { - "description": "read status of the specified DaemonSet", + "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], - "operationId": "readExtensionsV1beta1NamespacedDaemonSetStatus", + "operationId": "watchCoordinationV1beta1LeaseListForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, - "put": { - "description": "replace status of the specified DaemonSet", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases": { + "get": { + "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "extensions_v1beta1" - ], - "operationId": "replaceExtensionsV1beta1NamespacedDaemonSetStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" - } - } + "coordination_v1beta1" ], + "operationId": "watchCoordinationV1beta1NamespacedLeaseList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, - "patch": { - "description": "partially update status of the specified DaemonSet", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases/{name}": { + "get": { + "description": "watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "extensions_v1beta1" - ], - "operationId": "patchExtensionsV1beta1NamespacedDaemonSetStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - } + "coordination_v1beta1" ], + "operationId": "watchCoordinationV1beta1NamespacedLease", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -46991,7 +47904,42 @@ { "uniqueItems": true, "type": "string", - "description": "name of the DaemonSet", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Lease", "name": "name", "in": "path", "required": true @@ -47010,12 +47958,99 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments": { + "/apis/events.k8s.io/": { "get": { - "description": "list or watch objects of kind Deployment", + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "events" + ], + "operationId": "getEventsAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/events.k8s.io/v1beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1beta1" + ], + "operationId": "getEventsV1beta1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/events.k8s.io/v1beta1/events": { + "get": { + "description": "list or watch objects of kind Event", "consumes": [ "*/*" ], @@ -47030,14 +48065,118 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "operationId": "listExtensionsV1beta1NamespacedDeployment", + "operationId": "listEventsV1beta1EventForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.events.v1beta1.EventList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events": { + "get": { + "description": "list or watch objects of kind Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1beta1" + ], + "operationId": "listEventsV1beta1NamespacedEvent", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47095,7 +48234,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentList" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.EventList" } }, "401": { @@ -47104,13 +48243,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, "post": { - "description": "create a Deployment", + "description": "create an Event", "consumes": [ "*/*" ], @@ -47123,16 +48262,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "operationId": "createExtensionsV1beta1NamespacedDeployment", + "operationId": "createEventsV1beta1NamespacedEvent", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } } ], @@ -47140,19 +48279,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, "401": { @@ -47161,13 +48300,13 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, "delete": { - "description": "delete collection of Deployment", + "description": "delete collection of Event", "consumes": [ "*/*" ], @@ -47180,14 +48319,14 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "operationId": "deleteExtensionsV1beta1CollectionNamespacedDeployment", + "operationId": "deleteEventsV1beta1CollectionNamespacedEvent", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47254,8 +48393,8 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, @@ -47277,9 +48416,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}": { + "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}": { "get": { - "description": "read the specified Deployment", + "description": "read the specified Event", "consumes": [ "*/*" ], @@ -47292,9 +48431,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "operationId": "readExtensionsV1beta1NamespacedDeployment", + "operationId": "readEventsV1beta1NamespacedEvent", "parameters": [ { "uniqueItems": true, @@ -47315,7 +48454,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, "401": { @@ -47324,13 +48463,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, "put": { - "description": "replace the specified Deployment", + "description": "replace the specified Event", "consumes": [ "*/*" ], @@ -47343,16 +48482,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "operationId": "replaceExtensionsV1beta1NamespacedDeployment", + "operationId": "replaceEventsV1beta1NamespacedEvent", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } } ], @@ -47360,13 +48499,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, "401": { @@ -47375,13 +48514,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, "delete": { - "description": "delete a Deployment", + "description": "delete an Event", "consumes": [ "*/*" ], @@ -47394,9 +48533,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "operationId": "deleteExtensionsV1beta1NamespacedDeployment", + "operationId": "deleteEventsV1beta1NamespacedEvent", "parameters": [ { "name": "body", @@ -47406,6 +48545,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -47435,19 +48581,25 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, "patch": { - "description": "partially update the specified Deployment", + "description": "partially update the specified Event", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -47462,9 +48614,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "operationId": "patchExtensionsV1beta1NamespacedDeployment", + "operationId": "patchEventsV1beta1NamespacedEvent", "parameters": [ { "name": "body", @@ -47479,7 +48631,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, "401": { @@ -47488,8 +48640,8 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, @@ -47497,7 +48649,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Deployment", + "description": "name of the Event", "name": "name", "in": "path", "required": true @@ -47519,61 +48671,41 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback": { - "post": { - "description": "create rollback of a Deployment", + "/apis/events.k8s.io/v1beta1/watch/events": { + "get": { + "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "extensions_v1beta1" - ], - "operationId": "createExtensionsV1beta1NamespacedDeploymentRollback", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentRollback" - } - } + "events_v1beta1" ], + "operationId": "watchEventsV1beta1EventListForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentRollback" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentRollback" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentRollback" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DeploymentRollback", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, @@ -47581,18 +48713,37 @@ { "uniqueItems": true, "type": "string", - "description": "name of the DeploymentRollback", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -47600,102 +48751,269 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale": { + "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events": { "get": { - "description": "read scale of the specified Deployment", + "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "operationId": "readExtensionsV1beta1NamespacedDeploymentScale", + "operationId": "watchEventsV1beta1NamespacedEventList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, - "put": { - "description": "replace scale of the specified Deployment", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events/{name}": { + "get": { + "description": "watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "extensions_v1beta1" - ], - "operationId": "replaceExtensionsV1beta1NamespacedDeploymentScale", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" - } - } + "events_v1beta1" ], + "operationId": "watchEventsV1beta1NamespacedEvent", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, - "patch": { - "description": "partially update scale of the specified Deployment", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Event", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/": { + "get": { + "description": "get information of a group", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -47706,73 +49024,67 @@ "https" ], "tags": [ - "extensions_v1beta1" + "extensions" ], - "operationId": "patchExtensionsV1beta1NamespacedDeploymentScale", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, + "operationId": "getExtensionsAPIGroup", + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" } + }, + "401": { + "description": "Unauthorized" } + } + } + }, + "/apis/extensions/v1beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" ], + "operationId": "getExtensionsV1beta1APIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Scale", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" } - ] + } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status": { + "/apis/extensions/v1beta1/daemonsets": { "get": { - "description": "read status of the specified Deployment", + "description": "list or watch objects of kind DaemonSet", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -47780,34 +49092,103 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "readExtensionsV1beta1NamespacedDeploymentStatus", + "operationId": "listExtensionsV1beta1DaemonSetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSetList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Deployment", + "kind": "DaemonSet", "version": "v1beta1" } }, - "put": { - "description": "replace status of the specified Deployment", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/deployments": { + "get": { + "description": "list or watch objects of kind Deployment", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -47815,52 +49196,103 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "replaceExtensionsV1beta1NamespacedDeploymentStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" - } - } - ], + "operationId": "listExtensionsV1beta1DeploymentForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "extensions", "kind": "Deployment", "version": "v1beta1" } }, - "patch": { - "description": "partially update status of the specified Deployment", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/ingresses": { + "get": { + "description": "list or watch objects of kind Ingress", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -47868,32 +49300,22 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "patchExtensionsV1beta1NamespacedDeploymentStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - } - ], + "operationId": "listExtensionsV1beta1IngressForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Deployment", + "kind": "Ingress", "version": "v1beta1" } }, @@ -47901,18 +49323,37 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Deployment", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -47920,12 +49361,33 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses": { + "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets": { "get": { - "description": "list or watch objects of kind Ingress", + "description": "list or watch objects of kind DaemonSet", "consumes": [ "*/*" ], @@ -47942,12 +49404,12 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "listExtensionsV1beta1NamespacedIngress", + "operationId": "listExtensionsV1beta1NamespacedDaemonSet", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -48005,7 +49467,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressList" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSetList" } }, "401": { @@ -48015,12 +49477,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "DaemonSet", "version": "v1beta1" } }, "post": { - "description": "create an Ingress", + "description": "create a DaemonSet", "consumes": [ "*/*" ], @@ -48035,14 +49497,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "createExtensionsV1beta1NamespacedIngress", + "operationId": "createExtensionsV1beta1NamespacedDaemonSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" } } ], @@ -48050,19 +49512,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" } }, "401": { @@ -48072,12 +49534,12 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "DaemonSet", "version": "v1beta1" } }, "delete": { - "description": "delete collection of Ingress", + "description": "delete collection of DaemonSet", "consumes": [ "*/*" ], @@ -48092,12 +49554,12 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "deleteExtensionsV1beta1CollectionNamespacedIngress", + "operationId": "deleteExtensionsV1beta1CollectionNamespacedDaemonSet", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -48165,7 +49627,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "DaemonSet", "version": "v1beta1" } }, @@ -48187,9 +49649,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}": { + "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}": { "get": { - "description": "read the specified Ingress", + "description": "read the specified DaemonSet", "consumes": [ "*/*" ], @@ -48204,7 +49666,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "readExtensionsV1beta1NamespacedIngress", + "operationId": "readExtensionsV1beta1NamespacedDaemonSet", "parameters": [ { "uniqueItems": true, @@ -48225,7 +49687,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" } }, "401": { @@ -48235,12 +49697,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "DaemonSet", "version": "v1beta1" } }, "put": { - "description": "replace the specified Ingress", + "description": "replace the specified DaemonSet", "consumes": [ "*/*" ], @@ -48255,14 +49717,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "replaceExtensionsV1beta1NamespacedIngress", + "operationId": "replaceExtensionsV1beta1NamespacedDaemonSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" } } ], @@ -48270,13 +49732,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" } }, "401": { @@ -48286,12 +49748,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "DaemonSet", "version": "v1beta1" } }, "delete": { - "description": "delete an Ingress", + "description": "delete a DaemonSet", "consumes": [ "*/*" ], @@ -48306,7 +49768,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "deleteExtensionsV1beta1NamespacedIngress", + "operationId": "deleteExtensionsV1beta1NamespacedDaemonSet", "parameters": [ { "name": "body", @@ -48316,6 +49778,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -48345,6 +49814,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -48352,12 +49827,12 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "DaemonSet", "version": "v1beta1" } }, "patch": { - "description": "partially update the specified Ingress", + "description": "partially update the specified DaemonSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -48374,7 +49849,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "patchExtensionsV1beta1NamespacedIngress", + "operationId": "patchExtensionsV1beta1NamespacedDaemonSet", "parameters": [ { "name": "body", @@ -48389,7 +49864,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" } }, "401": { @@ -48399,7 +49874,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "DaemonSet", "version": "v1beta1" } }, @@ -48407,7 +49882,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Ingress", + "description": "name of the DaemonSet", "name": "name", "in": "path", "required": true @@ -48429,9 +49904,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status": { + "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status": { "get": { - "description": "read status of the specified Ingress", + "description": "read status of the specified DaemonSet", "consumes": [ "*/*" ], @@ -48446,12 +49921,12 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "readExtensionsV1beta1NamespacedIngressStatus", + "operationId": "readExtensionsV1beta1NamespacedDaemonSetStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" } }, "401": { @@ -48461,12 +49936,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "DaemonSet", "version": "v1beta1" } }, "put": { - "description": "replace status of the specified Ingress", + "description": "replace status of the specified DaemonSet", "consumes": [ "*/*" ], @@ -48481,14 +49956,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "replaceExtensionsV1beta1NamespacedIngressStatus", + "operationId": "replaceExtensionsV1beta1NamespacedDaemonSetStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" } } ], @@ -48496,13 +49971,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" } }, "401": { @@ -48512,12 +49987,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "DaemonSet", "version": "v1beta1" } }, "patch": { - "description": "partially update status of the specified Ingress", + "description": "partially update status of the specified DaemonSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -48534,7 +50009,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "patchExtensionsV1beta1NamespacedIngressStatus", + "operationId": "patchExtensionsV1beta1NamespacedDaemonSetStatus", "parameters": [ { "name": "body", @@ -48549,7 +50024,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" } }, "401": { @@ -48559,7 +50034,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "DaemonSet", "version": "v1beta1" } }, @@ -48567,7 +50042,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Ingress", + "description": "name of the DaemonSet", "name": "name", "in": "path", "required": true @@ -48589,9 +50064,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies": { + "/apis/extensions/v1beta1/namespaces/{namespace}/deployments": { "get": { - "description": "list or watch objects of kind NetworkPolicy", + "description": "list or watch objects of kind Deployment", "consumes": [ "*/*" ], @@ -48608,12 +50083,12 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "listExtensionsV1beta1NamespacedNetworkPolicy", + "operationId": "listExtensionsV1beta1NamespacedDeployment", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -48671,7 +50146,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicyList" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentList" } }, "401": { @@ -48681,12 +50156,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Deployment", "version": "v1beta1" } }, "post": { - "description": "create a NetworkPolicy", + "description": "create a Deployment", "consumes": [ "*/*" ], @@ -48701,14 +50176,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "createExtensionsV1beta1NamespacedNetworkPolicy", + "operationId": "createExtensionsV1beta1NamespacedDeployment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" } } ], @@ -48716,19 +50191,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" } }, "401": { @@ -48738,12 +50213,12 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Deployment", "version": "v1beta1" } }, "delete": { - "description": "delete collection of NetworkPolicy", + "description": "delete collection of Deployment", "consumes": [ "*/*" ], @@ -48758,12 +50233,12 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "deleteExtensionsV1beta1CollectionNamespacedNetworkPolicy", + "operationId": "deleteExtensionsV1beta1CollectionNamespacedDeployment", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -48831,7 +50306,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Deployment", "version": "v1beta1" } }, @@ -48853,9 +50328,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}": { + "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}": { "get": { - "description": "read the specified NetworkPolicy", + "description": "read the specified Deployment", "consumes": [ "*/*" ], @@ -48870,7 +50345,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "readExtensionsV1beta1NamespacedNetworkPolicy", + "operationId": "readExtensionsV1beta1NamespacedDeployment", "parameters": [ { "uniqueItems": true, @@ -48891,7 +50366,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" } }, "401": { @@ -48901,12 +50376,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Deployment", "version": "v1beta1" } }, "put": { - "description": "replace the specified NetworkPolicy", + "description": "replace the specified Deployment", "consumes": [ "*/*" ], @@ -48921,14 +50396,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "replaceExtensionsV1beta1NamespacedNetworkPolicy", + "operationId": "replaceExtensionsV1beta1NamespacedDeployment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" } } ], @@ -48936,13 +50411,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" } }, "401": { @@ -48952,12 +50427,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Deployment", "version": "v1beta1" } }, "delete": { - "description": "delete a NetworkPolicy", + "description": "delete a Deployment", "consumes": [ "*/*" ], @@ -48972,7 +50447,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "deleteExtensionsV1beta1NamespacedNetworkPolicy", + "operationId": "deleteExtensionsV1beta1NamespacedDeployment", "parameters": [ { "name": "body", @@ -48982,6 +50457,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -49011,6 +50493,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -49018,12 +50506,12 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Deployment", "version": "v1beta1" } }, "patch": { - "description": "partially update the specified NetworkPolicy", + "description": "partially update the specified Deployment", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -49040,7 +50528,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "patchExtensionsV1beta1NamespacedNetworkPolicy", + "operationId": "patchExtensionsV1beta1NamespacedDeployment", "parameters": [ { "name": "body", @@ -49055,7 +50543,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" } }, "401": { @@ -49065,7 +50553,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Deployment", "version": "v1beta1" } }, @@ -49073,7 +50561,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the NetworkPolicy", + "description": "name of the Deployment", "name": "name", "in": "path", "required": true @@ -49095,104 +50583,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets": { - "get": { - "description": "list or watch objects of kind ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "listExtensionsV1beta1NamespacedReplicaSet", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - } - }, + "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback": { "post": { - "description": "create a ReplicaSet", + "description": "create rollback of a Deployment", "consumes": [ "*/*" ], @@ -49207,14 +50600,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "createExtensionsV1beta1NamespacedReplicaSet", + "operationId": "createExtensionsV1beta1NamespacedDeploymentRollback", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentRollback" } } ], @@ -49222,19 +50615,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentStatus" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentStatus" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentStatus" } }, "401": { @@ -49244,104 +50637,19 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - } - }, - "delete": { - "description": "delete collection of ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "deleteExtensionsV1beta1CollectionNamespacedReplicaSet", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", + "kind": "DeploymentRollback", "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the DeploymentRollback", + "name": "name", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -49359,9 +50667,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}": { + "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale": { "get": { - "description": "read the specified ReplicaSet", + "description": "read scale of the specified Deployment", "consumes": [ "*/*" ], @@ -49376,28 +50684,12 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "readExtensionsV1beta1NamespacedReplicaSet", - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" - } - ], + "operationId": "readExtensionsV1beta1NamespacedDeploymentScale", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" } }, "401": { @@ -49407,12 +50699,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "ReplicaSet", + "kind": "Scale", "version": "v1beta1" } }, "put": { - "description": "replace the specified ReplicaSet", + "description": "replace scale of the specified Deployment", "consumes": [ "*/*" ], @@ -49427,14 +50719,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "replaceExtensionsV1beta1NamespacedReplicaSet", + "operationId": "replaceExtensionsV1beta1NamespacedDeploymentScale", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" } } ], @@ -49442,13 +50734,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" } }, "401": { @@ -49458,78 +50750,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - } - }, - "delete": { - "description": "delete a ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "deleteExtensionsV1beta1NamespacedReplicaSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "name": "propagationPolicy", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", + "kind": "Scale", "version": "v1beta1" } }, "patch": { - "description": "partially update the specified ReplicaSet", + "description": "partially update scale of the specified Deployment", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -49546,7 +50772,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "patchExtensionsV1beta1NamespacedReplicaSet", + "operationId": "patchExtensionsV1beta1NamespacedDeploymentScale", "parameters": [ { "name": "body", @@ -49561,7 +50787,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" } }, "401": { @@ -49571,7 +50797,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "ReplicaSet", + "kind": "Scale", "version": "v1beta1" } }, @@ -49579,7 +50805,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the ReplicaSet", + "description": "name of the Scale", "name": "name", "in": "path", "required": true @@ -49601,9 +50827,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale": { + "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status": { "get": { - "description": "read scale of the specified ReplicaSet", + "description": "read status of the specified Deployment", "consumes": [ "*/*" ], @@ -49618,12 +50844,12 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "readExtensionsV1beta1NamespacedReplicaSetScale", + "operationId": "readExtensionsV1beta1NamespacedDeploymentStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" } }, "401": { @@ -49633,12 +50859,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Scale", + "kind": "Deployment", "version": "v1beta1" } }, "put": { - "description": "replace scale of the specified ReplicaSet", + "description": "replace status of the specified Deployment", "consumes": [ "*/*" ], @@ -49653,14 +50879,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "replaceExtensionsV1beta1NamespacedReplicaSetScale", + "operationId": "replaceExtensionsV1beta1NamespacedDeploymentStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" } } ], @@ -49668,13 +50894,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" } }, "401": { @@ -49684,12 +50910,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Scale", + "kind": "Deployment", "version": "v1beta1" } }, "patch": { - "description": "partially update scale of the specified ReplicaSet", + "description": "partially update status of the specified Deployment", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -49706,7 +50932,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "patchExtensionsV1beta1NamespacedReplicaSetScale", + "operationId": "patchExtensionsV1beta1NamespacedDeploymentStatus", "parameters": [ { "name": "body", @@ -49721,7 +50947,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" } }, "401": { @@ -49731,7 +50957,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Scale", + "kind": "Deployment", "version": "v1beta1" } }, @@ -49739,7 +50965,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Scale", + "description": "name of the Deployment", "name": "name", "in": "path", "required": true @@ -49761,16 +50987,18 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status": { + "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses": { "get": { - "description": "read status of the specified ReplicaSet", + "description": "list or watch objects of kind Ingress", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -49778,27 +51006,85 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "readExtensionsV1beta1NamespacedReplicaSetStatus", + "operationId": "listExtensionsV1beta1NamespacedIngress", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "ReplicaSet", + "kind": "Ingress", "version": "v1beta1" } }, - "put": { - "description": "replace status of the specified ReplicaSet", + "post": { + "description": "create an Ingress", "consumes": [ "*/*" ], @@ -49813,14 +51099,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "replaceExtensionsV1beta1NamespacedReplicaSetStatus", + "operationId": "createExtensionsV1beta1NamespacedIngress", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" } } ], @@ -49828,32 +51114,36 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "ReplicaSet", + "kind": "Ingress", "version": "v1beta1" } }, - "patch": { - "description": "partially update status of the specified ReplicaSet", + "delete": { + "description": "delete collection of Ingress", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", @@ -49866,44 +51156,84 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "patchExtensionsV1beta1NamespacedReplicaSetStatus", + "operationId": "deleteExtensionsV1beta1CollectionNamespacedIngress", "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "ReplicaSet", + "kind": "Ingress", "version": "v1beta1" } }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the ReplicaSet", - "name": "name", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -49921,9 +51251,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale": { + "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}": { "get": { - "description": "read scale of the specified ReplicationControllerDummy", + "description": "read the specified Ingress", "consumes": [ "*/*" ], @@ -49938,12 +51268,28 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "readExtensionsV1beta1NamespacedReplicationControllerDummyScale", + "operationId": "readExtensionsV1beta1NamespacedIngress", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" } }, "401": { @@ -49953,12 +51299,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Scale", + "kind": "Ingress", "version": "v1beta1" } }, "put": { - "description": "replace scale of the specified ReplicationControllerDummy", + "description": "replace the specified Ingress", "consumes": [ "*/*" ], @@ -49973,14 +51319,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "replaceExtensionsV1beta1NamespacedReplicationControllerDummyScale", + "operationId": "replaceExtensionsV1beta1NamespacedIngress", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" } } ], @@ -49988,13 +51334,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" } }, "401": { @@ -50004,12 +51350,91 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Scale", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete an Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteExtensionsV1beta1NamespacedIngress", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", "version": "v1beta1" } }, "patch": { - "description": "partially update scale of the specified ReplicationControllerDummy", + "description": "partially update the specified Ingress", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -50026,7 +51451,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "patchExtensionsV1beta1NamespacedReplicationControllerDummyScale", + "operationId": "patchExtensionsV1beta1NamespacedIngress", "parameters": [ { "name": "body", @@ -50041,7 +51466,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" } }, "401": { @@ -50051,7 +51476,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Scale", + "kind": "Ingress", "version": "v1beta1" } }, @@ -50059,7 +51484,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Scale", + "description": "name of the Ingress", "name": "name", "in": "path", "required": true @@ -50081,18 +51506,16 @@ } ] }, - "/apis/extensions/v1beta1/networkpolicies": { + "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status": { "get": { - "description": "list or watch objects of kind NetworkPolicy", + "description": "read status of the specified Ingress", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" @@ -50100,60 +51523,139 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "listExtensionsV1beta1NetworkPolicyForAllNamespaces", + "operationId": "readExtensionsV1beta1NamespacedIngressStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicyList" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Ingress", "version": "v1beta1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + "put": { + "description": "replace status of the specified Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceExtensionsV1beta1NamespacedIngressStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update status of the specified Ingress", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchExtensionsV1beta1NamespacedIngressStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "description": "name of the Ingress", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -50161,33 +51663,12 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/extensions/v1beta1/podsecuritypolicies": { + "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies": { "get": { - "description": "list or watch objects of kind PodSecurityPolicy", + "description": "list or watch objects of kind NetworkPolicy", "consumes": [ "*/*" ], @@ -50204,12 +51685,12 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "listExtensionsV1beta1PodSecurityPolicy", + "operationId": "listExtensionsV1beta1NamespacedNetworkPolicy", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -50267,7 +51748,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicyList" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicyList" } }, "401": { @@ -50277,12 +51758,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "PodSecurityPolicy", + "kind": "NetworkPolicy", "version": "v1beta1" } }, "post": { - "description": "create a PodSecurityPolicy", + "description": "create a NetworkPolicy", "consumes": [ "*/*" ], @@ -50297,14 +51778,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "createExtensionsV1beta1PodSecurityPolicy", + "operationId": "createExtensionsV1beta1NamespacedNetworkPolicy", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" } } ], @@ -50312,19 +51793,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" } }, "401": { @@ -50334,12 +51815,12 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "PodSecurityPolicy", + "kind": "NetworkPolicy", "version": "v1beta1" } }, "delete": { - "description": "delete collection of PodSecurityPolicy", + "description": "delete collection of NetworkPolicy", "consumes": [ "*/*" ], @@ -50354,12 +51835,12 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "deleteExtensionsV1beta1CollectionPodSecurityPolicy", + "operationId": "deleteExtensionsV1beta1CollectionNamespacedNetworkPolicy", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -50427,11 +51908,19 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "PodSecurityPolicy", + "kind": "NetworkPolicy", "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -50441,9 +51930,9 @@ } ] }, - "/apis/extensions/v1beta1/podsecuritypolicies/{name}": { + "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}": { "get": { - "description": "read the specified PodSecurityPolicy", + "description": "read the specified NetworkPolicy", "consumes": [ "*/*" ], @@ -50458,7 +51947,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "readExtensionsV1beta1PodSecurityPolicy", + "operationId": "readExtensionsV1beta1NamespacedNetworkPolicy", "parameters": [ { "uniqueItems": true, @@ -50479,7 +51968,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" } }, "401": { @@ -50489,12 +51978,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "PodSecurityPolicy", + "kind": "NetworkPolicy", "version": "v1beta1" } }, "put": { - "description": "replace the specified PodSecurityPolicy", + "description": "replace the specified NetworkPolicy", "consumes": [ "*/*" ], @@ -50509,14 +51998,14 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "replaceExtensionsV1beta1PodSecurityPolicy", + "operationId": "replaceExtensionsV1beta1NamespacedNetworkPolicy", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" } } ], @@ -50524,13 +52013,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" } }, "401": { @@ -50540,12 +52029,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "PodSecurityPolicy", + "kind": "NetworkPolicy", "version": "v1beta1" } }, "delete": { - "description": "delete a PodSecurityPolicy", + "description": "delete a NetworkPolicy", "consumes": [ "*/*" ], @@ -50560,7 +52049,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "deleteExtensionsV1beta1PodSecurityPolicy", + "operationId": "deleteExtensionsV1beta1NamespacedNetworkPolicy", "parameters": [ { "name": "body", @@ -50570,6 +52059,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -50599,6 +52095,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -50606,12 +52108,12 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "PodSecurityPolicy", + "kind": "NetworkPolicy", "version": "v1beta1" } }, "patch": { - "description": "partially update the specified PodSecurityPolicy", + "description": "partially update the specified NetworkPolicy", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -50628,7 +52130,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "patchExtensionsV1beta1PodSecurityPolicy", + "operationId": "patchExtensionsV1beta1NamespacedNetworkPolicy", "parameters": [ { "name": "body", @@ -50643,7 +52145,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" } }, "401": { @@ -50653,7 +52155,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "PodSecurityPolicy", + "kind": "NetworkPolicy", "version": "v1beta1" } }, @@ -50661,11 +52163,19 @@ { "uniqueItems": true, "type": "string", - "description": "name of the PodSecurityPolicy", + "description": "name of the NetworkPolicy", "name": "name", "in": "path", "required": true }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -50675,7 +52185,7 @@ } ] }, - "/apis/extensions/v1beta1/replicasets": { + "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets": { "get": { "description": "list or watch objects of kind ReplicaSet", "consumes": [ @@ -50694,7 +52204,65 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "listExtensionsV1beta1ReplicaSetForAllNamespaces", + "operationId": "listExtensionsV1beta1NamespacedReplicaSet", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], "responses": { "200": { "description": "OK", @@ -50713,84 +52281,15 @@ "version": "v1beta1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/watch/daemonsets": { - "get": { - "description": "watch individual changes to a list of DaemonSet", + "post": { + "description": "create a ReplicaSet", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" @@ -50798,103 +52297,56 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "watchExtensionsV1beta1DaemonSetListForAllNamespaces", + "operationId": "createExtensionsV1beta1NamespacedReplicaSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + } + } + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "DaemonSet", + "kind": "ReplicaSet", "version": "v1beta1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/watch/deployments": { - "get": { - "description": "watch individual changes to a list of Deployment", + "delete": { + "description": "delete collection of ReplicaSet", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" @@ -50902,22 +52354,80 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "watchExtensionsV1beta1DeploymentListForAllNamespaces", + "operationId": "deleteExtensionsV1beta1CollectionNamespacedReplicaSet", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Deployment", + "kind": "ReplicaSet", "version": "v1beta1" } }, @@ -50925,37 +52435,10 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -50963,42 +52446,19 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/extensions/v1beta1/watch/ingresses": { + "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}": { "get": { - "description": "watch individual changes to a list of Ingress", + "description": "read the specified ReplicaSet", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" @@ -51006,103 +52466,50 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "watchExtensionsV1beta1IngressListForAllNamespaces", + "operationId": "readExtensionsV1beta1NamespacedReplicaSet", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "ReplicaSet", "version": "v1beta1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets": { - "get": { - "description": "watch individual changes to a list of DaemonSet", + "put": { + "description": "replace the specified ReplicaSet", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" @@ -51110,111 +52517,131 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "watchExtensionsV1beta1NamespacedDaemonSetList", + "operationId": "replaceExtensionsV1beta1NamespacedReplicaSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + } + } + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "DaemonSet", + "kind": "ReplicaSet", "version": "v1beta1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" + "delete": { + "description": "delete a ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteExtensionsV1beta1NamespacedReplicaSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" } - ] - }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets/{name}": { - "get": { - "description": "watch changes to an object of kind DaemonSet", + }, + "patch": { + "description": "partially update the specified ReplicaSet", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" @@ -51222,22 +52649,32 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "watchExtensionsV1beta1NamespacedDaemonSet", + "operationId": "patchExtensionsV1beta1NamespacedReplicaSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "DaemonSet", + "kind": "ReplicaSet", "version": "v1beta1" } }, @@ -51245,42 +52682,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the DaemonSet", + "description": "name of the ReplicaSet", "name": "name", "in": "path", "required": true @@ -51299,42 +52701,19 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments": { + "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale": { "get": { - "description": "watch individual changes to a list of Deployment", + "description": "read scale of the specified ReplicaSet", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" @@ -51342,60 +52721,131 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "watchExtensionsV1beta1NamespacedDeploymentList", + "operationId": "readExtensionsV1beta1NamespacedReplicaSetScale", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Deployment", + "kind": "Scale", "version": "v1beta1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + "put": { + "description": "replace scale of the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceExtensionsV1beta1NamespacedReplicaSetScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update scale of the specified ReplicaSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchExtensionsV1beta1NamespacedReplicaSetScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + } + }, + "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "description": "name of the Scale", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -51411,42 +52861,19 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments/{name}": { + "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status": { "get": { - "description": "watch changes to an object of kind Deployment", + "description": "read status of the specified ReplicaSet", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" @@ -51454,119 +52881,34 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "watchExtensionsV1beta1NamespacedDeployment", + "operationId": "readExtensionsV1beta1NamespacedReplicaSetStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Deployment", + "kind": "ReplicaSet", "version": "v1beta1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the Deployment", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses": { - "get": { - "description": "watch individual changes to a list of Ingress", + "put": { + "description": "replace status of the specified ReplicaSet", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" @@ -51574,111 +52916,52 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "watchExtensionsV1beta1NamespacedIngressList", + "operationId": "replaceExtensionsV1beta1NamespacedReplicaSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + } + } + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "ReplicaSet", "version": "v1beta1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses/{name}": { - "get": { - "description": "watch changes to an object of kind Ingress", + "patch": { + "description": "partially update status of the specified ReplicaSet", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" @@ -51686,22 +52969,32 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "watchExtensionsV1beta1NamespacedIngress", + "operationId": "patchExtensionsV1beta1NamespacedReplicaSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "Ingress", + "kind": "ReplicaSet", "version": "v1beta1" } }, @@ -51709,42 +53002,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the Ingress", + "description": "name of the ReplicaSet", "name": "name", "in": "path", "required": true @@ -51763,42 +53021,19 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies": { + "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale": { "get": { - "description": "watch individual changes to a list of NetworkPolicy", + "description": "read scale of the specified ReplicationControllerDummy", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" @@ -51806,111 +53041,87 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "watchExtensionsV1beta1NamespacedNetworkPolicyList", + "operationId": "readExtensionsV1beta1NamespacedReplicationControllerDummyScale", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Scale", "version": "v1beta1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" + "put": { + "description": "replace scale of the specified ReplicationControllerDummy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceExtensionsV1beta1NamespacedReplicationControllerDummyScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" } - ] - }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies/{name}": { - "get": { - "description": "watch changes to an object of kind NetworkPolicy", + }, + "patch": { + "description": "partially update scale of the specified ReplicationControllerDummy", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" @@ -51918,22 +53129,32 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "watchExtensionsV1beta1NamespacedNetworkPolicy", + "operationId": "patchExtensionsV1beta1NamespacedReplicationControllerDummyScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Scale", "version": "v1beta1" } }, @@ -51941,42 +53162,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the NetworkPolicy", + "description": "name of the Scale", "name": "name", "in": "path", "required": true @@ -51995,33 +53181,12 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets": { + "/apis/extensions/v1beta1/networkpolicies": { "get": { - "description": "watch individual changes to a list of ReplicaSet", + "description": "list or watch objects of kind NetworkPolicy", "consumes": [ "*/*" ], @@ -52038,22 +53203,22 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "watchExtensionsV1beta1NamespacedReplicaSetList", + "operationId": "listExtensionsV1beta1NetworkPolicyForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicyList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "ReplicaSet", + "kind": "NetworkPolicy", "version": "v1beta1" } }, @@ -52061,7 +53226,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -52093,14 +53258,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -52131,9 +53288,9 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets/{name}": { + "/apis/extensions/v1beta1/podsecuritypolicies": { "get": { - "description": "watch changes to an object of kind ReplicaSet", + "description": "list or watch objects of kind PodSecurityPolicy", "consumes": [ "*/*" ], @@ -52150,74 +53307,478 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "watchExtensionsV1beta1NamespacedReplicaSet", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } + "operationId": "listExtensionsV1beta1PodSecurityPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "post": { + "description": "create a PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "createExtensionsV1beta1PodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete collection of PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteExtensionsV1beta1CollectionPodSecurityPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/podsecuritypolicies/{name}": { + "get": { + "description": "read the specified PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readExtensionsV1beta1PodSecurityPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceExtensionsV1beta1PodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the ReplicaSet", - "name": "name", - "in": "path", - "required": true + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete a PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteExtensionsV1beta1PodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update the specified PodSecurityPolicy", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchExtensionsV1beta1PodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "parameters": [ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", + "description": "name of the PodSecurityPolicy", + "name": "name", "in": "path", "required": true }, @@ -52227,33 +53788,12 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/extensions/v1beta1/watch/networkpolicies": { + "/apis/extensions/v1beta1/replicasets": { "get": { - "description": "watch individual changes to a list of NetworkPolicy", + "description": "list or watch objects of kind ReplicaSet", "consumes": [ "*/*" ], @@ -52270,22 +53810,22 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "watchExtensionsV1beta1NetworkPolicyListForAllNamespaces", + "operationId": "listExtensionsV1beta1ReplicaSetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSetList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "ReplicaSet", "version": "v1beta1" } }, @@ -52293,7 +53833,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -52355,9 +53895,9 @@ } ] }, - "/apis/extensions/v1beta1/watch/podsecuritypolicies": { + "/apis/extensions/v1beta1/watch/daemonsets": { "get": { - "description": "watch individual changes to a list of PodSecurityPolicy", + "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -52374,7 +53914,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "watchExtensionsV1beta1PodSecurityPolicyList", + "operationId": "watchExtensionsV1beta1DaemonSetListForAllNamespaces", "responses": { "200": { "description": "OK", @@ -52389,7 +53929,7 @@ "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "PodSecurityPolicy", + "kind": "DaemonSet", "version": "v1beta1" } }, @@ -52397,7 +53937,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -52459,9 +53999,9 @@ } ] }, - "/apis/extensions/v1beta1/watch/podsecuritypolicies/{name}": { + "/apis/extensions/v1beta1/watch/deployments": { "get": { - "description": "watch changes to an object of kind PodSecurityPolicy", + "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -52478,7 +54018,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "watchExtensionsV1beta1PodSecurityPolicy", + "operationId": "watchExtensionsV1beta1DeploymentListForAllNamespaces", "responses": { "200": { "description": "OK", @@ -52490,10 +54030,10 @@ "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "PodSecurityPolicy", + "kind": "Deployment", "version": "v1beta1" } }, @@ -52501,7 +54041,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -52533,14 +54073,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the PodSecurityPolicy", - "name": "name", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -52571,9 +54103,9 @@ } ] }, - "/apis/extensions/v1beta1/watch/replicasets": { + "/apis/extensions/v1beta1/watch/ingresses": { "get": { - "description": "watch individual changes to a list of ReplicaSet", + "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -52590,7 +54122,7 @@ "tags": [ "extensions_v1beta1" ], - "operationId": "watchExtensionsV1beta1ReplicaSetListForAllNamespaces", + "operationId": "watchExtensionsV1beta1IngressListForAllNamespaces", "responses": { "200": { "description": "OK", @@ -52605,7 +54137,7 @@ "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "ReplicaSet", + "kind": "Ingress", "version": "v1beta1" } }, @@ -52613,7 +54145,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -52675,75 +54207,241 @@ } ] }, - "/apis/networking.k8s.io/": { + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets": { "get": { - "description": "get information of a group", + "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "networking" + "extensions_v1beta1" ], - "operationId": "getNetworkingAPIGroup", + "operationId": "watchExtensionsV1beta1NamespacedDaemonSetList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" } - } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] }, - "/apis/networking.k8s.io/v1/": { + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets/{name}": { "get": { - "description": "get available resources", + "description": "watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "networking_v1" + "extensions_v1beta1" ], - "operationId": "getNetworkingV1APIResources", + "operationId": "watchExtensionsV1beta1NamespacedDaemonSet", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" } - } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the DaemonSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments": { "get": { - "description": "list or watch objects of kind NetworkPolicy", + "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -52758,236 +54456,295 @@ "https" ], "tags": [ - "networking_v1" - ], - "operationId": "listNetworkingV1NamespacedNetworkPolicy", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } + "extensions_v1beta1" ], + "operationId": "watchExtensionsV1beta1NamespacedDeploymentList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" } }, - "post": { - "description": "create a NetworkPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments/{name}": { + "get": { + "description": "watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "networking_v1" - ], - "operationId": "createNetworkingV1NamespacedNetworkPolicy", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - } + "extensions_v1beta1" ], + "operationId": "watchExtensionsV1beta1NamespacedDeployment", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" } }, - "delete": { - "description": "delete collection of NetworkPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Deployment", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses": { + "get": { + "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "networking_v1" - ], - "operationId": "deleteNetworkingV1CollectionNamespacedNetworkPolicy", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } + "extensions_v1beta1" ], + "operationId": "watchExtensionsV1beta1NamespacedIngressList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -53002,233 +54759,223 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses/{name}": { "get": { - "description": "read the specified NetworkPolicy", + "description": "watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "networking_v1" - ], - "operationId": "readNetworkingV1NamespacedNetworkPolicy", - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" - } + "extensions_v1beta1" ], + "operationId": "watchExtensionsV1beta1NamespacedIngress", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" } }, - "put": { - "description": "replace the specified NetworkPolicy", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "operationId": "replaceNetworkingV1NamespacedNetworkPolicy", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "delete": { - "description": "delete a NetworkPolicy", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "operationId": "deleteNetworkingV1NamespacedNetworkPolicy", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "name": "propagationPolicy", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Ingress", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, - "patch": { - "description": "partially update the specified NetworkPolicy", + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies": { + "get": { + "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "networking_v1" - ], - "operationId": "patchNetworkingV1NamespacedNetworkPolicy", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - } + "extensions_v1beta1" ], + "operationId": "watchExtensionsV1beta1NamespacedNetworkPolicyList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", + "group": "extensions", "kind": "NetworkPolicy", - "version": "v1" + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the NetworkPolicy", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -53244,12 +54991,33 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/networking.k8s.io/v1/networkpolicies": { + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies/{name}": { "get": { - "description": "list or watch objects of kind NetworkPolicy", + "description": "watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -53264,32 +55032,32 @@ "https" ], "tags": [ - "networking_v1" + "extensions_v1beta1" ], - "operationId": "listNetworkingV1NetworkPolicyForAllNamespaces", + "operationId": "watchExtensionsV1beta1NamespacedNetworkPolicy", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", + "group": "extensions", "kind": "NetworkPolicy", - "version": "v1" + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -53321,6 +55089,22 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the NetworkPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -53351,9 +55135,9 @@ } ] }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": { + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets": { "get": { - "description": "watch individual changes to a list of NetworkPolicy", + "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -53368,9 +55152,9 @@ "https" ], "tags": [ - "networking_v1" + "extensions_v1beta1" ], - "operationId": "watchNetworkingV1NamespacedNetworkPolicyList", + "operationId": "watchExtensionsV1beta1NamespacedReplicaSetList", "responses": { "200": { "description": "OK", @@ -53384,16 +55168,16 @@ }, "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -53463,9 +55247,9 @@ } ] }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": { + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets/{name}": { "get": { - "description": "watch changes to an object of kind NetworkPolicy", + "description": "watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -53480,9 +55264,9 @@ "https" ], "tags": [ - "networking_v1" + "extensions_v1beta1" ], - "operationId": "watchNetworkingV1NamespacedNetworkPolicy", + "operationId": "watchExtensionsV1beta1NamespacedReplicaSet", "responses": { "200": { "description": "OK", @@ -53496,16 +55280,16 @@ }, "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -53540,7 +55324,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the NetworkPolicy", + "description": "name of the ReplicaSet", "name": "name", "in": "path", "required": true @@ -53583,9 +55367,9 @@ } ] }, - "/apis/networking.k8s.io/v1/watch/networkpolicies": { + "/apis/extensions/v1beta1/watch/networkpolicies": { "get": { - "description": "watch individual changes to a list of NetworkPolicy", + "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -53600,9 +55384,9 @@ "https" ], "tags": [ - "networking_v1" + "extensions_v1beta1" ], - "operationId": "watchNetworkingV1NetworkPolicyListForAllNamespaces", + "operationId": "watchExtensionsV1beta1NetworkPolicyListForAllNamespaces", "responses": { "200": { "description": "OK", @@ -53616,16 +55400,16 @@ }, "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", + "group": "extensions", "kind": "NetworkPolicy", - "version": "v1" + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -53687,13 +55471,333 @@ } ] }, - "/apis/policy/": { + "/apis/extensions/v1beta1/watch/podsecuritypolicies": { "get": { - "description": "get information of a group", + "description": "watch individual changes to a list of PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "watchExtensionsV1beta1PodSecurityPolicyList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/podsecuritypolicies/{name}": { + "get": { + "description": "watch changes to an object of kind PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "watchExtensionsV1beta1PodSecurityPolicy", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodSecurityPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/replicasets": { + "get": { + "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "watchExtensionsV1beta1ReplicaSetListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/networking.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -53704,9 +55808,9 @@ "https" ], "tags": [ - "policy" + "networking" ], - "operationId": "getPolicyAPIGroup", + "operationId": "getNetworkingAPIGroup", "responses": { "200": { "description": "OK", @@ -53720,7 +55824,7 @@ } } }, - "/apis/policy/v1beta1/": { + "/apis/networking.k8s.io/v1/": { "get": { "description": "get available resources", "consumes": [ @@ -53737,9 +55841,9 @@ "https" ], "tags": [ - "policy_v1beta1" + "networking_v1" ], - "operationId": "getPolicyV1beta1APIResources", + "operationId": "getNetworkingV1APIResources", "responses": { "200": { "description": "OK", @@ -53753,9 +55857,9 @@ } } }, - "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets": { + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { "get": { - "description": "list or watch objects of kind PodDisruptionBudget", + "description": "list or watch objects of kind NetworkPolicy", "consumes": [ "*/*" ], @@ -53770,14 +55874,14 @@ "https" ], "tags": [ - "policy_v1beta1" + "networking_v1" ], - "operationId": "listPolicyV1beta1NamespacedPodDisruptionBudget", + "operationId": "listNetworkingV1NamespacedNetworkPolicy", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -53835,7 +55939,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudgetList" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" } }, "401": { @@ -53844,13 +55948,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } }, "post": { - "description": "create a PodDisruptionBudget", + "description": "create a NetworkPolicy", "consumes": [ "*/*" ], @@ -53863,16 +55967,16 @@ "https" ], "tags": [ - "policy_v1beta1" + "networking_v1" ], - "operationId": "createPolicyV1beta1NamespacedPodDisruptionBudget", + "operationId": "createNetworkingV1NamespacedNetworkPolicy", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } } ], @@ -53880,19 +55984,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "401": { @@ -53901,13 +56005,13 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } }, "delete": { - "description": "delete collection of PodDisruptionBudget", + "description": "delete collection of NetworkPolicy", "consumes": [ "*/*" ], @@ -53920,14 +56024,14 @@ "https" ], "tags": [ - "policy_v1beta1" + "networking_v1" ], - "operationId": "deletePolicyV1beta1CollectionNamespacedPodDisruptionBudget", + "operationId": "deleteNetworkingV1CollectionNamespacedNetworkPolicy", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -53994,9 +56098,9 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } }, "parameters": [ @@ -54017,9 +56121,9 @@ } ] }, - "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}": { + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { "get": { - "description": "read the specified PodDisruptionBudget", + "description": "read the specified NetworkPolicy", "consumes": [ "*/*" ], @@ -54032,9 +56136,9 @@ "https" ], "tags": [ - "policy_v1beta1" + "networking_v1" ], - "operationId": "readPolicyV1beta1NamespacedPodDisruptionBudget", + "operationId": "readNetworkingV1NamespacedNetworkPolicy", "parameters": [ { "uniqueItems": true, @@ -54055,7 +56159,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "401": { @@ -54064,13 +56168,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } }, "put": { - "description": "replace the specified PodDisruptionBudget", + "description": "replace the specified NetworkPolicy", "consumes": [ "*/*" ], @@ -54083,16 +56187,16 @@ "https" ], "tags": [ - "policy_v1beta1" + "networking_v1" ], - "operationId": "replacePolicyV1beta1NamespacedPodDisruptionBudget", + "operationId": "replaceNetworkingV1NamespacedNetworkPolicy", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } } ], @@ -54100,13 +56204,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "401": { @@ -54115,13 +56219,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } }, "delete": { - "description": "delete a PodDisruptionBudget", + "description": "delete a NetworkPolicy", "consumes": [ "*/*" ], @@ -54134,9 +56238,9 @@ "https" ], "tags": [ - "policy_v1beta1" + "networking_v1" ], - "operationId": "deletePolicyV1beta1NamespacedPodDisruptionBudget", + "operationId": "deleteNetworkingV1NamespacedNetworkPolicy", "parameters": [ { "name": "body", @@ -54146,6 +56250,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -54175,19 +56286,25 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } }, "patch": { - "description": "partially update the specified PodDisruptionBudget", + "description": "partially update the specified NetworkPolicy", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -54202,9 +56319,9 @@ "https" ], "tags": [ - "policy_v1beta1" + "networking_v1" ], - "operationId": "patchPolicyV1beta1NamespacedPodDisruptionBudget", + "operationId": "patchNetworkingV1NamespacedNetworkPolicy", "parameters": [ { "name": "body", @@ -54219,7 +56336,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "401": { @@ -54228,16 +56345,16 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the PodDisruptionBudget", + "description": "name of the NetworkPolicy", "name": "name", "in": "path", "required": true @@ -54259,145 +56376,300 @@ } ] }, - "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status": { + "/apis/networking.k8s.io/v1/networkpolicies": { "get": { - "description": "read status of the specified PodDisruptionBudget", + "description": "list or watch objects of kind NetworkPolicy", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "policy_v1beta1" + "networking_v1" ], - "operationId": "readPolicyV1beta1NamespacedPodDisruptionBudgetStatus", + "operationId": "listNetworkingV1NetworkPolicyForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } }, - "put": { - "description": "replace status of the specified PodDisruptionBudget", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "operationId": "replacePolicyV1beta1NamespacedPodDisruptionBudgetStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, - "patch": { - "description": "partially update status of the specified PodDisruptionBudget", + ] + }, + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": { + "get": { + "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "policy_v1beta1" + "networking_v1" ], - "operationId": "patchPolicyV1beta1NamespacedPodDisruptionBudgetStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, + "operationId": "watchNetworkingV1NamespacedNetworkPolicyList", + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } + }, + "401": { + "description": "Unauthorized" } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": { + "get": { + "description": "watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" ], + "operationId": "watchNetworkingV1NamespacedNetworkPolicy", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the PodDisruptionBudget", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the NetworkPolicy", "name": "name", "in": "path", "required": true @@ -54416,12 +56688,33 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/policy/v1beta1/poddisruptionbudgets": { + "/apis/networking.k8s.io/v1/watch/networkpolicies": { "get": { - "description": "list or watch objects of kind PodDisruptionBudget", + "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -54436,32 +56729,32 @@ "https" ], "tags": [ - "policy_v1beta1" + "networking_v1" ], - "operationId": "listPolicyV1beta1PodDisruptionBudgetForAllNamespaces", + "operationId": "watchNetworkingV1NetworkPolicyListForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudgetList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -54523,9 +56816,75 @@ } ] }, - "/apis/policy/v1beta1/podsecuritypolicies": { + "/apis/policy/": { "get": { - "description": "list or watch objects of kind PodSecurityPolicy", + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy" + ], + "operationId": "getPolicyAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/policy/v1beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "getPolicyV1beta1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets": { + "get": { + "description": "list or watch objects of kind PodDisruptionBudget", "consumes": [ "*/*" ], @@ -54542,12 +56901,12 @@ "tags": [ "policy_v1beta1" ], - "operationId": "listPolicyV1beta1PodSecurityPolicy", + "operationId": "listPolicyV1beta1NamespacedPodDisruptionBudget", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -54605,7 +56964,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicyList" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudgetList" } }, "401": { @@ -54615,12 +56974,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "policy", - "kind": "PodSecurityPolicy", + "kind": "PodDisruptionBudget", "version": "v1beta1" } }, "post": { - "description": "create a PodSecurityPolicy", + "description": "create a PodDisruptionBudget", "consumes": [ "*/*" ], @@ -54635,14 +56994,14 @@ "tags": [ "policy_v1beta1" ], - "operationId": "createPolicyV1beta1PodSecurityPolicy", + "operationId": "createPolicyV1beta1NamespacedPodDisruptionBudget", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" } } ], @@ -54650,19 +57009,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" } }, "401": { @@ -54672,12 +57031,12 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "policy", - "kind": "PodSecurityPolicy", + "kind": "PodDisruptionBudget", "version": "v1beta1" } }, "delete": { - "description": "delete collection of PodSecurityPolicy", + "description": "delete collection of PodDisruptionBudget", "consumes": [ "*/*" ], @@ -54692,12 +57051,12 @@ "tags": [ "policy_v1beta1" ], - "operationId": "deletePolicyV1beta1CollectionPodSecurityPolicy", + "operationId": "deletePolicyV1beta1CollectionNamespacedPodDisruptionBudget", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -54765,11 +57124,19 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "policy", - "kind": "PodSecurityPolicy", + "kind": "PodDisruptionBudget", "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -54779,9 +57146,9 @@ } ] }, - "/apis/policy/v1beta1/podsecuritypolicies/{name}": { + "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}": { "get": { - "description": "read the specified PodSecurityPolicy", + "description": "read the specified PodDisruptionBudget", "consumes": [ "*/*" ], @@ -54796,7 +57163,7 @@ "tags": [ "policy_v1beta1" ], - "operationId": "readPolicyV1beta1PodSecurityPolicy", + "operationId": "readPolicyV1beta1NamespacedPodDisruptionBudget", "parameters": [ { "uniqueItems": true, @@ -54817,7 +57184,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" } }, "401": { @@ -54827,12 +57194,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "policy", - "kind": "PodSecurityPolicy", + "kind": "PodDisruptionBudget", "version": "v1beta1" } }, "put": { - "description": "replace the specified PodSecurityPolicy", + "description": "replace the specified PodDisruptionBudget", "consumes": [ "*/*" ], @@ -54847,14 +57214,14 @@ "tags": [ "policy_v1beta1" ], - "operationId": "replacePolicyV1beta1PodSecurityPolicy", + "operationId": "replacePolicyV1beta1NamespacedPodDisruptionBudget", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" } } ], @@ -54862,13 +57229,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" } }, "401": { @@ -54878,12 +57245,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "policy", - "kind": "PodSecurityPolicy", + "kind": "PodDisruptionBudget", "version": "v1beta1" } }, "delete": { - "description": "delete a PodSecurityPolicy", + "description": "delete a PodDisruptionBudget", "consumes": [ "*/*" ], @@ -54898,7 +57265,7 @@ "tags": [ "policy_v1beta1" ], - "operationId": "deletePolicyV1beta1PodSecurityPolicy", + "operationId": "deletePolicyV1beta1NamespacedPodDisruptionBudget", "parameters": [ { "name": "body", @@ -54908,6 +57275,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -54937,6 +57311,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -54944,12 +57324,12 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "policy", - "kind": "PodSecurityPolicy", + "kind": "PodDisruptionBudget", "version": "v1beta1" } }, "patch": { - "description": "partially update the specified PodSecurityPolicy", + "description": "partially update the specified PodDisruptionBudget", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -54966,7 +57346,7 @@ "tags": [ "policy_v1beta1" ], - "operationId": "patchPolicyV1beta1PodSecurityPolicy", + "operationId": "patchPolicyV1beta1NamespacedPodDisruptionBudget", "parameters": [ { "name": "body", @@ -54981,7 +57361,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" } }, "401": { @@ -54991,7 +57371,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "policy", - "kind": "PodSecurityPolicy", + "kind": "PodDisruptionBudget", "version": "v1beta1" } }, @@ -54999,11 +57379,19 @@ { "uniqueItems": true, "type": "string", - "description": "name of the PodSecurityPolicy", + "description": "name of the PodDisruptionBudget", "name": "name", "in": "path", "required": true }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -55013,18 +57401,16 @@ } ] }, - "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets": { + "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status": { "get": { - "description": "watch individual changes to a list of PodDisruptionBudget", + "description": "read status of the specified PodDisruptionBudget", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" @@ -55032,111 +57418,87 @@ "tags": [ "policy_v1beta1" ], - "operationId": "watchPolicyV1beta1NamespacedPodDisruptionBudgetList", + "operationId": "readPolicyV1beta1NamespacedPodDisruptionBudgetStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "policy", "kind": "PodDisruptionBudget", "version": "v1beta1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + "put": { + "description": "replace status of the specified PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "replacePolicyV1beta1NamespacedPodDisruptionBudgetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" } - ] - }, - "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}": { - "get": { - "description": "watch changes to an object of kind PodDisruptionBudget", + }, + "patch": { + "description": "partially update status of the specified PodDisruptionBudget", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" @@ -55144,19 +57506,29 @@ "tags": [ "policy_v1beta1" ], - "operationId": "watchPolicyV1beta1NamespacedPodDisruptionBudget", + "operationId": "patchPolicyV1beta1NamespacedPodDisruptionBudgetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "policy", "kind": "PodDisruptionBudget", @@ -55164,41 +57536,6 @@ } }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -55221,33 +57558,12 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/policy/v1beta1/watch/poddisruptionbudgets": { + "/apis/policy/v1beta1/poddisruptionbudgets": { "get": { - "description": "watch individual changes to a list of PodDisruptionBudget", + "description": "list or watch objects of kind PodDisruptionBudget", "consumes": [ "*/*" ], @@ -55264,19 +57580,19 @@ "tags": [ "policy_v1beta1" ], - "operationId": "watchPolicyV1beta1PodDisruptionBudgetListForAllNamespaces", + "operationId": "listPolicyV1beta1PodDisruptionBudgetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudgetList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "policy", "kind": "PodDisruptionBudget", @@ -55287,111 +57603,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/policy/v1beta1/watch/podsecuritypolicies": { - "get": { - "description": "watch individual changes to a list of PodSecurityPolicy", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "operationId": "watchPolicyV1beta1PodSecurityPolicyList", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -55453,9 +57665,9 @@ } ] }, - "/apis/policy/v1beta1/watch/podsecuritypolicies/{name}": { + "/apis/policy/v1beta1/podsecuritypolicies": { "get": { - "description": "watch changes to an object of kind PodSecurityPolicy", + "description": "list or watch objects of kind PodSecurityPolicy", "consumes": [ "*/*" ], @@ -55472,190 +57684,12 @@ "tags": [ "policy_v1beta1" ], - "operationId": "watchPolicyV1beta1PodSecurityPolicy", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the PodSecurityPolicy", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization" - ], - "operationId": "getRbacAuthorizationAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/rbac.authorization.k8s.io/v1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "operationId": "getRbacAuthorizationV1APIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings": { - "get": { - "description": "list or watch objects of kind ClusterRoleBinding", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "operationId": "listRbacAuthorizationV1ClusterRoleBinding", + "operationId": "listPolicyV1beta1PodSecurityPolicy", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -55713,7 +57747,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBindingList" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicyList" } }, "401": { @@ -55722,13 +57756,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" } }, "post": { - "description": "create a ClusterRoleBinding", + "description": "create a PodSecurityPolicy", "consumes": [ "*/*" ], @@ -55741,16 +57775,16 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "policy_v1beta1" ], - "operationId": "createRbacAuthorizationV1ClusterRoleBinding", + "operationId": "createPolicyV1beta1PodSecurityPolicy", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" } } ], @@ -55758,19 +57792,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" } }, "401": { @@ -55779,13 +57813,13 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" } }, "delete": { - "description": "delete collection of ClusterRoleBinding", + "description": "delete collection of PodSecurityPolicy", "consumes": [ "*/*" ], @@ -55798,14 +57832,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "policy_v1beta1" ], - "operationId": "deleteRbacAuthorizationV1CollectionClusterRoleBinding", + "operationId": "deletePolicyV1beta1CollectionPodSecurityPolicy", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -55872,9 +57906,9 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" } }, "parameters": [ @@ -55887,9 +57921,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}": { + "/apis/policy/v1beta1/podsecuritypolicies/{name}": { "get": { - "description": "read the specified ClusterRoleBinding", + "description": "read the specified PodSecurityPolicy", "consumes": [ "*/*" ], @@ -55902,14 +57936,30 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "policy_v1beta1" + ], + "operationId": "readPolicyV1beta1PodSecurityPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } ], - "operationId": "readRbacAuthorizationV1ClusterRoleBinding", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" } }, "401": { @@ -55918,13 +57968,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" } }, "put": { - "description": "replace the specified ClusterRoleBinding", + "description": "replace the specified PodSecurityPolicy", "consumes": [ "*/*" ], @@ -55937,16 +57987,16 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "policy_v1beta1" ], - "operationId": "replaceRbacAuthorizationV1ClusterRoleBinding", + "operationId": "replacePolicyV1beta1PodSecurityPolicy", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" } } ], @@ -55954,13 +58004,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" } }, "401": { @@ -55969,13 +58019,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" } }, "delete": { - "description": "delete a ClusterRoleBinding", + "description": "delete a PodSecurityPolicy", "consumes": [ "*/*" ], @@ -55988,9 +58038,9 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "policy_v1beta1" ], - "operationId": "deleteRbacAuthorizationV1ClusterRoleBinding", + "operationId": "deletePolicyV1beta1PodSecurityPolicy", "parameters": [ { "name": "body", @@ -56000,6 +58050,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -56029,19 +58086,25 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" } }, "patch": { - "description": "partially update the specified ClusterRoleBinding", + "description": "partially update the specified PodSecurityPolicy", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -56056,9 +58119,9 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "policy_v1beta1" ], - "operationId": "patchRbacAuthorizationV1ClusterRoleBinding", + "operationId": "patchPolicyV1beta1PodSecurityPolicy", "parameters": [ { "name": "body", @@ -56073,7 +58136,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" } }, "401": { @@ -56082,16 +58145,16 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the ClusterRoleBinding", + "description": "name of the PodSecurityPolicy", "name": "name", "in": "path", "required": true @@ -56105,9 +58168,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/clusterroles": { + "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets": { "get": { - "description": "list or watch objects of kind ClusterRole", + "description": "watch individual changes to a list of PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -56122,336 +58185,548 @@ "https" ], "tags": [ - "rbacAuthorization_v1" - ], - "operationId": "listRbacAuthorizationV1ClusterRole", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } + "policy_v1beta1" ], + "operationId": "watchPolicyV1beta1NamespacedPodDisruptionBudgetList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" } }, - "post": { - "description": "create a ClusterRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}": { + "get": { + "description": "watch changes to an object of kind PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1" - ], - "operationId": "createRbacAuthorizationV1ClusterRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" - } - } + "policy_v1beta1" ], + "operationId": "watchPolicyV1beta1NamespacedPodDisruptionBudget", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" } }, - "delete": { - "description": "delete collection of ClusterRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodDisruptionBudget", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/watch/poddisruptionbudgets": { + "get": { + "description": "watch individual changes to a list of PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1" - ], - "operationId": "deleteRbacAuthorizationV1CollectionClusterRole", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } + "policy_v1beta1" ], + "operationId": "watchPolicyV1beta1PodDisruptionBudgetListForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}": { + "/apis/policy/v1beta1/watch/podsecuritypolicies": { "get": { - "description": "read the specified ClusterRole", + "description": "watch individual changes to a list of PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1" + "policy_v1beta1" ], - "operationId": "readRbacAuthorizationV1ClusterRole", + "operationId": "watchPolicyV1beta1PodSecurityPolicyList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" } }, - "put": { - "description": "replace the specified ClusterRole", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "operationId": "replaceRbacAuthorizationV1ClusterRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" - } - } - ], - "responses": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/watch/podsecuritypolicies/{name}": { + "get": { + "description": "watch changes to an object of kind PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "watchPolicyV1beta1PodSecurityPolicy", + "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" } }, - "delete": { - "description": "delete a ClusterRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodSecurityPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/": { + "get": { + "description": "get information of a group", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -56462,64 +58737,29 @@ "https" ], "tags": [ - "rbacAuthorization_v1" - ], - "operationId": "deleteRbacAuthorizationV1ClusterRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "name": "propagationPolicy", - "in": "query" - } + "rbacAuthorization" ], + "operationId": "getRbacAuthorizationAPIGroup", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" } - }, - "patch": { - "description": "partially update the specified ClusterRole", + } + }, + "/apis/rbac.authorization.k8s.io/v1/": { + "get": { + "description": "get available resources", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -56532,56 +58772,23 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "patchRbacAuthorizationV1ClusterRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - } - ], + "operationId": "getRbacAuthorizationV1APIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the ClusterRole", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" } - ] + } }, - "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings": { + "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings": { "get": { - "description": "list or watch objects of kind RoleBinding", + "description": "list or watch objects of kind ClusterRoleBinding", "consumes": [ "*/*" ], @@ -56598,12 +58805,12 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "listRbacAuthorizationV1NamespacedRoleBinding", + "operationId": "listRbacAuthorizationV1ClusterRoleBinding", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -56661,7 +58868,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBindingList" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBindingList" } }, "401": { @@ -56671,12 +58878,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "ClusterRoleBinding", "version": "v1" } }, "post": { - "description": "create a RoleBinding", + "description": "create a ClusterRoleBinding", "consumes": [ "*/*" ], @@ -56691,14 +58898,14 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "createRbacAuthorizationV1NamespacedRoleBinding", + "operationId": "createRbacAuthorizationV1ClusterRoleBinding", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" } } ], @@ -56706,19 +58913,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" } }, "401": { @@ -56728,12 +58935,12 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "ClusterRoleBinding", "version": "v1" } }, "delete": { - "description": "delete collection of RoleBinding", + "description": "delete collection of ClusterRoleBinding", "consumes": [ "*/*" ], @@ -56748,12 +58955,12 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "deleteRbacAuthorizationV1CollectionNamespacedRoleBinding", + "operationId": "deleteRbacAuthorizationV1CollectionClusterRoleBinding", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -56821,19 +59028,11 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "ClusterRoleBinding", "version": "v1" } }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -56843,9 +59042,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}": { + "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}": { "get": { - "description": "read the specified RoleBinding", + "description": "read the specified ClusterRoleBinding", "consumes": [ "*/*" ], @@ -56860,12 +59059,12 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "readRbacAuthorizationV1NamespacedRoleBinding", + "operationId": "readRbacAuthorizationV1ClusterRoleBinding", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" } }, "401": { @@ -56875,12 +59074,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "ClusterRoleBinding", "version": "v1" } }, "put": { - "description": "replace the specified RoleBinding", + "description": "replace the specified ClusterRoleBinding", "consumes": [ "*/*" ], @@ -56895,14 +59094,14 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "replaceRbacAuthorizationV1NamespacedRoleBinding", + "operationId": "replaceRbacAuthorizationV1ClusterRoleBinding", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" } } ], @@ -56910,13 +59109,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" } }, "401": { @@ -56926,12 +59125,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "ClusterRoleBinding", "version": "v1" } }, "delete": { - "description": "delete a RoleBinding", + "description": "delete a ClusterRoleBinding", "consumes": [ "*/*" ], @@ -56946,7 +59145,7 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "deleteRbacAuthorizationV1NamespacedRoleBinding", + "operationId": "deleteRbacAuthorizationV1ClusterRoleBinding", "parameters": [ { "name": "body", @@ -56956,6 +59155,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -56985,6 +59191,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -56992,12 +59204,12 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "ClusterRoleBinding", "version": "v1" } }, "patch": { - "description": "partially update the specified RoleBinding", + "description": "partially update the specified ClusterRoleBinding", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -57014,7 +59226,7 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "patchRbacAuthorizationV1NamespacedRoleBinding", + "operationId": "patchRbacAuthorizationV1ClusterRoleBinding", "parameters": [ { "name": "body", @@ -57029,7 +59241,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" } }, "401": { @@ -57039,7 +59251,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "ClusterRoleBinding", "version": "v1" } }, @@ -57047,19 +59259,11 @@ { "uniqueItems": true, "type": "string", - "description": "name of the RoleBinding", + "description": "name of the ClusterRoleBinding", "name": "name", "in": "path", "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -57069,9 +59273,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles": { + "/apis/rbac.authorization.k8s.io/v1/clusterroles": { "get": { - "description": "list or watch objects of kind Role", + "description": "list or watch objects of kind ClusterRole", "consumes": [ "*/*" ], @@ -57088,12 +59292,12 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "listRbacAuthorizationV1NamespacedRole", + "operationId": "listRbacAuthorizationV1ClusterRole", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -57151,7 +59355,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleList" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleList" } }, "401": { @@ -57161,12 +59365,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "ClusterRole", "version": "v1" } }, "post": { - "description": "create a Role", + "description": "create a ClusterRole", "consumes": [ "*/*" ], @@ -57181,14 +59385,14 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "createRbacAuthorizationV1NamespacedRole", + "operationId": "createRbacAuthorizationV1ClusterRole", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" } } ], @@ -57196,19 +59400,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" } }, "401": { @@ -57218,12 +59422,12 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "ClusterRole", "version": "v1" } }, "delete": { - "description": "delete collection of Role", + "description": "delete collection of ClusterRole", "consumes": [ "*/*" ], @@ -57238,12 +59442,12 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "deleteRbacAuthorizationV1CollectionNamespacedRole", + "operationId": "deleteRbacAuthorizationV1CollectionClusterRole", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -57311,19 +59515,11 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "ClusterRole", "version": "v1" } }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -57333,9 +59529,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}": { + "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}": { "get": { - "description": "read the specified Role", + "description": "read the specified ClusterRole", "consumes": [ "*/*" ], @@ -57350,12 +59546,12 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "readRbacAuthorizationV1NamespacedRole", + "operationId": "readRbacAuthorizationV1ClusterRole", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" } }, "401": { @@ -57365,12 +59561,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "ClusterRole", "version": "v1" } }, "put": { - "description": "replace the specified Role", + "description": "replace the specified ClusterRole", "consumes": [ "*/*" ], @@ -57385,14 +59581,14 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "replaceRbacAuthorizationV1NamespacedRole", + "operationId": "replaceRbacAuthorizationV1ClusterRole", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" } } ], @@ -57400,13 +59596,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" } }, "401": { @@ -57416,12 +59612,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "ClusterRole", "version": "v1" } }, "delete": { - "description": "delete a Role", + "description": "delete a ClusterRole", "consumes": [ "*/*" ], @@ -57436,7 +59632,7 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "deleteRbacAuthorizationV1NamespacedRole", + "operationId": "deleteRbacAuthorizationV1ClusterRole", "parameters": [ { "name": "body", @@ -57446,6 +59642,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -57475,6 +59678,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -57482,12 +59691,12 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "ClusterRole", "version": "v1" } }, "patch": { - "description": "partially update the specified Role", + "description": "partially update the specified ClusterRole", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -57504,7 +59713,7 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "patchRbacAuthorizationV1NamespacedRole", + "operationId": "patchRbacAuthorizationV1ClusterRole", "parameters": [ { "name": "body", @@ -57519,7 +59728,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" } }, "401": { @@ -57529,7 +59738,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "ClusterRole", "version": "v1" } }, @@ -57537,19 +59746,11 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Role", + "description": "name of the ClusterRole", "name": "name", "in": "path", "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -57559,7 +59760,7 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/rolebindings": { + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings": { "get": { "description": "list or watch objects of kind RoleBinding", "consumes": [ @@ -57578,7 +59779,65 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "listRbacAuthorizationV1RoleBindingForAllNamespaces", + "operationId": "listRbacAuthorizationV1NamespacedRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], "responses": { "200": { "description": "OK", @@ -57597,84 +59856,72 @@ "version": "v1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" + "post": { + "description": "create a RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "createRbacAuthorizationV1NamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/roles": { - "get": { - "description": "list or watch objects of kind Role", + }, + "delete": { + "description": "delete collection of RoleBinding", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" @@ -57682,22 +59929,80 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "listRbacAuthorizationV1RoleForAllNamespaces", + "operationId": "deleteRbacAuthorizationV1CollectionNamespacedRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "RoleBinding", "version": "v1" } }, @@ -57705,37 +60010,10 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -57743,42 +60021,19 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings": { + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}": { "get": { - "description": "watch individual changes to a list of ClusterRoleBinding", + "description": "read the specified RoleBinding", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" @@ -57786,103 +60041,34 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "watchRbacAuthorizationV1ClusterRoleBindingList", + "operationId": "readRbacAuthorizationV1NamespacedRoleBinding", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "RoleBinding", "version": "v1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}": { - "get": { - "description": "watch changes to an object of kind ClusterRoleBinding", + "put": { + "description": "replace the specified RoleBinding", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" @@ -57890,51 +60076,1072 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "watchRbacAuthorizationV1ClusterRoleBinding", + "operationId": "replaceRbacAuthorizationV1NamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + } + } + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "RoleBinding", "version": "v1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "delete": { + "description": "delete a RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteRbacAuthorizationV1NamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified RoleBinding", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "patchRbacAuthorizationV1NamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the RoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles": { + "get": { + "description": "list or watch objects of kind Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listRbacAuthorizationV1NamespacedRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "post": { + "description": "create a Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "createRbacAuthorizationV1NamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteRbacAuthorizationV1CollectionNamespacedRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}": { + "get": { + "description": "read the specified Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "readRbacAuthorizationV1NamespacedRole", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "replaceRbacAuthorizationV1NamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "delete": { + "description": "delete a Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteRbacAuthorizationV1NamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Role", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "patchRbacAuthorizationV1NamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Role", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/rolebindings": { + "get": { + "description": "list or watch objects of kind RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listRbacAuthorizationV1RoleBindingForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/roles": { + "get": { + "description": "list or watch objects of kind Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listRbacAuthorizationV1RoleForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings": { + "get": { + "description": "watch individual changes to a list of ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "watchRbacAuthorizationV1ClusterRoleBindingList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}": { + "get": { + "description": "watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "watchRbacAuthorizationV1ClusterRoleBinding", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "name": "labelSelector", "in": "query" }, @@ -57985,7 +61192,7 @@ }, "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles": { "get": { - "description": "watch individual changes to a list of ClusterRole", + "description": "watch individual changes to a list of ClusterRole. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -58025,7 +61232,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -58089,7 +61296,7 @@ }, "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/{name}": { "get": { - "description": "watch changes to an object of kind ClusterRole", + "description": "watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -58129,7 +61336,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -58201,7 +61408,7 @@ }, "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings": { "get": { - "description": "watch individual changes to a list of RoleBinding", + "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -58241,7 +61448,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -58313,7 +61520,7 @@ }, "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings/{name}": { "get": { - "description": "watch changes to an object of kind RoleBinding", + "description": "watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -58353,7 +61560,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -58433,7 +61640,7 @@ }, "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles": { "get": { - "description": "watch individual changes to a list of Role", + "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -58473,7 +61680,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -58545,7 +61752,7 @@ }, "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles/{name}": { "get": { - "description": "watch changes to an object of kind Role", + "description": "watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -58585,7 +61792,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -58665,7 +61872,7 @@ }, "/apis/rbac.authorization.k8s.io/v1/watch/rolebindings": { "get": { - "description": "watch individual changes to a list of RoleBinding", + "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -58705,7 +61912,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -58769,7 +61976,7 @@ }, "/apis/rbac.authorization.k8s.io/v1/watch/roles": { "get": { - "description": "watch individual changes to a list of Role", + "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -58809,7 +62016,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -58928,7 +62135,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -59078,7 +62285,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -59273,6 +62480,500 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update the specified ClusterRoleBinding", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "patchRbacAuthorizationV1alpha1ClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles": { + "get": { + "description": "list or watch objects of kind ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "listRbacAuthorizationV1alpha1ClusterRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "createRbacAuthorizationV1alpha1ClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete collection of ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "deleteRbacAuthorizationV1alpha1CollectionClusterRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}": { + "get": { + "description": "read the specified ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "readRbacAuthorizationV1alpha1ClusterRole", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "replaceRbacAuthorizationV1alpha1ClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete a ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "deleteRbacAuthorizationV1alpha1ClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -59302,476 +63003,8 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1alpha1" - } - }, - "patch": { - "description": "partially update the specified ClusterRoleBinding", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "patchRbacAuthorizationV1alpha1ClusterRoleBinding", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1alpha1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the ClusterRoleBinding", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles": { - "get": { - "description": "list or watch objects of kind ClusterRole", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "listRbacAuthorizationV1alpha1ClusterRole", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRoleList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1alpha1" - } - }, - "post": { - "description": "create a ClusterRole", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "createRbacAuthorizationV1alpha1ClusterRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole" - } - }, "202": { "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1alpha1" - } - }, - "delete": { - "description": "delete collection of ClusterRole", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "deleteRbacAuthorizationV1alpha1CollectionClusterRole", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1alpha1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}": { - "get": { - "description": "read the specified ClusterRole", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "readRbacAuthorizationV1alpha1ClusterRole", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1alpha1" - } - }, - "put": { - "description": "replace the specified ClusterRole", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "replaceRbacAuthorizationV1alpha1ClusterRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1alpha1" - } - }, - "delete": { - "description": "delete a ClusterRole", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "deleteRbacAuthorizationV1alpha1ClusterRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "name": "propagationPolicy", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } @@ -59876,7 +63109,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -60026,7 +63259,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -60229,6 +63462,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -60258,6 +63498,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -60366,7 +63612,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -60516,7 +63762,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -60719,6 +63965,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -60748,6 +64001,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -60874,7 +64133,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -60978,7 +64237,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -61042,7 +64301,7 @@ }, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings": { "get": { - "description": "watch individual changes to a list of ClusterRoleBinding", + "description": "watch individual changes to a list of ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -61082,7 +64341,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -61146,7 +64405,7 @@ }, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings/{name}": { "get": { - "description": "watch changes to an object of kind ClusterRoleBinding", + "description": "watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -61186,7 +64445,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -61258,7 +64517,7 @@ }, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles": { "get": { - "description": "watch individual changes to a list of ClusterRole", + "description": "watch individual changes to a list of ClusterRole. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -61298,7 +64557,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -61362,7 +64621,7 @@ }, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles/{name}": { "get": { - "description": "watch changes to an object of kind ClusterRole", + "description": "watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -61402,7 +64661,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -61474,7 +64733,7 @@ }, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings": { "get": { - "description": "watch individual changes to a list of RoleBinding", + "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -61514,7 +64773,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -61586,7 +64845,7 @@ }, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings/{name}": { "get": { - "description": "watch changes to an object of kind RoleBinding", + "description": "watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -61626,7 +64885,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -61706,7 +64965,7 @@ }, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles": { "get": { - "description": "watch individual changes to a list of Role", + "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -61746,7 +65005,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -61818,7 +65077,7 @@ }, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles/{name}": { "get": { - "description": "watch changes to an object of kind Role", + "description": "watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -61858,7 +65117,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -61938,7 +65197,7 @@ }, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/rolebindings": { "get": { - "description": "watch individual changes to a list of RoleBinding", + "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -61978,7 +65237,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -62042,7 +65301,7 @@ }, "/apis/rbac.authorization.k8s.io/v1alpha1/watch/roles": { "get": { - "description": "watch individual changes to a list of Role", + "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -62082,7 +65341,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -62201,7 +65460,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -62351,7 +65610,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -62546,6 +65805,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -62575,6 +65841,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -62675,7 +65947,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -62825,7 +66097,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -63020,6 +66292,508 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update the specified ClusterRole", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "patchRbacAuthorizationV1beta1ClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRole", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings": { + "get": { + "description": "list or watch objects of kind RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "listRbacAuthorizationV1beta1NamespacedRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1beta1" + } + }, + "post": { + "description": "create a RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "createRbacAuthorizationV1beta1NamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete collection of RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "deleteRbacAuthorizationV1beta1CollectionNamespacedRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}": { + "get": { + "description": "read the specified RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "readRbacAuthorizationV1beta1NamespacedRoleBinding", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "replaceRbacAuthorizationV1beta1NamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete a RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "deleteRbacAuthorizationV1beta1NamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -63049,6 +66823,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -63056,12 +66836,12 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "RoleBinding", "version": "v1beta1" } }, "patch": { - "description": "partially update the specified ClusterRole", + "description": "partially update the specified RoleBinding", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -63078,7 +66858,7 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "operationId": "patchRbacAuthorizationV1beta1ClusterRole", + "operationId": "patchRbacAuthorizationV1beta1NamespacedRoleBinding", "parameters": [ { "name": "body", @@ -63093,7 +66873,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" } }, "401": { @@ -63103,7 +66883,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "RoleBinding", "version": "v1beta1" } }, @@ -63111,11 +66891,19 @@ { "uniqueItems": true, "type": "string", - "description": "name of the ClusterRole", + "description": "name of the RoleBinding", "name": "name", "in": "path", "required": true }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -63125,9 +66913,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings": { + "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles": { "get": { - "description": "list or watch objects of kind RoleBinding", + "description": "list or watch objects of kind Role", "consumes": [ "*/*" ], @@ -63144,12 +66932,12 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "operationId": "listRbacAuthorizationV1beta1NamespacedRoleBinding", + "operationId": "listRbacAuthorizationV1beta1NamespacedRole", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -63207,7 +66995,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBindingList" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleList" } }, "401": { @@ -63217,12 +67005,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "Role", "version": "v1beta1" } }, "post": { - "description": "create a RoleBinding", + "description": "create a Role", "consumes": [ "*/*" ], @@ -63237,14 +67025,14 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "operationId": "createRbacAuthorizationV1beta1NamespacedRoleBinding", + "operationId": "createRbacAuthorizationV1beta1NamespacedRole", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" } } ], @@ -63252,19 +67040,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" } }, "401": { @@ -63274,12 +67062,12 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "Role", "version": "v1beta1" } }, "delete": { - "description": "delete collection of RoleBinding", + "description": "delete collection of Role", "consumes": [ "*/*" ], @@ -63294,12 +67082,12 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "operationId": "deleteRbacAuthorizationV1beta1CollectionNamespacedRoleBinding", + "operationId": "deleteRbacAuthorizationV1beta1CollectionNamespacedRole", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -63367,7 +67155,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "Role", "version": "v1beta1" } }, @@ -63389,9 +67177,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}": { + "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}": { "get": { - "description": "read the specified RoleBinding", + "description": "read the specified Role", "consumes": [ "*/*" ], @@ -63406,12 +67194,12 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "operationId": "readRbacAuthorizationV1beta1NamespacedRoleBinding", + "operationId": "readRbacAuthorizationV1beta1NamespacedRole", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" } }, "401": { @@ -63421,12 +67209,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "Role", "version": "v1beta1" } }, "put": { - "description": "replace the specified RoleBinding", + "description": "replace the specified Role", "consumes": [ "*/*" ], @@ -63441,14 +67229,14 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "operationId": "replaceRbacAuthorizationV1beta1NamespacedRoleBinding", + "operationId": "replaceRbacAuthorizationV1beta1NamespacedRole", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" } } ], @@ -63456,13 +67244,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" } }, "401": { @@ -63472,12 +67260,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "Role", "version": "v1beta1" } }, "delete": { - "description": "delete a RoleBinding", + "description": "delete a Role", "consumes": [ "*/*" ], @@ -63492,7 +67280,7 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "operationId": "deleteRbacAuthorizationV1beta1NamespacedRoleBinding", + "operationId": "deleteRbacAuthorizationV1beta1NamespacedRole", "parameters": [ { "name": "body", @@ -63502,6 +67290,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -63531,6 +67326,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -63538,12 +67339,12 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "Role", "version": "v1beta1" } }, "patch": { - "description": "partially update the specified RoleBinding", + "description": "partially update the specified Role", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -63560,7 +67361,7 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "operationId": "patchRbacAuthorizationV1beta1NamespacedRoleBinding", + "operationId": "patchRbacAuthorizationV1beta1NamespacedRole", "parameters": [ { "name": "body", @@ -63575,7 +67376,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" } }, "401": { @@ -63585,7 +67386,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "Role", "version": "v1beta1" } }, @@ -63593,7 +67394,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the RoleBinding", + "description": "name of the Role", "name": "name", "in": "path", "required": true @@ -63615,9 +67416,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles": { + "/apis/rbac.authorization.k8s.io/v1beta1/rolebindings": { "get": { - "description": "list or watch objects of kind Role", + "description": "list or watch objects of kind RoleBinding", "consumes": [ "*/*" ], @@ -63634,70 +67435,12 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "operationId": "listRbacAuthorizationV1beta1NamespacedRole", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], + "operationId": "listRbacAuthorizationV1beta1RoleBindingForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleList" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBindingList" } }, "401": { @@ -63707,76 +67450,192 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "RoleBinding", "version": "v1beta1" } }, - "post": { - "description": "create a Role", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/roles": { + "get": { + "description": "list or watch objects of kind Role", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "createRbacAuthorizationV1beta1NamespacedRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" - } - }, - "202": { - "description": "Accepted", + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "listRbacAuthorizationV1beta1RoleForAllNamespaces", + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "Role", "version": "v1beta1" } }, - "delete": { - "description": "delete collection of Role", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings": { + "get": { + "description": "watch individual changes to a list of ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -63784,80 +67643,22 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "operationId": "deleteRbacAuthorizationV1beta1CollectionNamespacedRole", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], + "operationId": "watchRbacAuthorizationV1beta1ClusterRoleBindingList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "ClusterRoleBinding", "version": "v1beta1" } }, @@ -63865,10 +67666,37 @@ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -63876,19 +67704,42 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}": { + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings/{name}": { "get": { - "description": "read the specified Role", + "description": "watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -63896,34 +67747,111 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "operationId": "readRbacAuthorizationV1beta1NamespacedRole", + "operationId": "watchRbacAuthorizationV1beta1ClusterRoleBinding", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "ClusterRoleBinding", "version": "v1beta1" } }, - "put": { - "description": "replace the specified Role", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles": { + "get": { + "description": "watch individual changes to a list of ClusterRole. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -63931,50 +67859,103 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "operationId": "replaceRbacAuthorizationV1beta1NamespacedRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" - } - } - ], + "operationId": "watchRbacAuthorizationV1beta1ClusterRoleList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "ClusterRole", "version": "v1beta1" } }, - "delete": { - "description": "delete a Role", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles/{name}": { + "get": { + "description": "watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -63982,67 +67963,111 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "operationId": "deleteRbacAuthorizationV1beta1NamespacedRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "name": "propagationPolicy", - "in": "query" - } - ], + "operationId": "watchRbacAuthorizationV1beta1ClusterRole", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "delete", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "ClusterRole", "version": "v1beta1" } }, - "patch": { - "description": "partially update the specified Role", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRole", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings": { + "get": { + "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -64050,32 +68075,22 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "operationId": "patchRbacAuthorizationV1beta1NamespacedRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - } - ], + "operationId": "watchRbacAuthorizationV1beta1NamespacedRoleBindingList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "RoleBinding", "version": "v1beta1" } }, @@ -64083,10 +68098,37 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Role", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -64102,12 +68144,33 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/rolebindings": { + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings/{name}": { "get": { - "description": "list or watch objects of kind RoleBinding", + "description": "watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -64124,19 +68187,19 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "operationId": "listRbacAuthorizationV1beta1RoleBindingForAllNamespaces", + "operationId": "watchRbacAuthorizationV1beta1NamespacedRoleBinding", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBindingList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", @@ -64147,7 +68210,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -64179,6 +68242,22 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the RoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -64209,9 +68288,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/roles": { + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles": { "get": { - "description": "list or watch objects of kind Role", + "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -64228,19 +68307,19 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "operationId": "listRbacAuthorizationV1beta1RoleForAllNamespaces", + "operationId": "watchRbacAuthorizationV1beta1NamespacedRoleList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "Role", @@ -64251,7 +68330,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -64283,6 +68362,14 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -64313,9 +68400,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings": { + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles/{name}": { "get": { - "description": "watch individual changes to a list of ClusterRoleBinding", + "description": "watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -64332,7 +68419,7 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "operationId": "watchRbacAuthorizationV1beta1ClusterRoleBindingList", + "operationId": "watchRbacAuthorizationV1beta1NamespacedRole", "responses": { "200": { "description": "OK", @@ -64344,10 +68431,10 @@ "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "Role", "version": "v1beta1" } }, @@ -64355,7 +68442,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -64387,6 +68474,22 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Role", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -64417,9 +68520,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings/{name}": { + "/apis/rbac.authorization.k8s.io/v1beta1/watch/rolebindings": { "get": { - "description": "watch changes to an object of kind ClusterRoleBinding", + "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -64436,7 +68539,7 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "operationId": "watchRbacAuthorizationV1beta1ClusterRoleBinding", + "operationId": "watchRbacAuthorizationV1beta1RoleBindingListForAllNamespaces", "responses": { "200": { "description": "OK", @@ -64448,10 +68551,10 @@ "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "RoleBinding", "version": "v1beta1" } }, @@ -64459,7 +68562,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -64491,14 +68594,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the ClusterRoleBinding", - "name": "name", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -64529,9 +68624,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles": { + "/apis/rbac.authorization.k8s.io/v1beta1/watch/roles": { "get": { - "description": "watch individual changes to a list of ClusterRole", + "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -64548,7 +68643,7 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "operationId": "watchRbacAuthorizationV1beta1ClusterRoleList", + "operationId": "watchRbacAuthorizationV1beta1RoleListForAllNamespaces", "responses": { "200": { "description": "OK", @@ -64563,7 +68658,7 @@ "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "Role", "version": "v1beta1" } }, @@ -64571,7 +68666,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -64609,453 +68704,587 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/scheduling.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling" + ], + "operationId": "getSchedulingAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/scheduling.k8s.io/v1alpha1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "getSchedulingV1alpha1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/scheduling.k8s.io/v1alpha1/priorityclasses": { + "get": { + "description": "list or watch objects of kind PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "listSchedulingV1alpha1PriorityClass", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClassList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "createSchedulingV1alpha1PriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete collection of PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "deleteSchedulingV1alpha1CollectionPriorityClass", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles/{name}": { + "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}": { "get": { - "description": "watch changes to an object of kind ClusterRole", + "description": "read the specified PriorityClass", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1alpha1" + ], + "operationId": "readSchedulingV1alpha1PriorityClass", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } ], - "operationId": "watchRbacAuthorizationV1beta1ClusterRole", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the ClusterRole", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings": { - "get": { - "description": "watch individual changes to a list of RoleBinding", + "put": { + "description": "replace the specified PriorityClass", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1alpha1" + ], + "operationId": "replaceSchedulingV1alpha1PriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + } + } ], - "operationId": "watchRbacAuthorizationV1beta1NamespacedRoleBindingList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings/{name}": { - "get": { - "description": "watch changes to an object of kind RoleBinding", + "delete": { + "description": "delete a PriorityClass", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1alpha1" + ], + "operationId": "deleteSchedulingV1alpha1PriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } ], - "operationId": "watchRbacAuthorizationV1beta1NamespacedRoleBinding", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the RoleBinding", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles": { - "get": { - "description": "watch individual changes to a list of Role", + "patch": { + "description": "partially update the specified PriorityClass", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1alpha1" + ], + "operationId": "patchSchedulingV1alpha1PriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } ], - "operationId": "watchRbacAuthorizationV1beta1NamespacedRoleList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", + "description": "name of the PriorityClass", + "name": "name", "in": "path", "required": true }, @@ -65065,33 +69294,12 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles/{name}": { + "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses": { "get": { - "description": "watch changes to an object of kind Role", + "description": "watch individual changes to a list of PriorityClass. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -65106,9 +69314,9 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1alpha1" ], - "operationId": "watchRbacAuthorizationV1beta1NamespacedRole", + "operationId": "watchSchedulingV1alpha1PriorityClassList", "responses": { "200": { "description": "OK", @@ -65120,18 +69328,18 @@ "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -65163,22 +69371,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the Role", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -65209,9 +69401,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/rolebindings": { + "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses/{name}": { "get": { - "description": "watch individual changes to a list of RoleBinding", + "description": "watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -65226,9 +69418,9 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1alpha1" ], - "operationId": "watchRbacAuthorizationV1beta1RoleBindingListForAllNamespaces", + "operationId": "watchSchedulingV1alpha1PriorityClass", "responses": { "200": { "description": "OK", @@ -65240,18 +69432,18 @@ "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -65286,106 +69478,10 @@ { "uniqueItems": true, "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/roles": { - "get": { - "description": "watch individual changes to a list of Role", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "watchRbacAuthorizationV1beta1RoleListForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "description": "name of the PriorityClass", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -65417,40 +69513,7 @@ } ] }, - "/apis/scheduling.k8s.io/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "scheduling" - ], - "operationId": "getSchedulingAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/scheduling.k8s.io/v1alpha1/": { + "/apis/scheduling.k8s.io/v1beta1/": { "get": { "description": "get available resources", "consumes": [ @@ -65467,9 +69530,9 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], - "operationId": "getSchedulingV1alpha1APIResources", + "operationId": "getSchedulingV1beta1APIResources", "responses": { "200": { "description": "OK", @@ -65483,7 +69546,7 @@ } } }, - "/apis/scheduling.k8s.io/v1alpha1/priorityclasses": { + "/apis/scheduling.k8s.io/v1beta1/priorityclasses": { "get": { "description": "list or watch objects of kind PriorityClass", "consumes": [ @@ -65500,14 +69563,14 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], - "operationId": "listSchedulingV1alpha1PriorityClass", + "operationId": "listSchedulingV1beta1PriorityClass", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -65565,7 +69628,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClassList" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClassList" } }, "401": { @@ -65576,7 +69639,7 @@ "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "post": { @@ -65593,16 +69656,16 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], - "operationId": "createSchedulingV1alpha1PriorityClass", + "operationId": "createSchedulingV1beta1PriorityClass", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } } ], @@ -65610,19 +69673,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "401": { @@ -65633,7 +69696,7 @@ "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "delete": { @@ -65650,14 +69713,14 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], - "operationId": "deleteSchedulingV1alpha1CollectionPriorityClass", + "operationId": "deleteSchedulingV1beta1CollectionPriorityClass", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -65726,7 +69789,7 @@ "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -65739,7 +69802,7 @@ } ] }, - "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}": { + "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}": { "get": { "description": "read the specified PriorityClass", "consumes": [ @@ -65754,9 +69817,9 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], - "operationId": "readSchedulingV1alpha1PriorityClass", + "operationId": "readSchedulingV1beta1PriorityClass", "parameters": [ { "uniqueItems": true, @@ -65777,7 +69840,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "401": { @@ -65788,7 +69851,7 @@ "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "put": { @@ -65805,16 +69868,16 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], - "operationId": "replaceSchedulingV1alpha1PriorityClass", + "operationId": "replaceSchedulingV1beta1PriorityClass", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } } ], @@ -65822,13 +69885,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "401": { @@ -65839,7 +69902,7 @@ "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "delete": { @@ -65856,9 +69919,9 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], - "operationId": "deleteSchedulingV1alpha1PriorityClass", + "operationId": "deleteSchedulingV1beta1PriorityClass", "parameters": [ { "name": "body", @@ -65868,6 +69931,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -65897,6 +69967,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -65905,7 +69981,7 @@ "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "patch": { @@ -65924,9 +70000,9 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], - "operationId": "patchSchedulingV1alpha1PriorityClass", + "operationId": "patchSchedulingV1beta1PriorityClass", "parameters": [ { "name": "body", @@ -65941,7 +70017,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "401": { @@ -65952,7 +70028,7 @@ "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -65973,9 +70049,9 @@ } ] }, - "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses": { + "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses": { "get": { - "description": "watch individual changes to a list of PriorityClass", + "description": "watch individual changes to a list of PriorityClass. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -65990,9 +70066,9 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], - "operationId": "watchSchedulingV1alpha1PriorityClassList", + "operationId": "watchSchedulingV1beta1PriorityClassList", "responses": { "200": { "description": "OK", @@ -66008,14 +70084,14 @@ "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -66077,9 +70153,9 @@ } ] }, - "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses/{name}": { + "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses/{name}": { "get": { - "description": "watch changes to an object of kind PriorityClass", + "description": "watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -66094,9 +70170,9 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], - "operationId": "watchSchedulingV1alpha1PriorityClass", + "operationId": "watchSchedulingV1beta1PriorityClass", "responses": { "200": { "description": "OK", @@ -66112,14 +70188,14 @@ "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -66279,7 +70355,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -66429,7 +70505,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -66648,6 +70724,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -66677,6 +70760,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -66803,7 +70892,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -66867,7 +70956,7 @@ }, "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets": { "get": { - "description": "watch individual changes to a list of PodPreset", + "description": "watch individual changes to a list of PodPreset. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -66907,7 +70996,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -66979,7 +71068,7 @@ }, "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets/{name}": { "get": { - "description": "watch changes to an object of kind PodPreset", + "description": "watch changes to an object of kind PodPreset. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -67019,7 +71108,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -67099,7 +71188,7 @@ }, "/apis/settings.k8s.io/v1alpha1/watch/podpresets": { "get": { - "description": "watch individual changes to a list of PodPreset", + "description": "watch individual changes to a list of PodPreset. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -67139,7 +71228,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -67291,7 +71380,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -67441,7 +71530,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -67652,6 +71741,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -67681,6 +71777,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -67759,7 +71861,7 @@ }, "/apis/storage.k8s.io/v1/watch/storageclasses": { "get": { - "description": "watch individual changes to a list of StorageClass", + "description": "watch individual changes to a list of StorageClass. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -67799,7 +71901,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -67863,7 +71965,7 @@ }, "/apis/storage.k8s.io/v1/watch/storageclasses/{name}": { "get": { - "description": "watch changes to an object of kind StorageClass", + "description": "watch changes to an object of kind StorageClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -67903,7 +72005,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -68030,7 +72132,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -68180,7 +72282,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -68391,6 +72493,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -68420,6 +72529,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -68498,7 +72613,7 @@ }, "/apis/storage.k8s.io/v1alpha1/watch/volumeattachments": { "get": { - "description": "watch individual changes to a list of VolumeAttachment", + "description": "watch individual changes to a list of VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -68538,7 +72653,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -68602,7 +72717,7 @@ }, "/apis/storage.k8s.io/v1alpha1/watch/volumeattachments/{name}": { "get": { - "description": "watch changes to an object of kind VolumeAttachment", + "description": "watch changes to an object of kind VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -68642,7 +72757,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -68769,7 +72884,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -68919,7 +73034,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -69130,6 +73245,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -69159,6 +73281,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -69259,7 +73387,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -69409,7 +73537,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -69620,6 +73748,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -69649,6 +73784,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -69727,7 +73868,7 @@ }, "/apis/storage.k8s.io/v1beta1/watch/storageclasses": { "get": { - "description": "watch individual changes to a list of StorageClass", + "description": "watch individual changes to a list of StorageClass. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -69767,7 +73908,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -69831,7 +73972,7 @@ }, "/apis/storage.k8s.io/v1beta1/watch/storageclasses/{name}": { "get": { - "description": "watch changes to an object of kind StorageClass", + "description": "watch changes to an object of kind StorageClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -69871,7 +74012,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -69943,7 +74084,7 @@ }, "/apis/storage.k8s.io/v1beta1/watch/volumeattachments": { "get": { - "description": "watch individual changes to a list of VolumeAttachment", + "description": "watch individual changes to a list of VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -69983,7 +74124,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -70047,7 +74188,7 @@ }, "/apis/storage.k8s.io/v1beta1/watch/volumeattachments/{name}": { "get": { - "description": "watch changes to an object of kind VolumeAttachment", + "description": "watch changes to an object of kind VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -70087,7 +74228,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -70559,6 +74700,10 @@ "items": { "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.RuleWithOperations" } + }, + "sideEffects": { + "description": "SideEffects states whether this webhookk has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.", + "type": "string" } } }, @@ -70574,7 +74719,7 @@ "format": "byte" }, "service": { - "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`.\n\nIf there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error.", + "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`.\n\nPort 443 will be used if it is open, otherwise it is an error.", "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ServiceReference" }, "url": { @@ -71239,11 +75384,11 @@ "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { - "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.", + "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" }, "maxUnavailable": { - "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", + "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" } } @@ -71797,11 +75942,11 @@ "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { - "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", + "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" }, "maxUnavailable": { - "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", + "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" } } @@ -72744,11 +76889,11 @@ "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { - "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", + "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" }, "maxUnavailable": { - "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", + "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" } } @@ -74333,7 +78478,6 @@ "required": [ "currentReplicas", "desiredReplicas", - "currentMetrics", "conditions" ], "properties": { @@ -74436,10 +78580,18 @@ "targetValue" ], "properties": { + "averageValue": { + "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, "metricName": { "description": "metricName is the name of the metric in question.", "type": "string" }, + "selector": { + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, "target": { "description": "target is the described Kubernetes object.", "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference" @@ -74458,6 +78610,10 @@ "currentValue" ], "properties": { + "averageValue": { + "description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, "currentValue": { "description": "currentValue is the current value of the metric (as a quantity).", "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" @@ -74466,6 +78622,10 @@ "description": "metricName is the name of the metric in question.", "type": "string" }, + "selector": { + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, "target": { "description": "target is the described Kubernetes object.", "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference" @@ -74483,6 +78643,10 @@ "description": "metricName is the name of the metric in question", "type": "string" }, + "selector": { + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, "targetAverageValue": { "description": "targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)", "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" @@ -74503,6 +78667,10 @@ "metricName": { "description": "metricName is the name of the metric in question", "type": "string" + }, + "selector": { + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" } } }, @@ -74549,6 +78717,454 @@ } } }, + "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference": { + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", + "required": [ + "kind", + "name" + ], + "properties": { + "apiVersion": { + "description": "API version of the referent", + "type": "string" + }, + "kind": { + "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds\"", + "type": "string" + }, + "name": { + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "type": "string" + } + } + }, + "io.k8s.api.autoscaling.v2beta2.ExternalMetricSource": { + "description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).", + "required": [ + "metric", + "target" + ], + "properties": { + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier" + }, + "target": { + "description": "target specifies the target value for the given metric", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget" + } + } + }, + "io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus": { + "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", + "required": [ + "metric", + "current" + ], + "properties": { + "current": { + "description": "current contains the current value for the given metric", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus" + }, + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier" + } + } + }, + "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler": { + "description": "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec" + }, + "status": { + "description": "status is the current information about the autoscaler.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" + } + ] + }, + "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition": { + "description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "lastTransitionTime is the last time the condition transitioned from one status to another", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "message is a human-readable explanation containing details about the transition", + "type": "string" + }, + "reason": { + "description": "reason is the reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "status is the status of the condition (True, False, Unknown)", + "type": "string" + }, + "type": { + "description": "type describes the current condition", + "type": "string" + } + } + }, + "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList": { + "description": "HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of horizontal pod autoscaler objects.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "metadata is the standard list metadata.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "autoscaling", + "kind": "HorizontalPodAutoscalerList", + "version": "v2beta2" + } + ] + }, + "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec": { + "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", + "required": [ + "scaleTargetRef", + "maxReplicas" + ], + "properties": { + "maxReplicas": { + "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", + "type": "integer", + "format": "int32" + }, + "metrics": { + "description": "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricSpec" + } + }, + "minReplicas": { + "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", + "type": "integer", + "format": "int32" + }, + "scaleTargetRef": { + "description": "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference" + } + } + }, + "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus": { + "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", + "required": [ + "currentReplicas", + "desiredReplicas", + "conditions" + ], + "properties": { + "conditions": { + "description": "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition" + } + }, + "currentMetrics": { + "description": "currentMetrics is the last read state of the metrics used by this autoscaler.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricStatus" + } + }, + "currentReplicas": { + "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", + "type": "integer", + "format": "int32" + }, + "desiredReplicas": { + "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", + "type": "integer", + "format": "int32" + }, + "lastScaleTime": { + "description": "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "observedGeneration": { + "description": "observedGeneration is the most recent generation observed by this autoscaler.", + "type": "integer", + "format": "int64" + } + } + }, + "io.k8s.api.autoscaling.v2beta2.MetricIdentifier": { + "description": "MetricIdentifier defines the name and optionally selector for a metric", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "name is the name of the given metric", + "type": "string" + }, + "selector": { + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + } + } + }, + "io.k8s.api.autoscaling.v2beta2.MetricSpec": { + "description": "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).", + "required": [ + "type" + ], + "properties": { + "external": { + "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ExternalMetricSource" + }, + "object": { + "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ObjectMetricSource" + }, + "pods": { + "description": "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.PodsMetricSource" + }, + "resource": { + "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ResourceMetricSource" + }, + "type": { + "description": "type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object.", + "type": "string" + } + } + }, + "io.k8s.api.autoscaling.v2beta2.MetricStatus": { + "description": "MetricStatus describes the last-read state of a single metric.", + "required": [ + "type" + ], + "properties": { + "external": { + "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus" + }, + "object": { + "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus" + }, + "pods": { + "description": "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.PodsMetricStatus" + }, + "resource": { + "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus" + }, + "type": { + "description": "type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object.", + "type": "string" + } + } + }, + "io.k8s.api.autoscaling.v2beta2.MetricTarget": { + "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric", + "required": [ + "type" + ], + "properties": { + "averageUtilization": { + "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", + "type": "integer", + "format": "int32" + }, + "averageValue": { + "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "type": { + "description": "type represents whether the metric type is Utilization, Value, or AverageValue", + "type": "string" + }, + "value": { + "description": "value is the target value of the metric (as a quantity).", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + } + }, + "io.k8s.api.autoscaling.v2beta2.MetricValueStatus": { + "description": "MetricValueStatus holds the current value for a metric", + "properties": { + "averageUtilization": { + "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", + "type": "integer", + "format": "int32" + }, + "averageValue": { + "description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "value": { + "description": "value is the current value of the metric (as a quantity).", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + } + }, + "io.k8s.api.autoscaling.v2beta2.ObjectMetricSource": { + "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", + "required": [ + "describedObject", + "target", + "metric" + ], + "properties": { + "describedObject": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference" + }, + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier" + }, + "target": { + "description": "target specifies the target value for the given metric", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget" + } + } + }, + "io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus": { + "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", + "required": [ + "metric", + "current", + "describedObject" + ], + "properties": { + "current": { + "description": "current contains the current value for the given metric", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus" + }, + "describedObject": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference" + }, + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier" + } + } + }, + "io.k8s.api.autoscaling.v2beta2.PodsMetricSource": { + "description": "PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.", + "required": [ + "metric", + "target" + ], + "properties": { + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier" + }, + "target": { + "description": "target specifies the target value for the given metric", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget" + } + } + }, + "io.k8s.api.autoscaling.v2beta2.PodsMetricStatus": { + "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).", + "required": [ + "metric", + "current" + ], + "properties": { + "current": { + "description": "current contains the current value for the given metric", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus" + }, + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier" + } + } + }, + "io.k8s.api.autoscaling.v2beta2.ResourceMetricSource": { + "description": "ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set.", + "required": [ + "name", + "target" + ], + "properties": { + "name": { + "description": "name is the name of the resource in question.", + "type": "string" + }, + "target": { + "description": "target specifies the target value for the given metric", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget" + } + } + }, + "io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus": { + "description": "ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", + "required": [ + "name", + "current" + ], + "properties": { + "current": { + "description": "current contains the current value for the given metric", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus" + }, + "name": { + "description": "Name is the name of the resource in question.", + "type": "string" + } + } + }, "io.k8s.api.batch.v1.Job": { "description": "Job represents the configuration of a single job.", "properties": { @@ -74685,6 +79301,11 @@ "template": { "description": "Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec" + }, + "ttlSecondsAfterFinished": { + "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", + "type": "integer", + "format": "int32" } } }, @@ -75141,6 +79762,95 @@ } } }, + "io.k8s.api.coordination.v1beta1.Lease": { + "description": "Lease defines a lease concept.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.LeaseSpec" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1beta1" + } + ] + }, + "io.k8s.api.coordination.v1beta1.LeaseList": { + "description": "LeaseList is a list of Lease objects.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is a list of schema objects.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "coordination.k8s.io", + "kind": "LeaseList", + "version": "v1beta1" + } + ] + }, + "io.k8s.api.coordination.v1beta1.LeaseSpec": { + "description": "LeaseSpec is a specification of a Lease.", + "properties": { + "acquireTime": { + "description": "acquireTime is a time when the current lease was acquired.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" + }, + "holderIdentity": { + "description": "holderIdentity contains the identity of the holder of a current lease.", + "type": "string" + }, + "leaseDurationSeconds": { + "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", + "type": "integer", + "format": "int32" + }, + "leaseTransitions": { + "description": "leaseTransitions is the number of transitions of a lease between holders.", + "type": "integer", + "format": "int32" + }, + "renewTime": { + "description": "renewTime is a time when the current holder of a lease has last updated the lease.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" + } + } + }, "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource": { "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.", "required": [ @@ -75326,7 +80036,7 @@ "type": "string" }, "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".", "type": "string" }, "nodePublishSecretRef": { @@ -75443,6 +80153,30 @@ } } }, + "io.k8s.api.core.v1.CinderPersistentVolumeSource": { + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "string" + }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "boolean" + }, + "secretRef": { + "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" + }, + "volumeID": { + "description": "volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "string" + } + } + }, "io.k8s.api.core.v1.CinderVolumeSource": { "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", "required": [ @@ -75457,6 +80191,10 @@ "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", "type": "boolean" }, + "secretRef": { + "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, "volumeID": { "description": "volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", "type": "string" @@ -75671,6 +80409,36 @@ } ] }, + "io.k8s.api.core.v1.ConfigMapNodeConfigSource": { + "description": "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node.", + "required": [ + "namespace", + "name", + "kubeletConfigKey" + ], + "properties": { + "kubeletConfigKey": { + "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.", + "type": "string" + }, + "name": { + "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.", + "type": "string" + }, + "namespace": { + "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.", + "type": "string" + }, + "resourceVersion": { + "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.", + "type": "string" + }, + "uid": { + "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.", + "type": "string" + } + } + }, "io.k8s.api.core.v1.ConfigMapProjection": { "description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.", "properties": { @@ -75786,7 +80554,7 @@ "$ref": "#/definitions/io.k8s.api.core.v1.Probe" }, "resources": { - "description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" }, "securityContext": { @@ -75882,7 +80650,7 @@ "type": "string" }, "protocol": { - "description": "Protocol for port. Must be UDP or TCP. Defaults to \"TCP\".", + "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".", "type": "string" } } @@ -76129,7 +80897,7 @@ "format": "int32" }, "protocol": { - "description": "The IP protocol for this port. Must be UDP or TCP. Default is TCP.", + "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.", "type": "string" } } @@ -76578,7 +81346,7 @@ } }, "io.k8s.api.core.v1.GitRepoVolumeSource": { - "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.", + "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", "required": [ "repository" ], @@ -77022,13 +81790,17 @@ } }, "io.k8s.api.core.v1.LocalVolumeSource": { - "description": "Local represents directly-attached storage with node affinity", + "description": "Local represents directly-attached storage with node affinity (Beta feature)", "required": [ "path" ], "properties": { + "fsType": { + "description": "Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem if unspecified.", + "type": "string" + }, "path": { - "description": "The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device", + "description": "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).", "type": "string" } } @@ -77242,25 +82014,32 @@ "io.k8s.api.core.v1.NodeConfigSource": { "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" + "configMap": { + "description": "ConfigMap is a reference to a Node's ConfigMap", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapNodeConfigSource" + } + } + }, + "io.k8s.api.core.v1.NodeConfigStatus": { + "description": "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.", + "properties": { + "active": { + "description": "Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource" }, - "configMapRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + "assigned": { + "description": "Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "error": { + "description": "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.", "type": "string" + }, + "lastKnownGood": { + "description": "LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource" } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "NodeConfigSource", - "version": "v1" - } - ] + } }, "io.k8s.api.core.v1.NodeDaemonEndpoints": { "description": "NodeDaemonEndpoints lists ports opened by daemons running on the Node.", @@ -77345,13 +82124,17 @@ } }, "io.k8s.api.core.v1.NodeSelectorTerm": { - "description": "A null or empty node selector term matches no objects.", - "required": [ - "matchExpressions" - ], + "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", "properties": { "matchExpressions": { - "description": "Required. A list of node selector requirements. The requirements are ANDed.", + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement" + } + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement" @@ -77367,7 +82150,7 @@ "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource" }, "externalID": { - "description": "External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated.", + "description": "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966", "type": "string" }, "podCIDR": { @@ -77426,6 +82209,10 @@ "x-kubernetes-patch-merge-key": "type", "x-kubernetes-patch-strategy": "merge" }, + "config": { + "description": "Status of the config assigned to the node via the dynamic Kubelet config feature.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigStatus" + }, "daemonEndpoints": { "description": "Endpoints of daemons running on the Node.", "$ref": "#/definitions/io.k8s.api.core.v1.NodeDaemonEndpoints" @@ -77706,6 +82493,10 @@ "type": "string" } }, + "dataSource": { + "description": "This field requires the VolumeSnapshotDataSource alpha feature gate to be enabled and currently VolumeSnapshot is the only supported data source. If the provisioner can support VolumeSnapshot data source, it will create a new volume and data will be restored to the volume at the same time. If the provisioner does not support VolumeSnapshot data source, volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change.", + "$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference" + }, "resources": { "description": "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" @@ -77845,7 +82636,7 @@ }, "cinder": { "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "$ref": "#/definitions/io.k8s.api.core.v1.CinderVolumeSource" + "$ref": "#/definitions/io.k8s.api.core.v1.CinderPersistentVolumeSource" }, "claimRef": { "description": "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding", @@ -78098,7 +82889,7 @@ "type": "string" }, "type": { - "description": "Type is the type of the condition. Currently only Ready. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", + "description": "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", "type": "string" } } @@ -78175,6 +82966,18 @@ } ] }, + "io.k8s.api.core.v1.PodReadinessGate": { + "description": "PodReadinessGate contains the reference to a pod condition", + "required": [ + "conditionType" + ], + "properties": { + "conditionType": { + "description": "ConditionType refers to a condition in the pod's condition list with matching type.", + "type": "string" + } + } + }, "io.k8s.api.core.v1.PodSecurityContext": { "description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.", "properties": { @@ -78208,6 +83011,13 @@ "type": "integer", "format": "int64" } + }, + "sysctls": { + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Sysctl" + } } } }, @@ -78310,10 +83120,21 @@ "description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.", "type": "string" }, + "readinessGates": { + "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodReadinessGate" + } + }, "restartPolicy": { "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy", "type": "string" }, + "runtimeClassName": { + "description": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://github.com/kubernetes/community/blob/master/keps/sig-node/0014-runtime-class.md This is an alpha feature and may change in the future.", + "type": "string" + }, "schedulerName": { "description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.", "type": "string" @@ -78331,7 +83152,7 @@ "type": "string" }, "shareProcessNamespace": { - "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is alpha-level and is honored only by servers that enable the PodShareProcessNamespace feature.", + "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", "type": "boolean" }, "subdomain": { @@ -78362,7 +83183,7 @@ } }, "io.k8s.api.core.v1.PodStatus": { - "description": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system.", + "description": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.", "properties": { "conditions": { "description": "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", @@ -78400,7 +83221,7 @@ "type": "string" }, "phase": { - "description": "Current condition of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase", + "description": "The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values:\n\nPending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase", "type": "string" }, "podIP": { @@ -78966,12 +83787,16 @@ "description": "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.", "properties": { "hard": { - "description": "Hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", + "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", "type": "object", "additionalProperties": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, + "scopeSelector": { + "description": "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.", + "$ref": "#/definitions/io.k8s.api.core.v1.ScopeSelector" + }, "scopes": { "description": "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.", "type": "array", @@ -79049,7 +83874,7 @@ ], "properties": { "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"", "type": "string" }, "gateway": { @@ -79073,7 +83898,7 @@ "type": "boolean" }, "storageMode": { - "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.", + "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", "type": "string" }, "storagePool": { @@ -79099,7 +83924,7 @@ ], "properties": { "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\".", "type": "string" }, "gateway": { @@ -79123,7 +83948,7 @@ "type": "boolean" }, "storageMode": { - "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.", + "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", "type": "string" }, "storagePool": { @@ -79140,6 +83965,42 @@ } } }, + "io.k8s.api.core.v1.ScopeSelector": { + "description": "A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.", + "properties": { + "matchExpressions": { + "description": "A list of scope selector requirements by scope of the resources.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ScopedResourceSelectorRequirement" + } + } + } + }, + "io.k8s.api.core.v1.ScopedResourceSelectorRequirement": { + "description": "A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.", + "required": [ + "scopeName", + "operator" + ], + "properties": { + "operator": { + "description": "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.", + "type": "string" + }, + "scopeName": { + "description": "The name of the scope that the selector applies to.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "io.k8s.api.core.v1.Secret": { "description": "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.", "properties": { @@ -79323,6 +84184,10 @@ "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", "type": "boolean" }, + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", + "type": "string" + }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", "type": "boolean" @@ -79457,6 +84322,27 @@ } ] }, + "io.k8s.api.core.v1.ServiceAccountTokenProjection": { + "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).", + "required": [ + "path" + ], + "properties": { + "audience": { + "description": "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.", + "type": "string" + }, + "expirationSeconds": { + "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", + "type": "integer", + "format": "int64" + }, + "path": { + "description": "Path is the path relative to the mount point of the file to project the token into.", + "type": "string" + } + } + }, "io.k8s.api.core.v1.ServiceList": { "description": "ServiceList holds a list of services.", "required": [ @@ -79512,7 +84398,7 @@ "format": "int32" }, "protocol": { - "description": "The IP protocol for this port. Supports \"TCP\" and \"UDP\". Default is TCP.", + "description": "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP.", "type": "string" }, "targetPort": { @@ -79569,7 +84455,7 @@ "x-kubernetes-patch-strategy": "merge" }, "publishNotReadyAddresses": { - "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. This field will replace the service.alpha.kubernetes.io/tolerate-unready-endpoints when that annotation is deprecated and all clients have been converted to use this field.", + "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", "type": "boolean" }, "selector": { @@ -79661,6 +84547,23 @@ } } }, + "io.k8s.api.core.v1.Sysctl": { + "description": "Sysctl defines a kernel parameter to be set", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name of a property to set", + "type": "string" + }, + "value": { + "description": "Value of a property to set", + "type": "string" + } + } + }, "io.k8s.api.core.v1.TCPSocketAction": { "description": "TCPSocketAction describes an action based on opening a socket", "required": [ @@ -79728,6 +84631,59 @@ } } }, + "io.k8s.api.core.v1.TopologySelectorLabelRequirement": { + "description": "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.", + "required": [ + "key", + "values" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "values": { + "description": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "io.k8s.api.core.v1.TopologySelectorTerm": { + "description": "A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.", + "properties": { + "matchLabelExpressions": { + "description": "A list of topology selector requirements by labels.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorLabelRequirement" + } + } + } + }, + "io.k8s.api.core.v1.TypedLocalObjectReference": { + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + } + }, "io.k8s.api.core.v1.Volume": { "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", "required": [ @@ -79783,7 +84739,7 @@ "$ref": "#/definitions/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource" }, "gitRepo": { - "description": "GitRepo represents a git repository at a particular revision.", + "description": "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", "$ref": "#/definitions/io.k8s.api.core.v1.GitRepoVolumeSource" }, "glusterfs": { @@ -79877,7 +84833,7 @@ "type": "string" }, "mountPropagation": { - "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationHostToContainer is used. This field is beta in 1.10.", + "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.", "type": "string" }, "name": { @@ -79917,6 +84873,10 @@ "secret": { "description": "information about the secret data to project", "$ref": "#/definitions/io.k8s.api.core.v1.SecretProjection" + }, + "serviceAccountToken": { + "description": "information about the serviceAccountToken data to project", + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccountTokenProjection" } } }, @@ -80103,23 +85063,27 @@ } }, "io.k8s.api.extensions.v1beta1.AllowedFlexVolume": { - "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.", + "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used. Deprecated: use AllowedFlexVolume from policy API Group instead.", "required": [ "driver" ], "properties": { "driver": { - "description": "Driver is the name of the Flexvolume driver.", + "description": "driver is the name of the Flexvolume driver.", "type": "string" } } }, "io.k8s.api.extensions.v1beta1.AllowedHostPath": { - "description": "defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.", + "description": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead.", "properties": { "pathPrefix": { - "description": "is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", + "description": "pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", "type": "string" + }, + "readOnly": { + "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", + "type": "boolean" } } }, @@ -80484,7 +85448,7 @@ "type": "boolean" }, "progressDeadlineSeconds": { - "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is not set by default.", + "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", "type": "integer", "format": "int32" }, @@ -80580,17 +85544,17 @@ } }, "io.k8s.api.extensions.v1beta1.FSGroupStrategyOptions": { - "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", + "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use FSGroupStrategyOptions from policy API Group instead.", "properties": { "ranges": { - "description": "Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end.", + "description": "ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", + "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", "type": "string" } } @@ -80627,7 +85591,7 @@ } }, "io.k8s.api.extensions.v1beta1.HostPortRange": { - "description": "Host Port Range defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", + "description": "HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. Deprecated: use HostPortRange from policy API Group instead.", "required": [ "min", "max" @@ -80646,19 +85610,19 @@ } }, "io.k8s.api.extensions.v1beta1.IDRange": { - "description": "ID Range provides a min/max of an allowed range of IDs.", + "description": "IDRange provides a min/max of an allowed range of IDs. Deprecated: use IDRange from policy API Group instead.", "required": [ "min", "max" ], "properties": { "max": { - "description": "Max is the end of the range, inclusive.", + "description": "max is the end of the range, inclusive.", "type": "integer", "format": "int64" }, "min": { - "description": "Min is the start of the range, inclusive.", + "description": "min is the start of the range, inclusive.", "type": "integer", "format": "int64" } @@ -80930,15 +85894,15 @@ "description": "DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer.", "properties": { "ipBlock": { - "description": "IPBlock defines policy on a particular IPBlock", + "description": "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.", "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IPBlock" }, "namespaceSelector": { - "description": "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces.", + "description": "Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" }, "podSelector": { - "description": "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace.", + "description": "This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" } } @@ -80951,7 +85915,7 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" }, "protocol": { - "description": "Optional. The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP.", + "description": "Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", "type": "string" } } @@ -80990,7 +85954,7 @@ } }, "io.k8s.api.extensions.v1beta1.PodSecurityPolicy": { - "description": "Pod Security Policy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", + "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated: use PodSecurityPolicy from policy API Group instead.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", @@ -81018,7 +85982,7 @@ ] }, "io.k8s.api.extensions.v1beta1.PodSecurityPolicyList": { - "description": "Pod Security Policy List is a list of PodSecurityPolicy objects.", + "description": "PodSecurityPolicyList is a list of PodSecurityPolicy objects. Deprecated: use PodSecurityPolicyList from policy API Group instead.", "required": [ "items" ], @@ -81028,7 +85992,7 @@ "type": "string" }, "items": { - "description": "Items is a list of schema objects.", + "description": "items is a list of schema objects.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" @@ -81052,7 +86016,7 @@ ] }, "io.k8s.api.extensions.v1beta1.PodSecurityPolicySpec": { - "description": "Pod Security Policy Spec defines the policy enforced.", + "description": "PodSecurityPolicySpec defines the policy enforced. Deprecated: use PodSecurityPolicySpec from policy API Group instead.", "required": [ "seLinux", "runAsUser", @@ -81061,43 +86025,64 @@ ], "properties": { "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", + "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", "type": "boolean" }, "allowedCapabilities": { - "description": "AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities.", + "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", "type": "array", "items": { "type": "string" } }, "allowedFlexVolumes": { - "description": "AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"Volumes\" field.", + "description": "allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.AllowedFlexVolume" } }, "allowedHostPaths": { - "description": "is a white list of allowed host paths. Empty indicates that all host paths may be used.", + "description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.AllowedHostPath" } }, + "allowedProcMountTypes": { + "description": "AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.", + "type": "array", + "items": { + "type": "string" + } + }, + "allowedUnsafeSysctls": { + "description": "allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc.", + "type": "array", + "items": { + "type": "string" + } + }, "defaultAddCapabilities": { - "description": "DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both DefaultAddCapabilities and RequiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the AllowedCapabilities list.", + "description": "defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.", "type": "array", "items": { "type": "string" } }, "defaultAllowPrivilegeEscalation": { - "description": "DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", + "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", "type": "boolean" }, + "forbiddenSysctls": { + "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", + "type": "array", + "items": { + "type": "string" + } + }, "fsGroup": { - "description": "FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.", + "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.", "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.FSGroupStrategyOptions" }, "hostIPC": { @@ -81124,11 +86109,11 @@ "type": "boolean" }, "readOnlyRootFilesystem": { - "description": "ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", + "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", "type": "boolean" }, "requiredDropCapabilities": { - "description": "RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", + "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", "type": "array", "items": { "type": "string" @@ -81143,11 +86128,11 @@ "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.SELinuxStrategyOptions" }, "supplementalGroups": { - "description": "SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", + "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.SupplementalGroupsStrategyOptions" }, "volumes": { - "description": "volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used.", + "description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.", "type": "array", "items": { "type": "string" @@ -81348,32 +86333,32 @@ } }, "io.k8s.api.extensions.v1beta1.RunAsUserStrategyOptions": { - "description": "Run A sUser Strategy Options defines the strategy type and any options used to create the strategy.", + "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead.", "required": [ "rule" ], "properties": { "ranges": { - "description": "Ranges are the allowed ranges of uids that may be used.", + "description": "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate the allowable RunAsUser values that may be set.", + "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set.", "type": "string" } } }, "io.k8s.api.extensions.v1beta1.SELinuxStrategyOptions": { - "description": "SELinux Strategy Options defines the strategy type and any options used to create the strategy.", + "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use SELinuxStrategyOptions from policy API Group instead.", "required": [ "rule" ], "properties": { "rule": { - "description": "type is the strategy that will dictate the allowable labels that may be set.", + "description": "rule is the strategy that will dictate the allowable labels that may be set.", "type": "string" }, "seLinuxOptions": { @@ -81449,17 +86434,17 @@ } }, "io.k8s.api.extensions.v1beta1.SupplementalGroupsStrategyOptions": { - "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.", + "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use SupplementalGroupsStrategyOptions from policy API Group instead.", "properties": { "ranges": { - "description": "Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end.", + "description": "ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", + "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", "type": "string" } } @@ -81584,18 +86569,18 @@ ] }, "io.k8s.api.networking.v1.NetworkPolicyPeer": { - "description": "NetworkPolicyPeer describes a peer to allow traffic from. Exactly one of its fields must be specified.", + "description": "NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of fields are allowed", "properties": { "ipBlock": { - "description": "IPBlock defines policy on a particular IPBlock", + "description": "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.", "$ref": "#/definitions/io.k8s.api.networking.v1.IPBlock" }, "namespaceSelector": { - "description": "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces.", + "description": "Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" }, "podSelector": { - "description": "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace.", + "description": "This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" } } @@ -81608,7 +86593,7 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" }, "protocol": { - "description": "The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP.", + "description": "The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", "type": "string" } } @@ -81653,17 +86638,21 @@ ], "properties": { "driver": { - "description": "Driver is the name of the Flexvolume driver.", + "description": "driver is the name of the Flexvolume driver.", "type": "string" } } }, "io.k8s.api.policy.v1beta1.AllowedHostPath": { - "description": "defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.", + "description": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.", "properties": { "pathPrefix": { - "description": "is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", + "description": "pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", "type": "string" + }, + "readOnly": { + "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", + "type": "boolean" } } }, @@ -81699,20 +86688,20 @@ "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", "properties": { "ranges": { - "description": "Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end.", + "description": "ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.policy.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", + "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", "type": "string" } } }, "io.k8s.api.policy.v1beta1.HostPortRange": { - "description": "Host Port Range defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", + "description": "HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", "required": [ "min", "max" @@ -81731,19 +86720,19 @@ } }, "io.k8s.api.policy.v1beta1.IDRange": { - "description": "ID Range provides a min/max of an allowed range of IDs.", + "description": "IDRange provides a min/max of an allowed range of IDs.", "required": [ "min", "max" ], "properties": { "max": { - "description": "Max is the end of the range, inclusive.", + "description": "max is the end of the range, inclusive.", "type": "integer", "format": "int64" }, "min": { - "description": "Min is the start of the range, inclusive.", + "description": "min is the start of the range, inclusive.", "type": "integer", "format": "int64" } @@ -81832,7 +86821,6 @@ "io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus": { "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", "required": [ - "disruptedPods", "disruptionsAllowed", "currentHealthy", "desiredHealthy", @@ -81874,7 +86862,7 @@ } }, "io.k8s.api.policy.v1beta1.PodSecurityPolicy": { - "description": "Pod Security Policy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", + "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", @@ -81902,7 +86890,7 @@ ] }, "io.k8s.api.policy.v1beta1.PodSecurityPolicyList": { - "description": "Pod Security Policy List is a list of PodSecurityPolicy objects.", + "description": "PodSecurityPolicyList is a list of PodSecurityPolicy objects.", "required": [ "items" ], @@ -81912,7 +86900,7 @@ "type": "string" }, "items": { - "description": "Items is a list of schema objects.", + "description": "items is a list of schema objects.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" @@ -81936,7 +86924,7 @@ ] }, "io.k8s.api.policy.v1beta1.PodSecurityPolicySpec": { - "description": "Pod Security Policy Spec defines the policy enforced.", + "description": "PodSecurityPolicySpec defines the policy enforced.", "required": [ "seLinux", "runAsUser", @@ -81945,43 +86933,64 @@ ], "properties": { "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", + "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", "type": "boolean" }, "allowedCapabilities": { - "description": "AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities.", + "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", "type": "array", "items": { "type": "string" } }, "allowedFlexVolumes": { - "description": "AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"Volumes\" field.", + "description": "allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.policy.v1beta1.AllowedFlexVolume" } }, "allowedHostPaths": { - "description": "is a white list of allowed host paths. Empty indicates that all host paths may be used.", + "description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.policy.v1beta1.AllowedHostPath" } }, + "allowedProcMountTypes": { + "description": "AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.", + "type": "array", + "items": { + "type": "string" + } + }, + "allowedUnsafeSysctls": { + "description": "allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc.", + "type": "array", + "items": { + "type": "string" + } + }, "defaultAddCapabilities": { - "description": "DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both DefaultAddCapabilities and RequiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the AllowedCapabilities list.", + "description": "defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.", "type": "array", "items": { "type": "string" } }, "defaultAllowPrivilegeEscalation": { - "description": "DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", + "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", "type": "boolean" }, + "forbiddenSysctls": { + "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", + "type": "array", + "items": { + "type": "string" + } + }, "fsGroup": { - "description": "FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.", + "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.", "$ref": "#/definitions/io.k8s.api.policy.v1beta1.FSGroupStrategyOptions" }, "hostIPC": { @@ -82008,11 +87017,11 @@ "type": "boolean" }, "readOnlyRootFilesystem": { - "description": "ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", + "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", "type": "boolean" }, "requiredDropCapabilities": { - "description": "RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", + "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", "type": "array", "items": { "type": "string" @@ -82027,11 +87036,11 @@ "$ref": "#/definitions/io.k8s.api.policy.v1beta1.SELinuxStrategyOptions" }, "supplementalGroups": { - "description": "SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", + "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", "$ref": "#/definitions/io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions" }, "volumes": { - "description": "volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used.", + "description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.", "type": "array", "items": { "type": "string" @@ -82040,32 +87049,32 @@ } }, "io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions": { - "description": "Run A sUser Strategy Options defines the strategy type and any options used to create the strategy.", + "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.", "required": [ "rule" ], "properties": { "ranges": { - "description": "Ranges are the allowed ranges of uids that may be used.", + "description": "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.policy.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate the allowable RunAsUser values that may be set.", + "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set.", "type": "string" } } }, "io.k8s.api.policy.v1beta1.SELinuxStrategyOptions": { - "description": "SELinux Strategy Options defines the strategy type and any options used to create the strategy.", + "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.", "required": [ "rule" ], "properties": { "rule": { - "description": "type is the strategy that will dictate the allowable labels that may be set.", + "description": "rule is the strategy that will dictate the allowable labels that may be set.", "type": "string" }, "seLinuxOptions": { @@ -82078,14 +87087,14 @@ "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.", "properties": { "ranges": { - "description": "Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end.", + "description": "ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.policy.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", + "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", "type": "string" } } @@ -82143,7 +87152,6 @@ "io.k8s.api.rbac.v1.ClusterRoleBinding": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -82327,7 +87335,6 @@ "io.k8s.api.rbac.v1.RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -82531,7 +87538,6 @@ "io.k8s.api.rbac.v1alpha1.ClusterRoleBinding": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -82715,7 +87721,6 @@ "io.k8s.api.rbac.v1alpha1.RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -82919,7 +87924,6 @@ "io.k8s.api.rbac.v1beta1.ClusterRoleBinding": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -83103,7 +88107,6 @@ "io.k8s.api.rbac.v1beta1.RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -83328,6 +88331,80 @@ } ] }, + "io.k8s.api.scheduling.v1beta1.PriorityClass": { + "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", + "required": [ + "value" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "description": { + "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used.", + "type": "string" + }, + "globalDefault": { + "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", + "type": "boolean" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "value": { + "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", + "type": "integer", + "format": "int32" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1beta1" + } + ] + }, + "io.k8s.api.scheduling.v1beta1.PriorityClassList": { + "description": "PriorityClassList is a collection of priority classes.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of PriorityClasses", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "scheduling.k8s.io", + "kind": "PriorityClassList", + "version": "v1beta1" + } + ] + }, "io.k8s.api.settings.v1alpha1.PodPreset": { "description": "PodPreset is a policy resource that defines additional runtime requirements for a Pod.", "properties": { @@ -83435,6 +88512,13 @@ "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", "type": "boolean" }, + "allowedTopologies": { + "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorTerm" + } + }, "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" @@ -83470,7 +88554,7 @@ "type": "string" }, "volumeBindingMode": { - "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is alpha-level and is only honored by servers that enable the VolumeScheduling feature.", + "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.", "type": "string" } }, @@ -83666,6 +88750,13 @@ "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", "type": "boolean" }, + "allowedTopologies": { + "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorTerm" + } + }, "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" @@ -83701,7 +88792,7 @@ "type": "string" }, "volumeBindingMode": { - "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is alpha-level and is only honored by servers that enable the VolumeScheduling feature.", + "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.", "type": "string" } }, @@ -83887,8 +88978,46 @@ } } }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition": { + "description": "CustomResourceColumnDefinition specifies a column for server side printing.", + "required": [ + "name", + "type", + "JSONPath" + ], + "properties": { + "JSONPath": { + "description": "JSONPath is a simple JSON path, i.e. with array notation.", + "type": "string" + }, + "description": { + "description": "description is a human readable description of this column.", + "type": "string" + }, + "format": { + "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.", + "type": "string" + }, + "name": { + "description": "name is a human readable name for the column.", + "type": "string" + }, + "priority": { + "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", + "type": "integer", + "format": "int32" + }, + "type": { + "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.", + "type": "string" + } + } + }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition": { "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.", + "required": [ + "spec" + ], "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", @@ -83909,7 +89038,14 @@ "description": "Status indicates the actual state of the CustomResourceDefinition", "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" + } + ] }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition": { "description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.", @@ -83964,7 +89100,14 @@ "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinitionList", + "version": "v1beta1" + } + ] }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames": { "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", @@ -84009,11 +89152,17 @@ "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", "required": [ "group", - "version", "names", "scope" ], "properties": { + "additionalPrinterColumns": { + "description": "AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition" + } + }, "group": { "description": "Group is the group this resource belongs in", "type": "string" @@ -84027,7 +89176,7 @@ "type": "string" }, "subresources": { - "description": "Subresources describes the subresources for CustomResources This field is alpha-level and should only be sent to servers that enable subresources via the CustomResourceSubresources feature gate.", + "description": "Subresources describes the subresources for CustomResources", "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources" }, "validation": { @@ -84035,8 +89184,15 @@ "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation" }, "version": { - "description": "Version is the version this resource belongs in", + "description": "Version is the version this resource belongs in Should be always first item in Versions field if provided. Optional, but at least one of Version or Versions must be set. Deprecated: Please use `Versions`.", "type": "string" + }, + "versions": { + "description": "Versions is the list of all supported versions for this resource. If Version field is provided, this field is optional. Validation: All versions must use the same validation schema for now. i.e., top level Validation field is applied to all of these versions. Order: The version name will be used to compute the order. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion" + } } } }, @@ -84044,7 +89200,8 @@ "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition", "required": [ "conditions", - "acceptedNames" + "acceptedNames", + "storedVersions" ], "properties": { "acceptedNames": { @@ -84057,6 +89214,34 @@ "items": { "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition" } + }, + "storedVersions": { + "description": "StoredVersions are all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so the migration controller can first finish a migration to another version (i.e. that no old objects are left in the storage), and then remove the rest of the versions from this list. None of the versions in this list can be removed from the spec.Versions field.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion": { + "required": [ + "name", + "served", + "storage" + ], + "properties": { + "name": { + "description": "Name is the version name, e.g. \u201cv1\u201d, \u201cv2beta1\u201d, etc.", + "type": "string" + }, + "served": { + "description": "Served is a flag enabling/disabling this version from being served via REST APIs", + "type": "boolean" + }, + "storage": { + "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", + "type": "boolean" } } }, @@ -84118,16 +89303,7 @@ } }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON": { - "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.", - "required": [ - "Raw" - ], - "properties": { - "Raw": { - "type": "string", - "format": "byte" - } - } + "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil." }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps": { "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).", @@ -84279,65 +89455,23 @@ } }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray": { - "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.", - "required": [ - "Schema", - "JSONSchemas" - ], - "properties": { - "JSONSchemas": { - "type": "array", - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - } - }, - "Schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - } - } + "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes." }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool": { - "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.", - "required": [ - "Allows", - "Schema" - ], - "properties": { - "Allows": { - "type": "boolean" - }, - "Schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - } - } + "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property." }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray": { - "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.", - "required": [ - "Schema", - "Property" - ], - "properties": { - "Property": { - "type": "array", - "items": { - "type": "string" - } - }, - "Schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - } - } + "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array." }, "io.k8s.apimachinery.pkg.api.resource.Quantity": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" }, "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup": { "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "required": [ "name", - "versions", - "serverAddressByClientCIDRs" + "versions" ], "properties": { "apiVersion": { @@ -84546,6 +89680,13 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "dryRun": { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "type": "array", + "items": { + "type": "string" + } + }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", "type": "integer", @@ -84589,6 +89730,21 @@ "kind": "DeleteOptions", "version": "v1beta1" }, + { + "group": "apiextensions.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, { "group": "apps", "kind": "DeleteOptions", @@ -84634,6 +89790,11 @@ "kind": "DeleteOptions", "version": "v2beta1" }, + { + "group": "autoscaling", + "kind": "DeleteOptions", + "version": "v2beta2" + }, { "group": "batch", "kind": "DeleteOptions", @@ -84654,6 +89815,11 @@ "kind": "DeleteOptions", "version": "v1beta1" }, + { + "group": "coordination.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, { "group": "events.k8s.io", "kind": "DeleteOptions", @@ -84699,6 +89865,11 @@ "kind": "DeleteOptions", "version": "v1alpha1" }, + { + "group": "scheduling.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, { "group": "settings.k8s.io", "kind": "DeleteOptions", @@ -84820,7 +89991,7 @@ "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", "properties": { "continue": { - "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response.", + "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.", "type": "string" }, "resourceVersion": { @@ -84834,6 +90005,7 @@ } }, "io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime": { + "description": "MicroTime is version of Time with microsecond level precision.", "type": "string", "format": "date-time" }, @@ -85083,6 +90255,7 @@ } }, "io.k8s.apimachinery.pkg.apis.meta.v1.Time": { + "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": "string", "format": "date-time" }, @@ -85122,6 +90295,21 @@ "kind": "WatchEvent", "version": "v1beta1" }, + { + "group": "apiextensions.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, { "group": "apps", "kind": "WatchEvent", @@ -85167,6 +90355,11 @@ "kind": "WatchEvent", "version": "v2beta1" }, + { + "group": "autoscaling", + "kind": "WatchEvent", + "version": "v2beta2" + }, { "group": "batch", "kind": "WatchEvent", @@ -85187,6 +90380,11 @@ "kind": "WatchEvent", "version": "v1beta1" }, + { + "group": "coordination.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, { "group": "events.k8s.io", "kind": "WatchEvent", @@ -85232,6 +90430,11 @@ "kind": "WatchEvent", "version": "v1alpha1" }, + { + "group": "scheduling.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, { "group": "settings.k8s.io", "kind": "WatchEvent", @@ -85268,6 +90471,7 @@ } }, "io.k8s.apimachinery.pkg.util.intstr.IntOrString": { + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.", "type": "string", "format": "int-or-string" }, @@ -85336,7 +90540,14 @@ "description": "Status contains derived information about an API server", "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + ] }, "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition": { "required": [ @@ -85389,13 +90600,19 @@ "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIServiceList", + "version": "v1" + } + ] }, "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec": { "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.", "required": [ "service", - "caBundle", "groupPriorityMinimum", "versionPriority" ], @@ -85427,7 +90644,7 @@ "type": "string" }, "versionPriority": { - "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s.", + "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", "type": "integer", "format": "int32" } @@ -85482,7 +90699,14 @@ "description": "Status contains derived information about an API server", "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" + } + ] }, "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition": { "required": [ @@ -85535,13 +90759,19 @@ "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIServiceList", + "version": "v1beta1" + } + ] }, "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceSpec": { "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.", "required": [ "service", - "caBundle", "groupPriorityMinimum", "versionPriority" ], @@ -85573,7 +90803,7 @@ "type": "string" }, "versionPriority": { - "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s.", + "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", "type": "integer", "format": "int32" } diff --git a/tests/KubernetesClient.Tests/AssemblyInfo.cs b/tests/KubernetesClient.Tests/AssemblyInfo.cs index a0f515f5b..217120083 100644 --- a/tests/KubernetesClient.Tests/AssemblyInfo.cs +++ b/tests/KubernetesClient.Tests/AssemblyInfo.cs @@ -1,4 +1,3 @@ using Xunit; [assembly: CollectionBehavior(DisableTestParallelization = true)] - diff --git a/tests/KubernetesClient.Tests/AuthTests.cs b/tests/KubernetesClient.Tests/AuthTests.cs index ee4b8656c..97b82d7d8 100644 --- a/tests/KubernetesClient.Tests/AuthTests.cs +++ b/tests/KubernetesClient.Tests/AuthTests.cs @@ -1,335 +1,348 @@ -using System; -using System.IO; -using System.Linq; -using System.Net; -using System.Net.Http.Headers; +using System; +using System.IO; +using System.Linq; +using System.Net; +using System.Net.Http.Headers; +using System.Runtime.InteropServices; using System.Security.Cryptography; -using System.Security.Cryptography.X509Certificates; -using System.Text; -using System.Threading.Tasks; -using k8s.Models; -using k8s.Tests.Mock; -using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.Server.Kestrel.Https; -using Microsoft.Rest; +using System.Security.Cryptography.X509Certificates; +using System.Text; +using System.Threading.Tasks; +using k8s.Models; +using k8s.Tests.Mock; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Server.Kestrel.Https; +using Microsoft.Rest; using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.Pkcs; using Org.BouncyCastle.Security; -using Xunit; -using Xunit.Abstractions; - -namespace k8s.Tests -{ - public class AuthTests +using Xunit; +using Xunit.Abstractions; + +namespace k8s.Tests +{ + public class AuthTests { private readonly ITestOutputHelper testOutput; public AuthTests(ITestOutputHelper testOutput) { this.testOutput = testOutput; - } - - private static HttpOperationResponse ExecuteListPods(IKubernetes client) - { - return client.ListNamespacedPodWithHttpMessagesAsync("default").Result; - } - - [Fact] - public void Anonymous() - { - using (var server = new MockKubeApiServer(testOutput)) - { - var client = new Kubernetes(new KubernetesClientConfiguration - { - Host = server.Uri.ToString() - }); - - var listTask = ExecuteListPods(client); - - Assert.True(listTask.Response.IsSuccessStatusCode); - Assert.Equal(1, listTask.Body.Items.Count); - } - - using (var server = new MockKubeApiServer(testOutput, cxt => - { - cxt.Response.StatusCode = (int)HttpStatusCode.Unauthorized; - return Task.FromResult(false); - })) - { - var client = new Kubernetes(new KubernetesClientConfiguration - { - Host = server.Uri.ToString() - }); - - var listTask = ExecuteListPods(client); - - Assert.Equal(HttpStatusCode.Unauthorized, listTask.Response.StatusCode); - } - } - - [Fact] - public void BasicAuth() - { - const string testName = "test_name"; - const string testPassword = "test_password"; - - using (var server = new MockKubeApiServer(testOutput, cxt => - { - var header = cxt.Request.Headers["Authorization"].FirstOrDefault(); - - var expect = new AuthenticationHeaderValue("Basic", Convert.ToBase64String(Encoding.UTF8.GetBytes($"{testName}:{testPassword}"))) - .ToString(); - - if (header != expect) - { - cxt.Response.StatusCode = (int)HttpStatusCode.Unauthorized; - return Task.FromResult(false); - } - - return Task.FromResult(true); - })) - { - { - var client = new Kubernetes(new KubernetesClientConfiguration - { - Host = server.Uri.ToString(), - Username = testName, - Password = testPassword - }); - - var listTask = ExecuteListPods(client); - Assert.True(listTask.Response.IsSuccessStatusCode); - Assert.Equal(1, listTask.Body.Items.Count); - } - - { - var client = new Kubernetes(new KubernetesClientConfiguration - { - Host = server.Uri.ToString(), - Username = "wrong name", - Password = testPassword - }); - - var listTask = ExecuteListPods(client); - - Assert.Equal(HttpStatusCode.Unauthorized, listTask.Response.StatusCode); - } - - { - var client = new Kubernetes(new KubernetesClientConfiguration - { - Host = server.Uri.ToString(), - Username = testName, - Password = "wrong password" - }); - - var listTask = ExecuteListPods(client); - - Assert.Equal(HttpStatusCode.Unauthorized, listTask.Response.StatusCode); - } - - { - var client = new Kubernetes(new KubernetesClientConfiguration - { - Host = server.Uri.ToString(), - Username = "both wrong", - Password = "wrong password" - }); - - var listTask = ExecuteListPods(client); - - Assert.Equal(HttpStatusCode.Unauthorized, listTask.Response.StatusCode); - } - - { - var client = new Kubernetes(new KubernetesClientConfiguration - { - Host = server.Uri.ToString() - }); - - var listTask = ExecuteListPods(client); - - Assert.Equal(HttpStatusCode.Unauthorized, listTask.Response.StatusCode); - } - - { - var client = new Kubernetes(new KubernetesClientConfiguration - { - Host = server.Uri.ToString(), - Username = "xx" - }); - - var listTask = ExecuteListPods(client); - - Assert.Equal(HttpStatusCode.Unauthorized, listTask.Response.StatusCode); - } - } - } - - [Fact] - public void Cert() - { - var serverCertificateData = File.ReadAllText("assets/apiserver-pfx-data.txt"); - - var clientCertificateKeyData = File.ReadAllText("assets/client-key-data.txt"); - var clientCertificateData = File.ReadAllText("assets/client-certificate-data.txt"); + } + + private static HttpOperationResponse ExecuteListPods(IKubernetes client) + { + return client.ListNamespacedPodWithHttpMessagesAsync("default").Result; + } + + [Fact] + public void Anonymous() + { + using (var server = new MockKubeApiServer(testOutput)) + { + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString() + }); + + var listTask = ExecuteListPods(client); + + Assert.True(listTask.Response.IsSuccessStatusCode); + Assert.Equal(1, listTask.Body.Items.Count); + } + + using (var server = new MockKubeApiServer(testOutput, cxt => + { + cxt.Response.StatusCode = (int)HttpStatusCode.Unauthorized; + return Task.FromResult(false); + })) + { + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString() + }); + + var listTask = ExecuteListPods(client); + + Assert.Equal(HttpStatusCode.Unauthorized, listTask.Response.StatusCode); + } + } + + [Fact] + public void BasicAuth() + { + const string testName = "test_name"; + const string testPassword = "test_password"; + + using (var server = new MockKubeApiServer(testOutput, cxt => + { + var header = cxt.Request.Headers["Authorization"].FirstOrDefault(); + + var expect = new AuthenticationHeaderValue("Basic", Convert.ToBase64String(Encoding.UTF8.GetBytes($"{testName}:{testPassword}"))) + .ToString(); + + if (header != expect) + { + cxt.Response.StatusCode = (int)HttpStatusCode.Unauthorized; + return Task.FromResult(false); + } + + return Task.FromResult(true); + })) + { + { + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString(), + Username = testName, + Password = testPassword + }); + + var listTask = ExecuteListPods(client); + Assert.True(listTask.Response.IsSuccessStatusCode); + Assert.Equal(1, listTask.Body.Items.Count); + } + + { + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString(), + Username = "wrong name", + Password = testPassword + }); + + var listTask = ExecuteListPods(client); + + Assert.Equal(HttpStatusCode.Unauthorized, listTask.Response.StatusCode); + } + + { + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString(), + Username = testName, + Password = "wrong password" + }); + + var listTask = ExecuteListPods(client); + + Assert.Equal(HttpStatusCode.Unauthorized, listTask.Response.StatusCode); + } + + { + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString(), + Username = "both wrong", + Password = "wrong password" + }); + + var listTask = ExecuteListPods(client); + + Assert.Equal(HttpStatusCode.Unauthorized, listTask.Response.StatusCode); + } + + { + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString() + }); + + var listTask = ExecuteListPods(client); + + Assert.Equal(HttpStatusCode.Unauthorized, listTask.Response.StatusCode); + } + + { + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString(), + Username = "xx" + }); + + var listTask = ExecuteListPods(client); + + Assert.Equal(HttpStatusCode.Unauthorized, listTask.Response.StatusCode); + } + } + } + +#if NETCOREAPP2_1 // The functionality under test, here, is dependent on managed HTTP / WebSocket functionality in .NET Core 2.1 or newer. + + [Fact] + public void Cert() + { + var serverCertificateData = File.ReadAllText("assets/apiserver-pfx-data.txt"); + + var clientCertificateKeyData = File.ReadAllText("assets/client-key-data.txt"); + var clientCertificateData = File.ReadAllText("assets/client-certificate-data.txt"); X509Certificate2 serverCertificate = null; - using (MemoryStream serverCertificateStream = new MemoryStream(Convert.FromBase64String(serverCertificateData))) + + if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) + { + using (MemoryStream serverCertificateStream = new MemoryStream(Convert.FromBase64String(serverCertificateData))) + { + serverCertificate = OpenCertificateStore(serverCertificateStream); + } + } + else + { + serverCertificate = new X509Certificate2(Convert.FromBase64String(serverCertificateData), ""); + } + + var clientCertificate = new X509Certificate2(Convert.FromBase64String(clientCertificateData), ""); + + var clientCertificateValidationCalled = false; + + using (var server = new MockKubeApiServer(testOutput, listenConfigure: options => + { + options.UseHttps(new HttpsConnectionAdapterOptions + { + ServerCertificate = serverCertificate, + ClientCertificateMode = ClientCertificateMode.RequireCertificate, + ClientCertificateValidation = (certificate, chain, valid) => + { + clientCertificateValidationCalled = true; + return clientCertificate.Equals(certificate); + } + }); + })) + { + { + clientCertificateValidationCalled = false; + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString(), + ClientCertificateData = clientCertificateData, + ClientCertificateKeyData = clientCertificateKeyData, + SslCaCert = serverCertificate, + SkipTlsVerify = false + }); + + var listTask = ExecuteListPods(client); + + Assert.True(clientCertificateValidationCalled); + Assert.True(listTask.Response.IsSuccessStatusCode); + Assert.Equal(1, listTask.Body.Items.Count); + } + + { + clientCertificateValidationCalled = false; + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString(), + ClientCertificateData = clientCertificateData, + ClientCertificateKeyData = clientCertificateKeyData, + SkipTlsVerify = true + }); + + var listTask = ExecuteListPods(client); + + Assert.True(clientCertificateValidationCalled); + Assert.True(listTask.Response.IsSuccessStatusCode); + Assert.Equal(1, listTask.Body.Items.Count); + } + + { + clientCertificateValidationCalled = false; + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString(), + ClientCertificateFilePath = "assets/client.crt", // TODO amazoning why client.crt != client-data.txt + ClientKeyFilePath = "assets/client.key", + SkipTlsVerify = true + }); + + Assert.ThrowsAny(() => ExecuteListPods(client)); + Assert.True(clientCertificateValidationCalled); + } + + { + clientCertificateValidationCalled = false; + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString(), + SkipTlsVerify = true + }); + + Assert.ThrowsAny(() => ExecuteListPods(client)); + Assert.False(clientCertificateValidationCalled); + } + } + } + +#endif // NETCOREAPP2_1 + + [Fact] + public void Token() + { + const string token = "testingtoken"; + + using (var server = new MockKubeApiServer(testOutput, cxt => { - serverCertificate = OpenCertificateStore(serverCertificateStream); + var header = cxt.Request.Headers["Authorization"].FirstOrDefault(); + + var expect = new AuthenticationHeaderValue("Bearer", token).ToString(); + + if (header != expect) + { + cxt.Response.StatusCode = (int)HttpStatusCode.Unauthorized; + return Task.FromResult(false); + } + + return Task.FromResult(true); + })) + { + { + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString(), + AccessToken = token + }); + + var listTask = ExecuteListPods(client); + Assert.True(listTask.Response.IsSuccessStatusCode); + Assert.Equal(1, listTask.Body.Items.Count); + } + + { + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString(), + AccessToken = "wrong token" + }); + + var listTask = ExecuteListPods(client); + + Assert.Equal(HttpStatusCode.Unauthorized, listTask.Response.StatusCode); + } + + + { + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString(), + Username = "wrong name", + Password = "same password" + }); + + var listTask = ExecuteListPods(client); + + Assert.Equal(HttpStatusCode.Unauthorized, listTask.Response.StatusCode); + } + + { + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString() + }); + + var listTask = ExecuteListPods(client); + + Assert.Equal(HttpStatusCode.Unauthorized, listTask.Response.StatusCode); + } } - - var clientCertificate = new X509Certificate2(Convert.FromBase64String(clientCertificateData), ""); - - var clientCertificateValidationCalled = false; - - using (var server = new MockKubeApiServer(testOutput, listenConfigure: options => - { - options.UseHttps(new HttpsConnectionAdapterOptions - { - ServerCertificate = serverCertificate, - ClientCertificateMode = ClientCertificateMode.RequireCertificate, - ClientCertificateValidation = (certificate, chain, valid) => - { - clientCertificateValidationCalled = true; - return clientCertificate.Equals(certificate); - } - }); - })) - { - { - clientCertificateValidationCalled = false; - var client = new Kubernetes(new KubernetesClientConfiguration - { - Host = server.Uri.ToString(), - ClientCertificateData = clientCertificateData, - ClientCertificateKeyData = clientCertificateKeyData, - SslCaCert = serverCertificate, - SkipTlsVerify = false - }); - - var listTask = ExecuteListPods(client); - - Assert.True(clientCertificateValidationCalled); - Assert.True(listTask.Response.IsSuccessStatusCode); - Assert.Equal(1, listTask.Body.Items.Count); - } - - { - clientCertificateValidationCalled = false; - var client = new Kubernetes(new KubernetesClientConfiguration - { - Host = server.Uri.ToString(), - ClientCertificateData = clientCertificateData, - ClientCertificateKeyData = clientCertificateKeyData, - SkipTlsVerify = true - }); - - var listTask = ExecuteListPods(client); - - Assert.True(clientCertificateValidationCalled); - Assert.True(listTask.Response.IsSuccessStatusCode); - Assert.Equal(1, listTask.Body.Items.Count); - } - - { - clientCertificateValidationCalled = false; - var client = new Kubernetes(new KubernetesClientConfiguration - { - Host = server.Uri.ToString(), - ClientCertificateFilePath = "assets/client.crt", // TODO amazoning why client.crt != client-data.txt - ClientKeyFilePath = "assets/client.key", - SkipTlsVerify = true - }); - - Assert.ThrowsAny(() => ExecuteListPods(client)); - Assert.True(clientCertificateValidationCalled); - } - - { - clientCertificateValidationCalled = false; - var client = new Kubernetes(new KubernetesClientConfiguration - { - Host = server.Uri.ToString(), - SkipTlsVerify = true - }); - - Assert.ThrowsAny(() => ExecuteListPods(client)); - Assert.False(clientCertificateValidationCalled); - } - } - } - - [Fact] - public void Token() - { - const string token = "testingtoken"; - - using (var server = new MockKubeApiServer(testOutput, cxt => - { - var header = cxt.Request.Headers["Authorization"].FirstOrDefault(); - - var expect = new AuthenticationHeaderValue("Bearer", token).ToString(); - - if (header != expect) - { - cxt.Response.StatusCode = (int)HttpStatusCode.Unauthorized; - return Task.FromResult(false); - } - - return Task.FromResult(true); - })) - { - { - var client = new Kubernetes(new KubernetesClientConfiguration - { - Host = server.Uri.ToString(), - AccessToken = token - }); - - var listTask = ExecuteListPods(client); - Assert.True(listTask.Response.IsSuccessStatusCode); - Assert.Equal(1, listTask.Body.Items.Count); - } - - { - var client = new Kubernetes(new KubernetesClientConfiguration - { - Host = server.Uri.ToString(), - AccessToken = "wrong token" - }); - - var listTask = ExecuteListPods(client); - - Assert.Equal(HttpStatusCode.Unauthorized, listTask.Response.StatusCode); - } - - - { - var client = new Kubernetes(new KubernetesClientConfiguration - { - Host = server.Uri.ToString(), - Username = "wrong name", - Password = "same password" - }); - - var listTask = ExecuteListPods(client); - - Assert.Equal(HttpStatusCode.Unauthorized, listTask.Response.StatusCode); - } - - { - var client = new Kubernetes(new KubernetesClientConfiguration - { - Host = server.Uri.ToString() - }); - - var listTask = ExecuteListPods(client); - - Assert.Equal(HttpStatusCode.Unauthorized, listTask.Response.StatusCode); - } - } } private X509Certificate2 OpenCertificateStore(Stream stream) @@ -351,6 +364,6 @@ private X509Certificate2 OpenCertificateStore(Stream stream) certificate = RSACertificateExtensions.CopyWithPrivateKey(certificate, rsa); return certificate; - } - } -} + } + } +} diff --git a/tests/KubernetesClient.Tests/CertUtilsTests.cs b/tests/KubernetesClient.Tests/CertUtilsTests.cs index 5e5387376..d093c059c 100644 --- a/tests/KubernetesClient.Tests/CertUtilsTests.cs +++ b/tests/KubernetesClient.Tests/CertUtilsTests.cs @@ -1,74 +1,74 @@ -using System; -using Xunit; -using k8s; -using System.IO; - -namespace k8s.Tests -{ - public class CertUtilsTests - { - /// +using System; +using Xunit; +using k8s; +using System.IO; + +namespace k8s.Tests +{ + public class CertUtilsTests + { + /// /// This file contains a sample kubeconfig file. The paths to the certificate files are relative - /// to the current working directly. - /// + /// to the current working directly. + /// private static readonly string kubeConfigFileName = "assets/kubeconfig.yml"; - - /// + + /// /// This file contains a sample kubeconfig file. The paths to the certificate files are relative - /// to the directory in which the kubeconfig file is located. - /// - private static readonly string kubeConfigWithRelativePathsFileName = "assets/kubeconfig.relative.yml"; - - /// - /// Checks that a certificate can be loaded from files. - /// - [Fact] - public void LoadFromFiles() - { - var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(kubeConfigFileName, "federal-context", useRelativePaths: false); - - // Just validate that this doesn't throw and private key is non-null - var cert = CertUtils.GeneratePfx(cfg); - Assert.NotNull(cert.PrivateKey); + /// to the directory in which the kubeconfig file is located. + /// + private static readonly string kubeConfigWithRelativePathsFileName = "assets/kubeconfig.relative.yml"; + + /// + /// Checks that a certificate can be loaded from files. + /// + [Fact] + public void LoadFromFiles() + { + var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(kubeConfigFileName, "federal-context", useRelativePaths: false); + + // Just validate that this doesn't throw and private key is non-null + var cert = CertUtils.GeneratePfx(cfg); + Assert.NotNull(cert.PrivateKey); } - - /// - /// Checks that a certificate can be loaded from files, in a scenario where the files are using relative paths. - /// - [Fact] + + /// + /// Checks that a certificate can be loaded from files, in a scenario where the files are using relative paths. + /// + [Fact] public void LoadFromFilesRelativePath() - { - var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(kubeConfigWithRelativePathsFileName, "federal-context"); - - // Just validate that this doesn't throw and private key is non-null - var cert = CertUtils.GeneratePfx(cfg); - Assert.NotNull(cert.PrivateKey); - } - - /// - /// Checks that a certificate can be loaded from inline. - /// - [Fact] - public void LoadFromInlineData() - { - var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(kubeConfigFileName, "victorian-context", useRelativePaths: false); - - // Just validate that this doesn't throw and private key is non-null - var cert = CertUtils.GeneratePfx(cfg); - Assert.NotNull(cert.PrivateKey); - } - - /// - /// Checks that a certificate can be loaded from inline, in a scenario where the files are using relative paths.. - /// - [Fact] + { + var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(kubeConfigWithRelativePathsFileName, "federal-context"); + + // Just validate that this doesn't throw and private key is non-null + var cert = CertUtils.GeneratePfx(cfg); + Assert.NotNull(cert.PrivateKey); + } + + /// + /// Checks that a certificate can be loaded from inline. + /// + [Fact] + public void LoadFromInlineData() + { + var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(kubeConfigFileName, "victorian-context", useRelativePaths: false); + + // Just validate that this doesn't throw and private key is non-null + var cert = CertUtils.GeneratePfx(cfg); + Assert.NotNull(cert.PrivateKey); + } + + /// + /// Checks that a certificate can be loaded from inline, in a scenario where the files are using relative paths.. + /// + [Fact] public void LoadFromInlineDataRelativePath() - { - var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(kubeConfigWithRelativePathsFileName, "victorian-context"); - - // Just validate that this doesn't throw and private key is non-null - var cert = CertUtils.GeneratePfx(cfg); - Assert.NotNull(cert.PrivateKey); - } - } + { + var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(kubeConfigWithRelativePathsFileName, "victorian-context"); + + // Just validate that this doesn't throw and private key is non-null + var cert = CertUtils.GeneratePfx(cfg); + Assert.NotNull(cert.PrivateKey); + } + } } diff --git a/tests/KubernetesClient.Tests/CertificateValidationTests.cs b/tests/KubernetesClient.Tests/CertificateValidationTests.cs new file mode 100644 index 000000000..0fc792255 --- /dev/null +++ b/tests/KubernetesClient.Tests/CertificateValidationTests.cs @@ -0,0 +1,37 @@ +using System; +using System.IO; +using System.Net.Security; +using System.Security.Cryptography.X509Certificates; +using Xunit; + +namespace k8s.Tests +{ + public class CertificateValidationTests + { + [Fact] + public void ValidCert() + { + var caCert = new X509Certificate2("assets/ca.crt"); + var testCert = new X509Certificate2("assets/ca.crt"); + var chain = new X509Chain(); + var errors = SslPolicyErrors.RemoteCertificateChainErrors; + + var result = Kubernetes.CertificateValidationCallBack(this, caCert, testCert, chain, errors); + + Assert.True(result); + } + + [Fact] + public void InvalidCert() + { + var caCert = new X509Certificate2("assets/ca.crt"); + var testCert = new X509Certificate2("assets/ca2.crt"); + var chain = new X509Chain(); + var errors = SslPolicyErrors.RemoteCertificateChainErrors; + + var result = Kubernetes.CertificateValidationCallBack(this, caCert, testCert, chain, errors); + + Assert.False(result); + } + } +} diff --git a/tests/KubernetesClient.Tests/IntOrStringTests.cs b/tests/KubernetesClient.Tests/IntOrStringTests.cs index ba5cbd541..72e79672c 100644 --- a/tests/KubernetesClient.Tests/IntOrStringTests.cs +++ b/tests/KubernetesClient.Tests/IntOrStringTests.cs @@ -1,39 +1,39 @@ -using k8s.Models; -using Newtonsoft.Json; -using Xunit; - -namespace k8s.Tests -{ - public class IntOrStringTests - { - [Fact] - public void Serialize() - { - { - var v = 123; - IntstrIntOrString intorstr = v; - - Assert.Equal("123", JsonConvert.SerializeObject(intorstr)); - } - - { - IntstrIntOrString intorstr = "12%"; - Assert.Equal("\"12%\"", JsonConvert.SerializeObject(intorstr)); - } - } - - [Fact] - public void Deserialize() - { - { - var v = JsonConvert.DeserializeObject("1234"); - Assert.Equal("1234", v.Value); - } - - { - var v = JsonConvert.DeserializeObject("\"12%\""); - Assert.Equal("12%", v.Value); - } +using k8s.Models; +using Newtonsoft.Json; +using Xunit; + +namespace k8s.Tests +{ + public class IntOrStringTests + { + [Fact] + public void Serialize() + { + { + var v = 123; + IntstrIntOrString intorstr = v; + + Assert.Equal("123", JsonConvert.SerializeObject(intorstr)); + } + + { + IntstrIntOrString intorstr = "12%"; + Assert.Equal("\"12%\"", JsonConvert.SerializeObject(intorstr)); + } } - } -} + + [Fact] + public void Deserialize() + { + { + var v = JsonConvert.DeserializeObject("1234"); + Assert.Equal("1234", v.Value); + } + + { + var v = JsonConvert.DeserializeObject("\"12%\""); + Assert.Equal("12%", v.Value); + } + } + } +} diff --git a/tests/KubernetesClient.Tests/KubernetesClient.Tests.csproj b/tests/KubernetesClient.Tests/KubernetesClient.Tests.csproj index d8a1ad257..0d5f23bb6 100755 --- a/tests/KubernetesClient.Tests/KubernetesClient.Tests.csproj +++ b/tests/KubernetesClient.Tests/KubernetesClient.Tests.csproj @@ -2,7 +2,7 @@ false k8s.tests - netcoreapp2.0;netcoreapp2.1 + netcoreapp2.1;netcoreapp2.0 diff --git a/tests/KubernetesClient.Tests/KubernetesClientConfigurationTests.cs b/tests/KubernetesClient.Tests/KubernetesClientConfigurationTests.cs index b8b1da775..40fbfd5f2 100755 --- a/tests/KubernetesClient.Tests/KubernetesClientConfigurationTests.cs +++ b/tests/KubernetesClient.Tests/KubernetesClientConfigurationTests.cs @@ -1,332 +1,340 @@ -using System.IO; +using System.IO; using System.Linq; -using k8s.Exceptions; +using k8s.Exceptions; using k8s.KubeConfigModels; -using Xunit; - -namespace k8s.Tests -{ - public class KubernetesClientConfigurationTests - { - /// - /// Check if host is properly loaded, per context - /// - [Theory] - [InlineData("federal-context", "https://horse.org:4443/")] - [InlineData("queen-anne-context", "https://pig.org/")] - public void ContextHost(string context, string host) - { - var fi = new FileInfo("assets/kubeconfig.yml"); - var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, context, useRelativePaths: false); - Assert.Equal(host, cfg.Host); - } - - /// - /// Checks if user-based token is loaded properly from the config file, per context - /// - /// - /// - [Theory] - [InlineData("queen-anne-context", "black-token")] - public void ContextUserToken(string context, string token) - { - var fi = new FileInfo("assets/kubeconfig.yml"); - var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, context); - Assert.Equal(context, cfg.CurrentContext); - Assert.Null(cfg.Username); - Assert.Equal(token, cfg.AccessToken); - } - - /// - /// Checks if certificate-based authentication is loaded properly from the config file, per context - /// - /// Context to retreive the configuration - /// 'client-certificate-data' node content - /// 'client-key-data' content - [Theory] - [InlineData("federal-context", "assets/client.crt", "assets/client.key")] - public void ContextCertificate(string context, string clientCert, string clientCertKey) - { - var fi = new FileInfo("assets/kubeconfig.yml"); - var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, context, useRelativePaths: false); - Assert.Equal(context, cfg.CurrentContext); - Assert.Equal(cfg.ClientCertificateFilePath, clientCert); - Assert.Equal(cfg.ClientKeyFilePath, clientCertKey); - } - - /// - /// Checks if certificate-based authentication is loaded properly from the config file, per context - /// - /// Context to retreive the configuration - [Theory] - [InlineData("victorian-context")] - public void ClientData(string context) - { - var fi = new FileInfo("assets/kubeconfig.yml"); - var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, context); - Assert.Equal(context, cfg.CurrentContext); - Assert.NotNull(cfg.SslCaCert); - Assert.Equal(File.ReadAllText("assets/client-certificate-data.txt"), cfg.ClientCertificateData); - Assert.Equal(File.ReadAllText("assets/client-key-data.txt"), cfg.ClientCertificateKeyData); - } - - /// - /// Checks that a KubeConfigException is thrown when no certificate-authority-data is set and user do not require tls - /// skip - /// - [Fact] - public void CheckClusterTlsCorrectness() - { - var fi = new FileInfo("assets/kubeconfig.tls-no-skip-error.yml"); - Assert.Throws(() => KubernetesClientConfiguration.BuildConfigFromConfigFile(fi)); - } - - /// - /// Checks that a KubeConfigException is thrown when no certificate-authority-data is set and user do not require tls - /// skip - /// - [Fact] - public void CheckClusterTlsSkipCorrectness() - { - var fi = new FileInfo("assets/kubeconfig.tls-skip.yml"); - var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(fi); - Assert.NotNull(cfg.Host); - Assert.Null(cfg.SslCaCert); - Assert.True(cfg.SkipTlsVerify); - } - - /// - /// Checks that a KubeConfigException is thrown when the cluster defined in clusters and contexts do not match - /// - [Fact] - public void ClusterNameMissmatch() - { - var fi = new FileInfo("assets/kubeconfig.cluster-missmatch.yml"); - Assert.Throws(() => KubernetesClientConfiguration.BuildConfigFromConfigFile(fi)); - } - - /// - /// Checks that a KubeConfigException is thrown when the clusters section is missing - /// - [Fact] - public void ClusterNotFound() - { - var fi = new FileInfo("assets/kubeconfig.no-cluster.yml"); - Assert.Throws(() => KubernetesClientConfiguration.BuildConfigFromConfigFile(fi)); - } - - /// - /// The configuration file is not present. An KubeConfigException should be thrown - /// - [Fact] - public void ConfigurationFileNotFound() - { - var fi = new FileInfo("/path/to/nowhere"); - Assert.Throws(() => KubernetesClientConfiguration.BuildConfigFromConfigFile(fi)); - } - - - /// - /// Test that an Exception is thrown when initializating a KubernetClientConfiguration whose config file Context is not - /// present - /// - [Fact] - public void ContextNotFound() - { - var fi = new FileInfo("assets/kubeconfig.yml"); - Assert.Throws(() => - KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, "context-not-found")); - } - - /// - /// Checks Host is loaded from the default configuration file - /// - [Fact] - public void DefaultConfigurationLoaded() - { - var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(new FileInfo("assets/kubeconfig.yml"), useRelativePaths: false); - Assert.NotNull(cfg.Host); - } - - /// - /// Checks that a KubeConfigException is thrown when incomplete user credentials - /// - [Fact] - public void IncompleteUserCredentials() - { - var fi = new FileInfo("assets/kubeconfig.no-credentials.yml"); - Assert.Throws(() => KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, useRelativePaths: false)); - } - - /// - /// Test if KubeConfigException is thrown when no Contexts and we use the default context name - /// - [Fact] - public void NoContexts() - { - var fi = new FileInfo("assets/kubeconfig.no-context.yml"); - Assert.Throws(() => KubernetesClientConfiguration.BuildConfigFromConfigFile(fi)); - } - - /// - /// Test if KubeConfigException is thrown when no Contexts are set and we specify a concrete context name - /// - [Fact] - public void NoContextsExplicit() - { - var fi = new FileInfo("assets/kubeconfig-no-context.yml"); - Assert.Throws(() => - KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, "context")); - } - - /// - /// Checks that a KubeConfigException is thrown when the server property is not set in cluster - /// - [Fact] - public void ServerNotFound() - { - var fi = new FileInfo("assets/kubeconfig.no-server.yml"); - Assert.Throws(() => KubernetesClientConfiguration.BuildConfigFromConfigFile(fi)); - } - - /// - /// Checks user/password authentication information is read properly - /// - [Fact] - public void UserPasswordAuthentication() - { - var fi = new FileInfo("assets/kubeconfig.user-pass.yml"); - var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, useRelativePaths: false); - Assert.Equal("admin", cfg.Username); - Assert.Equal("secret", cfg.Password); - } - - /// - /// Checks that a KubeConfigException is thrown when user cannot be found in users - /// - [Fact] - public void UserNotFound() - { - var fi = new FileInfo("assets/kubeconfig.user-not-found.yml"); - Assert.Throws(() => KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, useRelativePaths: false)); - } - - /// - /// Make sure that user is not a necessary field. set #issue 24 - /// - [Fact] - public void EmptyUserNotFound() - { - var fi = new FileInfo("assets/kubeconfig.no-user.yml"); - var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, useRelativePaths: false); - - Assert.NotEmpty(cfg.Host); - } - - /// - /// Make sure Host is replaced by masterUrl - /// - [Fact] - public void OverrideByMasterUrl() - { - var fi = new FileInfo("assets/kubeconfig.yml"); - var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, masterUrl: "http://test.server/", useRelativePaths: false); - Assert.Equal("http://test.server/", cfg.Host); - } - - /// - /// Make sure that http urls are loaded even if insecure-skip-tls-verify === true - /// - [Fact] - public void SmartSkipTlsVerify() - { - var fi = new FileInfo("assets/kubeconfig.tls-skip-http.yml"); - var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(fi); - Assert.False(cfg.SkipTlsVerify); - Assert.Equal("http://horse.org/", cfg.Host); - } - - /// - /// Checks config could work well when current-context is not set but masterUrl is set. #issue 24 - /// - [Fact] - public void NoCurrentContext() - { - var fi = new FileInfo("assets/kubeconfig.no-current-context.yml"); - - // failed if cannot infer any server host - Assert.Throws(() => KubernetesClientConfiguration.BuildConfigFromConfigFile(fi)); - - // survive when masterUrl is set - var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, masterUrl: "http://test.server/"); - Assert.Equal("http://test.server/", cfg.Host); - } - - /// - /// Checks that loading a configuration from a file leaves no outstanding handles to the file. - /// - /// - /// This test fails only on Windows. - /// - [Fact] - public void DeletedConfigurationFile() - { - var assetFileInfo = new FileInfo("assets/kubeconfig.yml"); +using Xunit; + +namespace k8s.Tests +{ + public class KubernetesClientConfigurationTests + { + /// + /// Check if host is properly loaded, per context + /// + [Theory] + [InlineData("federal-context", "https://horse.org:4443/")] + [InlineData("queen-anne-context", "https://pig.org/")] + public void ContextHost(string context, string host) + { + var fi = new FileInfo("assets/kubeconfig.yml"); + var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, context, useRelativePaths: false); + Assert.Equal(host, cfg.Host); + } + + /// + /// Checks if user-based token is loaded properly from the config file, per context + /// + /// + /// + [Theory] + [InlineData("queen-anne-context", "black-token")] + public void ContextUserToken(string context, string token) + { + var fi = new FileInfo("assets/kubeconfig.yml"); + var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, context); + Assert.Equal(context, cfg.CurrentContext); + Assert.Null(cfg.Username); + Assert.Equal(token, cfg.AccessToken); + } + + /// + /// Checks if certificate-based authentication is loaded properly from the config file, per context + /// + /// Context to retreive the configuration + /// 'client-certificate-data' node content + /// 'client-key-data' content + [Theory] + [InlineData("federal-context", "assets/client.crt", "assets/client.key")] + public void ContextCertificate(string context, string clientCert, string clientCertKey) + { + var fi = new FileInfo("assets/kubeconfig.yml"); + var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, context, useRelativePaths: false); + Assert.Equal(context, cfg.CurrentContext); + Assert.Equal(cfg.ClientCertificateFilePath, clientCert); + Assert.Equal(cfg.ClientKeyFilePath, clientCertKey); + } + + /// + /// Checks if certificate-based authentication is loaded properly from the config file, per context + /// + /// Context to retreive the configuration + [Theory] + [InlineData("victorian-context")] + public void ClientData(string context) + { + var fi = new FileInfo("assets/kubeconfig.yml"); + var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, context); + Assert.Equal(context, cfg.CurrentContext); + Assert.NotNull(cfg.SslCaCert); + Assert.Equal(File.ReadAllText("assets/client-certificate-data.txt"), cfg.ClientCertificateData); + Assert.Equal(File.ReadAllText("assets/client-key-data.txt"), cfg.ClientCertificateKeyData); + } + + /// + /// Checks that a KubeConfigException is thrown when no certificate-authority-data is set and user do not require tls + /// skip + /// + [Fact] + public void CheckClusterTlsCorrectness() + { + var fi = new FileInfo("assets/kubeconfig.tls-no-skip-error.yml"); + Assert.Throws(() => KubernetesClientConfiguration.BuildConfigFromConfigFile(fi)); + } + + /// + /// Checks that a KubeConfigException is thrown when no certificate-authority-data is set and user do not require tls + /// skip + /// + [Fact] + public void CheckClusterTlsSkipCorrectness() + { + var fi = new FileInfo("assets/kubeconfig.tls-skip.yml"); + var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(fi); + Assert.NotNull(cfg.Host); + Assert.Null(cfg.SslCaCert); + Assert.True(cfg.SkipTlsVerify); + } + + /// + /// Checks that a KubeConfigException is thrown when the cluster defined in clusters and contexts do not match + /// + [Fact] + public void ClusterNameMissmatch() + { + var fi = new FileInfo("assets/kubeconfig.cluster-missmatch.yml"); + Assert.Throws(() => KubernetesClientConfiguration.BuildConfigFromConfigFile(fi)); + } + + /// + /// Checks that a KubeConfigException is thrown when the clusters section is missing + /// + [Fact] + public void ClusterNotFound() + { + var fi = new FileInfo("assets/kubeconfig.no-cluster.yml"); + Assert.Throws(() => KubernetesClientConfiguration.BuildConfigFromConfigFile(fi)); + } + + /// + /// The configuration file is not present. An KubeConfigException should be thrown + /// + [Fact] + public void ConfigurationFileNotFound() + { + var fi = new FileInfo("/path/to/nowhere"); + Assert.Throws(() => KubernetesClientConfiguration.BuildConfigFromConfigFile(fi)); + } + + + /// + /// Test that an Exception is thrown when initializating a KubernetClientConfiguration whose config file Context is not + /// present + /// + [Fact] + public void ContextNotFound() + { + var fi = new FileInfo("assets/kubeconfig.yml"); + Assert.Throws(() => + KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, "context-not-found")); + } + + [Fact] + public void CreatedFromPreLoadedConfig() + { + var k8sConfig = KubernetesClientConfiguration.LoadKubeConfig(new FileInfo("assets/kubeconfig.yml"), useRelativePaths: false); + var cfg = KubernetesClientConfiguration.BuildConfigFromConfigObject(k8sConfig); + Assert.NotNull(cfg.Host); + } + + /// + /// Checks Host is loaded from the default configuration file + /// + [Fact] + public void DefaultConfigurationLoaded() + { + var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(new FileInfo("assets/kubeconfig.yml"), useRelativePaths: false); + Assert.NotNull(cfg.Host); + } + + /// + /// Checks that a KubeConfigException is thrown when incomplete user credentials + /// + [Fact] + public void IncompleteUserCredentials() + { + var fi = new FileInfo("assets/kubeconfig.no-credentials.yml"); + Assert.Throws(() => KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, useRelativePaths: false)); + } + + /// + /// Test if KubeConfigException is thrown when no Contexts and we use the default context name + /// + [Fact] + public void NoContexts() + { + var fi = new FileInfo("assets/kubeconfig.no-context.yml"); + Assert.Throws(() => KubernetesClientConfiguration.BuildConfigFromConfigFile(fi)); + } + + /// + /// Test if KubeConfigException is thrown when no Contexts are set and we specify a concrete context name + /// + [Fact] + public void NoContextsExplicit() + { + var fi = new FileInfo("assets/kubeconfig-no-context.yml"); + Assert.Throws(() => + KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, "context")); + } + + /// + /// Checks that a KubeConfigException is thrown when the server property is not set in cluster + /// + [Fact] + public void ServerNotFound() + { + var fi = new FileInfo("assets/kubeconfig.no-server.yml"); + Assert.Throws(() => KubernetesClientConfiguration.BuildConfigFromConfigFile(fi)); + } + + /// + /// Checks user/password authentication information is read properly + /// + [Fact] + public void UserPasswordAuthentication() + { + var fi = new FileInfo("assets/kubeconfig.user-pass.yml"); + var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, useRelativePaths: false); + Assert.Equal("admin", cfg.Username); + Assert.Equal("secret", cfg.Password); + } + + /// + /// Checks that a KubeConfigException is thrown when user cannot be found in users + /// + [Fact] + public void UserNotFound() + { + var fi = new FileInfo("assets/kubeconfig.user-not-found.yml"); + Assert.Throws(() => KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, useRelativePaths: false)); + } + + /// + /// Make sure that user is not a necessary field. set #issue 24 + /// + [Fact] + public void EmptyUserNotFound() + { + var fi = new FileInfo("assets/kubeconfig.no-user.yml"); + var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, useRelativePaths: false); + + Assert.NotEmpty(cfg.Host); + } + + /// + /// Make sure Host is replaced by masterUrl + /// + [Fact] + public void OverrideByMasterUrl() + { + var fi = new FileInfo("assets/kubeconfig.yml"); + var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, masterUrl: "http://test.server/", useRelativePaths: false); + Assert.Equal("http://test.server/", cfg.Host); + } + + /// + /// Make sure that http urls are loaded even if insecure-skip-tls-verify === true + /// + [Fact] + public void SmartSkipTlsVerify() + { + var fi = new FileInfo("assets/kubeconfig.tls-skip-http.yml"); + var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(fi); + Assert.False(cfg.SkipTlsVerify); + Assert.Equal("http://horse.org/", cfg.Host); + } + + /// + /// Checks config could work well when current-context is not set but masterUrl is set. #issue 24 + /// + [Fact] + public void NoCurrentContext() + { + var fi = new FileInfo("assets/kubeconfig.no-current-context.yml"); + + // failed if cannot infer any server host + Assert.Throws(() => KubernetesClientConfiguration.BuildConfigFromConfigFile(fi)); + + // survive when masterUrl is set + var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(fi, masterUrl: "http://test.server/"); + Assert.Equal("http://test.server/", cfg.Host); + } + + /// + /// Checks that loading a configuration from a file leaves no outstanding handles to the file. + /// + /// + /// This test fails only on Windows. + /// + [Fact] + public void DeletedConfigurationFile() + { + var assetFileInfo = new FileInfo("assets/kubeconfig.yml"); var tempFileInfo = new FileInfo(Path.GetTempFileName()); - File.Copy(assetFileInfo.FullName, tempFileInfo.FullName, /* overwrite: */ true); - - KubernetesClientConfiguration config; - - try - { - config = KubernetesClientConfiguration.BuildConfigFromConfigFile(tempFileInfo, useRelativePaths: false); - } - finally - { - File.Delete(tempFileInfo.FullName); - } - } - - /// - /// Checks Host is loaded from the default configuration file as string - /// - [Fact] - public void DefaultConfigurationAsStringLoaded() - { - var filePath = "assets/kubeconfig.yml"; - var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(filePath, null, null, useRelativePaths: false); - Assert.NotNull(cfg.Host); - } - - - /// - /// Checks Host is loaded from the default configuration file as stream - /// - [Fact] - public void DefaultConfigurationAsStreamLoaded() - { - using (var stream = File.OpenRead("assets/kubeconfig.yml")) - { - var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(stream); - Assert.NotNull(cfg.Host); - } - } - - /// - /// Checks users.as-user-extra is loaded correctly from a configuration file. - /// - [Fact] - public void AsUserExtra() - { - var filePath = "assets/kubeconfig.as-user-extra.yml"; - + File.Copy(assetFileInfo.FullName, tempFileInfo.FullName, /* overwrite: */ true); + + KubernetesClientConfiguration config; + + try + { + config = KubernetesClientConfiguration.BuildConfigFromConfigFile(tempFileInfo, useRelativePaths: false); + } + finally + { + File.Delete(tempFileInfo.FullName); + } + } + + /// + /// Checks Host is loaded from the default configuration file as string + /// + [Fact] + public void DefaultConfigurationAsStringLoaded() + { + var filePath = "assets/kubeconfig.yml"; var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(filePath, null, null, useRelativePaths: false); - Assert.NotNull(cfg.Host); + Assert.NotNull(cfg.Host); } - /// - /// Ensures Kube config file is loaded from explicit file + + /// + /// Checks Host is loaded from the default configuration file as stream + /// + [Fact] + public void DefaultConfigurationAsStreamLoaded() + { + using (var stream = File.OpenRead("assets/kubeconfig.yml")) + { + var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(stream); + Assert.NotNull(cfg.Host); + } + } + + /// + /// Checks users.as-user-extra is loaded correctly from a configuration file. + /// + [Fact] + public void AsUserExtra() + { + var filePath = "assets/kubeconfig.as-user-extra.yml"; + + var cfg = KubernetesClientConfiguration.BuildConfigFromConfigFile(filePath, null, null, useRelativePaths: false); + Assert.NotNull(cfg.Host); + } + + /// + /// Ensures Kube config file is loaded from explicit file /// [Fact] public void LoadKubeConfigExplicitFilePath() @@ -367,7 +375,7 @@ public void LoadKubeConfigStream() { cfg = KubernetesClientConfiguration.LoadKubeConfig(stream); } - + Assert.NotNull(cfg); AssertConfigEqual(expectedCfg, cfg); } @@ -376,7 +384,7 @@ private void AssertConfigEqual(K8SConfiguration expected, K8SConfiguration actua { Assert.Equal(expected.ApiVersion, actual.ApiVersion); Assert.Equal(expected.CurrentContext, actual.CurrentContext); - + foreach (var expectedContext in expected.Contexts) { // Will throw exception if not found @@ -438,8 +446,8 @@ private void AssertUserEqual(User expected, User actual) if (expectedCreds.AuthProvider != null) { - Assert.True(expectedCreds.AuthProvider.All(x => actualCreds.AuthProvider.Contains(x))); + Assert.True(expectedCreds.AuthProvider.Config.All(x => actualCreds.AuthProvider.Config.Contains(x))); } - } - } -} + } + } +} diff --git a/tests/KubernetesClient.Tests/QuantityValueTests.cs b/tests/KubernetesClient.Tests/QuantityValueTests.cs index 94fd50bab..f9f0550c0 100644 --- a/tests/KubernetesClient.Tests/QuantityValueTests.cs +++ b/tests/KubernetesClient.Tests/QuantityValueTests.cs @@ -1,244 +1,244 @@ -using System; -using k8s.Models; -using Newtonsoft.Json; -using Xunit; -using static k8s.Models.ResourceQuantity.SuffixFormat; - -namespace k8s.Tests -{ - public class QuantityValueTests - { - [Fact] - public void Deserialize() - { - { - var q = JsonConvert.DeserializeObject("\"12k\""); - Assert.Equal(new ResourceQuantity(12000, 0, DecimalSI), q); - } - } - - [Fact] - public void Parse() - { - foreach (var (input, expect) in new[] - { - ("0", new ResourceQuantity(0, 0, DecimalSI)), - ("0n", new ResourceQuantity(0, 0, DecimalSI)), - ("0u", new ResourceQuantity(0, 0, DecimalSI)), - ("0m", new ResourceQuantity(0, 0, DecimalSI)), - ("0Ki", new ResourceQuantity(0, 0, BinarySI)), - ("0k", new ResourceQuantity(0, 0, DecimalSI)), - ("0Mi", new ResourceQuantity(0, 0, BinarySI)), - ("0M", new ResourceQuantity(0, 0, DecimalSI)), - ("0Gi", new ResourceQuantity(0, 0, BinarySI)), - ("0G", new ResourceQuantity(0, 0, DecimalSI)), - ("0Ti", new ResourceQuantity(0, 0, BinarySI)), - ("0T", new ResourceQuantity(0, 0, DecimalSI)), - - // Quantity less numbers are allowed - ("1", new ResourceQuantity(1, 0, DecimalSI)), - - // Binary suffixes - ("1Ki", new ResourceQuantity(1024, 0, BinarySI)), - ("8Ki", new ResourceQuantity(8 * 1024, 0, BinarySI)), - ("7Mi", new ResourceQuantity(7 * 1024 * 1024, 0, BinarySI)), - ("6Gi", new ResourceQuantity(6L * 1024 * 1024 * 1024, 0, BinarySI)), - ("5Ti", new ResourceQuantity(5L * 1024 * 1024 * 1024 * 1024, 0, BinarySI)), - ("4Pi", new ResourceQuantity(4L * 1024 * 1024 * 1024 * 1024 * 1024, 0, BinarySI)), - ("3Ei", new ResourceQuantity(3L * 1024 * 1024 * 1024 * 1024 * 1024 * 1024, 0, BinarySI)), - - ("10Ti", new ResourceQuantity(10L * 1024 * 1024 * 1024 * 1024, 0, BinarySI)), - ("100Ti", new ResourceQuantity(100L * 1024 * 1024 * 1024 * 1024, 0, BinarySI)), - - // Decimal suffixes - ("5n", new ResourceQuantity(5, -9, DecimalSI)), - ("4u", new ResourceQuantity(4, -6, DecimalSI)), - ("3m", new ResourceQuantity(3, -3, DecimalSI)), - ("9", new ResourceQuantity(9, 0, DecimalSI)), - ("8k", new ResourceQuantity(8, 3, DecimalSI)), - ("50k", new ResourceQuantity(5, 4, DecimalSI)), - ("7M", new ResourceQuantity(7, 6, DecimalSI)), - ("6G", new ResourceQuantity(6, 9, DecimalSI)), - ("5T", new ResourceQuantity(5, 12, DecimalSI)), - ("40T", new ResourceQuantity(4, 13, DecimalSI)), - ("300T", new ResourceQuantity(3, 14, DecimalSI)), - ("2P", new ResourceQuantity(2, 15, DecimalSI)), - ("1E", new ResourceQuantity(1, 18, DecimalSI)), - - // Decimal exponents - ("1E-3", new ResourceQuantity(1, -3, DecimalExponent)), - ("1e3", new ResourceQuantity(1, 3, DecimalExponent)), - ("1E6", new ResourceQuantity(1, 6, DecimalExponent)), - ("1e9", new ResourceQuantity(1, 9, DecimalExponent)), - ("1E12", new ResourceQuantity(1, 12, DecimalExponent)), - ("1e15", new ResourceQuantity(1, 15, DecimalExponent)), - ("1E18", new ResourceQuantity(1, 18, DecimalExponent)), - - // Nonstandard but still parsable - ("1e14", new ResourceQuantity(1, 14, DecimalExponent)), - ("1e13", new ResourceQuantity(1, 13, DecimalExponent)), - ("1e3", new ResourceQuantity(1, 3, DecimalExponent)), - ("100.035k", new ResourceQuantity(100035, 0, DecimalSI)), - - // Things that look like floating point - ("0.001", new ResourceQuantity(1, -3, DecimalSI)), - ("0.0005k", new ResourceQuantity(5, -1, DecimalSI)), - ("0.005", new ResourceQuantity(5, -3, DecimalSI)), - ("0.05", new ResourceQuantity(5, -2, DecimalSI)), - ("0.5", new ResourceQuantity(5, -1, DecimalSI)), - ("0.00050k", new ResourceQuantity(5, -1, DecimalSI)), - ("0.00500", new ResourceQuantity(5, -3, DecimalSI)), - ("0.05000", new ResourceQuantity(5, -2, DecimalSI)), - ("0.50000", new ResourceQuantity(5, -1, DecimalSI)), - ("0.5e0", new ResourceQuantity(5, -1, DecimalExponent)), - ("0.5e-1", new ResourceQuantity(5, -2, DecimalExponent)), - ("0.5e-2", new ResourceQuantity(5, -3, DecimalExponent)), - ("0.5e0", new ResourceQuantity(5, -1, DecimalExponent)), - ("10.035M", new ResourceQuantity(10035, 3, DecimalSI)), - - ("1.2e3", new ResourceQuantity(12, 2, DecimalExponent)), - ("1.3E+6", new ResourceQuantity(13, 5, DecimalExponent)), - ("1.40e9", new ResourceQuantity(14, 8, DecimalExponent)), - ("1.53E12", new ResourceQuantity(153, 10, DecimalExponent)), - ("1.6e15", new ResourceQuantity(16, 14, DecimalExponent)), - ("1.7E18", new ResourceQuantity(17, 17, DecimalExponent)), - - ("9.01", new ResourceQuantity(901, -2, DecimalSI)), - ("8.1k", new ResourceQuantity(81, 2, DecimalSI)), - ("7.123456M", new ResourceQuantity(7123456, 0, DecimalSI)), - ("6.987654321G", new ResourceQuantity(6987654321, 0, DecimalSI)), - ("5.444T", new ResourceQuantity(5444, 9, DecimalSI)), - ("40.1T", new ResourceQuantity(401, 11, DecimalSI)), - ("300.2T", new ResourceQuantity(3002, 11, DecimalSI)), - ("2.5P", new ResourceQuantity(25, 14, DecimalSI)), - ("1.01E", new ResourceQuantity(101, 16, DecimalSI)), - - // Things that saturate/round - ("3.001n", new ResourceQuantity(4, -9, DecimalSI)), - ("1.1E-9", new ResourceQuantity(2, -9, DecimalExponent)), - ("0.0000000001", new ResourceQuantity(1, -9, DecimalSI)), - ("0.0000000005", new ResourceQuantity(1, -9, DecimalSI)), - ("0.00000000050", new ResourceQuantity(1, -9, DecimalSI)), - ("0.5e-9", new ResourceQuantity(1, -9, DecimalExponent)), - ("0.9n", new ResourceQuantity(1, -9, DecimalSI)), - ("0.00000012345", new ResourceQuantity(124, -9, DecimalSI)), - ("0.00000012354", new ResourceQuantity(124, -9, DecimalSI)), - ("9Ei", new ResourceQuantity(ResourceQuantity.MaxAllowed, 0, BinarySI)), - ("9223372036854775807Ki", new ResourceQuantity(ResourceQuantity.MaxAllowed, 0, BinarySI)), - ("12E", new ResourceQuantity(12, 18, DecimalSI)), - - // We'll accept fractional binary stuff, too. - ("100.035Ki", new ResourceQuantity(10243584, -2, BinarySI)), - ("0.5Mi", new ResourceQuantity(.5m * 1024 * 1024, 0, BinarySI)), - ("0.05Gi", new ResourceQuantity(536870912, -1, BinarySI)), - ("0.025Ti", new ResourceQuantity(274877906944, -1, BinarySI)), - - // Things written by trolls - ("0.000000000001Ki", new ResourceQuantity(2, -9, DecimalSI)), // rounds up, changes format - (".001", new ResourceQuantity(1, -3, DecimalSI)), - (".0001k", new ResourceQuantity(100, -3, DecimalSI)), - ("1.", new ResourceQuantity(1, 0, DecimalSI)), - ("1.G", new ResourceQuantity(1, 9, DecimalSI)) - }) - { - Assert.Equal(expect.ToString(), new ResourceQuantity(input).ToString()); - } - - foreach (var s in new[] - { - "1.1.M", - "1+1.0M", - "0.1mi", - "0.1am", - "aoeu", - ".5i", - "1i", - "-3.01i", - "-3.01e-" - - // TODO support trailing whitespace is forbidden -// " 1", -// "1 " - }) - { - Assert.ThrowsAny(() => { new ResourceQuantity(s); }); - } - } +using System; +using k8s.Models; +using Newtonsoft.Json; +using Xunit; +using static k8s.Models.ResourceQuantity.SuffixFormat; + +namespace k8s.Tests +{ + public class QuantityValueTests + { + [Fact] + public void Deserialize() + { + { + var q = JsonConvert.DeserializeObject("\"12k\""); + Assert.Equal(new ResourceQuantity(12000, 0, DecimalSI), q); + } + } + + [Fact] + public void Parse() + { + foreach (var (input, expect) in new[] + { + ("0", new ResourceQuantity(0, 0, DecimalSI)), + ("0n", new ResourceQuantity(0, 0, DecimalSI)), + ("0u", new ResourceQuantity(0, 0, DecimalSI)), + ("0m", new ResourceQuantity(0, 0, DecimalSI)), + ("0Ki", new ResourceQuantity(0, 0, BinarySI)), + ("0k", new ResourceQuantity(0, 0, DecimalSI)), + ("0Mi", new ResourceQuantity(0, 0, BinarySI)), + ("0M", new ResourceQuantity(0, 0, DecimalSI)), + ("0Gi", new ResourceQuantity(0, 0, BinarySI)), + ("0G", new ResourceQuantity(0, 0, DecimalSI)), + ("0Ti", new ResourceQuantity(0, 0, BinarySI)), + ("0T", new ResourceQuantity(0, 0, DecimalSI)), + + // Quantity less numbers are allowed + ("1", new ResourceQuantity(1, 0, DecimalSI)), + + // Binary suffixes + ("1Ki", new ResourceQuantity(1024, 0, BinarySI)), + ("8Ki", new ResourceQuantity(8 * 1024, 0, BinarySI)), + ("7Mi", new ResourceQuantity(7 * 1024 * 1024, 0, BinarySI)), + ("6Gi", new ResourceQuantity(6L * 1024 * 1024 * 1024, 0, BinarySI)), + ("5Ti", new ResourceQuantity(5L * 1024 * 1024 * 1024 * 1024, 0, BinarySI)), + ("4Pi", new ResourceQuantity(4L * 1024 * 1024 * 1024 * 1024 * 1024, 0, BinarySI)), + ("3Ei", new ResourceQuantity(3L * 1024 * 1024 * 1024 * 1024 * 1024 * 1024, 0, BinarySI)), + + ("10Ti", new ResourceQuantity(10L * 1024 * 1024 * 1024 * 1024, 0, BinarySI)), + ("100Ti", new ResourceQuantity(100L * 1024 * 1024 * 1024 * 1024, 0, BinarySI)), + + // Decimal suffixes + ("5n", new ResourceQuantity(5, -9, DecimalSI)), + ("4u", new ResourceQuantity(4, -6, DecimalSI)), + ("3m", new ResourceQuantity(3, -3, DecimalSI)), + ("9", new ResourceQuantity(9, 0, DecimalSI)), + ("8k", new ResourceQuantity(8, 3, DecimalSI)), + ("50k", new ResourceQuantity(5, 4, DecimalSI)), + ("7M", new ResourceQuantity(7, 6, DecimalSI)), + ("6G", new ResourceQuantity(6, 9, DecimalSI)), + ("5T", new ResourceQuantity(5, 12, DecimalSI)), + ("40T", new ResourceQuantity(4, 13, DecimalSI)), + ("300T", new ResourceQuantity(3, 14, DecimalSI)), + ("2P", new ResourceQuantity(2, 15, DecimalSI)), + ("1E", new ResourceQuantity(1, 18, DecimalSI)), + + // Decimal exponents + ("1E-3", new ResourceQuantity(1, -3, DecimalExponent)), + ("1e3", new ResourceQuantity(1, 3, DecimalExponent)), + ("1E6", new ResourceQuantity(1, 6, DecimalExponent)), + ("1e9", new ResourceQuantity(1, 9, DecimalExponent)), + ("1E12", new ResourceQuantity(1, 12, DecimalExponent)), + ("1e15", new ResourceQuantity(1, 15, DecimalExponent)), + ("1E18", new ResourceQuantity(1, 18, DecimalExponent)), + + // Nonstandard but still parsable + ("1e14", new ResourceQuantity(1, 14, DecimalExponent)), + ("1e13", new ResourceQuantity(1, 13, DecimalExponent)), + ("1e3", new ResourceQuantity(1, 3, DecimalExponent)), + ("100.035k", new ResourceQuantity(100035, 0, DecimalSI)), + + // Things that look like floating point + ("0.001", new ResourceQuantity(1, -3, DecimalSI)), + ("0.0005k", new ResourceQuantity(5, -1, DecimalSI)), + ("0.005", new ResourceQuantity(5, -3, DecimalSI)), + ("0.05", new ResourceQuantity(5, -2, DecimalSI)), + ("0.5", new ResourceQuantity(5, -1, DecimalSI)), + ("0.00050k", new ResourceQuantity(5, -1, DecimalSI)), + ("0.00500", new ResourceQuantity(5, -3, DecimalSI)), + ("0.05000", new ResourceQuantity(5, -2, DecimalSI)), + ("0.50000", new ResourceQuantity(5, -1, DecimalSI)), + ("0.5e0", new ResourceQuantity(5, -1, DecimalExponent)), + ("0.5e-1", new ResourceQuantity(5, -2, DecimalExponent)), + ("0.5e-2", new ResourceQuantity(5, -3, DecimalExponent)), + ("0.5e0", new ResourceQuantity(5, -1, DecimalExponent)), + ("10.035M", new ResourceQuantity(10035, 3, DecimalSI)), + + ("1.2e3", new ResourceQuantity(12, 2, DecimalExponent)), + ("1.3E+6", new ResourceQuantity(13, 5, DecimalExponent)), + ("1.40e9", new ResourceQuantity(14, 8, DecimalExponent)), + ("1.53E12", new ResourceQuantity(153, 10, DecimalExponent)), + ("1.6e15", new ResourceQuantity(16, 14, DecimalExponent)), + ("1.7E18", new ResourceQuantity(17, 17, DecimalExponent)), + + ("9.01", new ResourceQuantity(901, -2, DecimalSI)), + ("8.1k", new ResourceQuantity(81, 2, DecimalSI)), + ("7.123456M", new ResourceQuantity(7123456, 0, DecimalSI)), + ("6.987654321G", new ResourceQuantity(6987654321, 0, DecimalSI)), + ("5.444T", new ResourceQuantity(5444, 9, DecimalSI)), + ("40.1T", new ResourceQuantity(401, 11, DecimalSI)), + ("300.2T", new ResourceQuantity(3002, 11, DecimalSI)), + ("2.5P", new ResourceQuantity(25, 14, DecimalSI)), + ("1.01E", new ResourceQuantity(101, 16, DecimalSI)), + + // Things that saturate/round + ("3.001n", new ResourceQuantity(4, -9, DecimalSI)), + ("1.1E-9", new ResourceQuantity(2, -9, DecimalExponent)), + ("0.0000000001", new ResourceQuantity(1, -9, DecimalSI)), + ("0.0000000005", new ResourceQuantity(1, -9, DecimalSI)), + ("0.00000000050", new ResourceQuantity(1, -9, DecimalSI)), + ("0.5e-9", new ResourceQuantity(1, -9, DecimalExponent)), + ("0.9n", new ResourceQuantity(1, -9, DecimalSI)), + ("0.00000012345", new ResourceQuantity(124, -9, DecimalSI)), + ("0.00000012354", new ResourceQuantity(124, -9, DecimalSI)), + ("9Ei", new ResourceQuantity(ResourceQuantity.MaxAllowed, 0, BinarySI)), + ("9223372036854775807Ki", new ResourceQuantity(ResourceQuantity.MaxAllowed, 0, BinarySI)), + ("12E", new ResourceQuantity(12, 18, DecimalSI)), + + // We'll accept fractional binary stuff, too. + ("100.035Ki", new ResourceQuantity(10243584, -2, BinarySI)), + ("0.5Mi", new ResourceQuantity(.5m * 1024 * 1024, 0, BinarySI)), + ("0.05Gi", new ResourceQuantity(536870912, -1, BinarySI)), + ("0.025Ti", new ResourceQuantity(274877906944, -1, BinarySI)), + + // Things written by trolls + ("0.000000000001Ki", new ResourceQuantity(2, -9, DecimalSI)), // rounds up, changes format + (".001", new ResourceQuantity(1, -3, DecimalSI)), + (".0001k", new ResourceQuantity(100, -3, DecimalSI)), + ("1.", new ResourceQuantity(1, 0, DecimalSI)), + ("1.G", new ResourceQuantity(1, 9, DecimalSI)) + }) + { + Assert.Equal(expect.ToString(), new ResourceQuantity(input).ToString()); + } + + foreach (var s in new[] + { + "1.1.M", + "1+1.0M", + "0.1mi", + "0.1am", + "aoeu", + ".5i", + "1i", + "-3.01i", + "-3.01e-" + + // TODO support trailing whitespace is forbidden +// " 1", +// "1 " + }) + { + Assert.ThrowsAny(() => { new ResourceQuantity(s); }); + } + } [Fact] public void ConstructorTest() { Assert.Throws(() => new ResourceQuantity(string.Empty)); } - - [Fact] - public void QuantityString() - { - foreach (var (input, expect, alternate) in new[] - { - (new ResourceQuantity(1024 * 1024 * 1024, 0, BinarySI), "1Gi", "1024Mi"), - (new ResourceQuantity(300 * 1024 * 1024, 0, BinarySI), "300Mi", "307200Ki"), - (new ResourceQuantity(6 * 1024, 0, BinarySI), "6Ki", ""), - (new ResourceQuantity(1001 * 1024 * 1024 * 1024L, 0, BinarySI), "1001Gi", "1025024Mi"), - (new ResourceQuantity(1024 * 1024 * 1024 * 1024L, 0, BinarySI), "1Ti", "1024Gi"), - (new ResourceQuantity(5, 0, BinarySI), "5", "5000m"), - (new ResourceQuantity(500, -3, BinarySI), "500m", "0.5"), - (new ResourceQuantity(1, 9, DecimalSI), "1G", "1000M"), - (new ResourceQuantity(1000, 6, DecimalSI), "1G", "0.001T"), - (new ResourceQuantity(1000000, 3, DecimalSI), "1G", ""), - (new ResourceQuantity(1000000000, 0, DecimalSI), "1G", ""), - (new ResourceQuantity(1, -3, DecimalSI), "1m", "1000u"), - (new ResourceQuantity(80, -3, DecimalSI), "80m", ""), - (new ResourceQuantity(1080, -3, DecimalSI), "1080m", "1.08"), - (new ResourceQuantity(108, -2, DecimalSI), "1080m", "1080000000n"), - (new ResourceQuantity(10800, -4, DecimalSI), "1080m", ""), - (new ResourceQuantity(300, 6, DecimalSI), "300M", ""), - (new ResourceQuantity(1, 12, DecimalSI), "1T", ""), - (new ResourceQuantity(1234567, 6, DecimalSI), "1234567M", ""), - (new ResourceQuantity(1234567, -3, BinarySI), "1234567m", ""), - (new ResourceQuantity(3, 3, DecimalSI), "3k", ""), - (new ResourceQuantity(1025, 0, BinarySI), "1025", ""), - (new ResourceQuantity(0, 0, DecimalSI), "0", ""), - (new ResourceQuantity(0, 0, BinarySI), "0", ""), - (new ResourceQuantity(1, 9, DecimalExponent), "1e9", ".001e12"), - (new ResourceQuantity(1, -3, DecimalExponent), "1e-3", "0.001e0"), - (new ResourceQuantity(1, -9, DecimalExponent), "1e-9", "1000e-12"), - (new ResourceQuantity(80, -3, DecimalExponent), "80e-3", ""), - (new ResourceQuantity(300, 6, DecimalExponent), "300e6", ""), - (new ResourceQuantity(1, 12, DecimalExponent), "1e12", ""), - (new ResourceQuantity(1, 3, DecimalExponent), "1e3", ""), - (new ResourceQuantity(3, 3, DecimalExponent), "3e3", ""), - (new ResourceQuantity(3, 3, DecimalSI), "3k", ""), - (new ResourceQuantity(0, 0, DecimalExponent), "0", "00"), - (new ResourceQuantity(1, -9, DecimalSI), "1n", ""), - (new ResourceQuantity(80, -9, DecimalSI), "80n", ""), - (new ResourceQuantity(1080, -9, DecimalSI), "1080n", ""), - (new ResourceQuantity(108, -8, DecimalSI), "1080n", ""), - (new ResourceQuantity(10800, -10, DecimalSI), "1080n", ""), - (new ResourceQuantity(1, -6, DecimalSI), "1u", ""), - (new ResourceQuantity(80, -6, DecimalSI), "80u", ""), - (new ResourceQuantity(1080, -6, DecimalSI), "1080u", "") - }) - { - Assert.Equal(expect, input.ToString()); - Assert.Equal(expect, new ResourceQuantity(expect).ToString()); - - if (string.IsNullOrEmpty(alternate)) - { - continue; - } - - Assert.Equal(expect, new ResourceQuantity(alternate).ToString()); - } - } - - [Fact] - public void Serialize() - { - { - ResourceQuantity quantity = 12000; - Assert.Equal("\"12e3\"", JsonConvert.SerializeObject(quantity)); - } + + [Fact] + public void QuantityString() + { + foreach (var (input, expect, alternate) in new[] + { + (new ResourceQuantity(1024 * 1024 * 1024, 0, BinarySI), "1Gi", "1024Mi"), + (new ResourceQuantity(300 * 1024 * 1024, 0, BinarySI), "300Mi", "307200Ki"), + (new ResourceQuantity(6 * 1024, 0, BinarySI), "6Ki", ""), + (new ResourceQuantity(1001 * 1024 * 1024 * 1024L, 0, BinarySI), "1001Gi", "1025024Mi"), + (new ResourceQuantity(1024 * 1024 * 1024 * 1024L, 0, BinarySI), "1Ti", "1024Gi"), + (new ResourceQuantity(5, 0, BinarySI), "5", "5000m"), + (new ResourceQuantity(500, -3, BinarySI), "500m", "0.5"), + (new ResourceQuantity(1, 9, DecimalSI), "1G", "1000M"), + (new ResourceQuantity(1000, 6, DecimalSI), "1G", "0.001T"), + (new ResourceQuantity(1000000, 3, DecimalSI), "1G", ""), + (new ResourceQuantity(1000000000, 0, DecimalSI), "1G", ""), + (new ResourceQuantity(1, -3, DecimalSI), "1m", "1000u"), + (new ResourceQuantity(80, -3, DecimalSI), "80m", ""), + (new ResourceQuantity(1080, -3, DecimalSI), "1080m", "1.08"), + (new ResourceQuantity(108, -2, DecimalSI), "1080m", "1080000000n"), + (new ResourceQuantity(10800, -4, DecimalSI), "1080m", ""), + (new ResourceQuantity(300, 6, DecimalSI), "300M", ""), + (new ResourceQuantity(1, 12, DecimalSI), "1T", ""), + (new ResourceQuantity(1234567, 6, DecimalSI), "1234567M", ""), + (new ResourceQuantity(1234567, -3, BinarySI), "1234567m", ""), + (new ResourceQuantity(3, 3, DecimalSI), "3k", ""), + (new ResourceQuantity(1025, 0, BinarySI), "1025", ""), + (new ResourceQuantity(0, 0, DecimalSI), "0", ""), + (new ResourceQuantity(0, 0, BinarySI), "0", ""), + (new ResourceQuantity(1, 9, DecimalExponent), "1e9", ".001e12"), + (new ResourceQuantity(1, -3, DecimalExponent), "1e-3", "0.001e0"), + (new ResourceQuantity(1, -9, DecimalExponent), "1e-9", "1000e-12"), + (new ResourceQuantity(80, -3, DecimalExponent), "80e-3", ""), + (new ResourceQuantity(300, 6, DecimalExponent), "300e6", ""), + (new ResourceQuantity(1, 12, DecimalExponent), "1e12", ""), + (new ResourceQuantity(1, 3, DecimalExponent), "1e3", ""), + (new ResourceQuantity(3, 3, DecimalExponent), "3e3", ""), + (new ResourceQuantity(3, 3, DecimalSI), "3k", ""), + (new ResourceQuantity(0, 0, DecimalExponent), "0", "00"), + (new ResourceQuantity(1, -9, DecimalSI), "1n", ""), + (new ResourceQuantity(80, -9, DecimalSI), "80n", ""), + (new ResourceQuantity(1080, -9, DecimalSI), "1080n", ""), + (new ResourceQuantity(108, -8, DecimalSI), "1080n", ""), + (new ResourceQuantity(10800, -10, DecimalSI), "1080n", ""), + (new ResourceQuantity(1, -6, DecimalSI), "1u", ""), + (new ResourceQuantity(80, -6, DecimalSI), "80u", ""), + (new ResourceQuantity(1080, -6, DecimalSI), "1080u", "") + }) + { + Assert.Equal(expect, input.ToString()); + Assert.Equal(expect, new ResourceQuantity(expect).ToString()); + + if (string.IsNullOrEmpty(alternate)) + { + continue; + } + + Assert.Equal(expect, new ResourceQuantity(alternate).ToString()); + } + } + + [Fact] + public void Serialize() + { + { + ResourceQuantity quantity = 12000; + Assert.Equal("\"12e3\"", JsonConvert.SerializeObject(quantity)); + } } [Fact] @@ -253,6 +253,6 @@ public void SerializeYaml() { var value = Yaml.SaveToString(new ResourceQuantity(1, -1, DecimalSI)); Assert.Equal("100m", value); - } - } -} + } + } +} diff --git a/tests/KubernetesClient.Tests/V1StatusObjectViewTests.cs b/tests/KubernetesClient.Tests/V1StatusObjectViewTests.cs index 4ee6bf700..c7213922e 100644 --- a/tests/KubernetesClient.Tests/V1StatusObjectViewTests.cs +++ b/tests/KubernetesClient.Tests/V1StatusObjectViewTests.cs @@ -1,12 +1,12 @@ -using k8s.Models; -using k8s.Tests.Mock; -using Newtonsoft.Json; -using Xunit; +using k8s.Models; +using k8s.Tests.Mock; +using Newtonsoft.Json; +using Xunit; using Xunit.Abstractions; - -namespace k8s.Tests -{ - public class V1StatusObjectViewTests + +namespace k8s.Tests +{ + public class V1StatusObjectViewTests { private readonly ITestOutputHelper testOutput; @@ -14,63 +14,63 @@ public V1StatusObjectViewTests(ITestOutputHelper testOutput) { this.testOutput = testOutput; } - - [Fact] - public void ReturnStatus() - { - var v1Status = new V1Status - { - Message = "test message", - Status = "test status" - }; - - using (var server = new MockKubeApiServer(testOutput, resp: JsonConvert.SerializeObject(v1Status))) - { - var client = new Kubernetes(new KubernetesClientConfiguration - { - Host = server.Uri.ToString() - }); - - var status = client.DeleteNamespace(new V1DeleteOptions(), "test"); - - Assert.False(status.HasObject); - Assert.Equal(v1Status.Message, status.Message); - Assert.Equal(v1Status.Status, status.Status); - } - } - - [Fact] - public void ReturnObject() - { - var corev1Namespace = new V1Namespace() - { - Metadata = new V1ObjectMeta() - { - Name = "test name" - }, - Status = new V1NamespaceStatus() - { - Phase = "test termating" - } - }; - - using (var server = new MockKubeApiServer(testOutput, resp: JsonConvert.SerializeObject(corev1Namespace))) - { - var client = new Kubernetes(new KubernetesClientConfiguration - { - Host = server.Uri.ToString() - }); - - var status = client.DeleteNamespace(new V1DeleteOptions(), "test"); - - Assert.True(status.HasObject); - - var obj = status.ObjectView(); - - Assert.Equal(obj.Metadata.Name, corev1Namespace.Metadata.Name); - Assert.Equal(obj.Status.Phase, corev1Namespace.Status.Phase); - } - - } - } - } + + [Fact] + public void ReturnStatus() + { + var v1Status = new V1Status + { + Message = "test message", + Status = "test status" + }; + + using (var server = new MockKubeApiServer(testOutput, resp: JsonConvert.SerializeObject(v1Status))) + { + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString() + }); + + var status = client.DeleteNamespace(new V1DeleteOptions(), "test"); + + Assert.False(status.HasObject); + Assert.Equal(v1Status.Message, status.Message); + Assert.Equal(v1Status.Status, status.Status); + } + } + + [Fact] + public void ReturnObject() + { + var corev1Namespace = new V1Namespace() + { + Metadata = new V1ObjectMeta() + { + Name = "test name" + }, + Status = new V1NamespaceStatus() + { + Phase = "test termating" + } + }; + + using (var server = new MockKubeApiServer(testOutput, resp: JsonConvert.SerializeObject(corev1Namespace))) + { + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString() + }); + + var status = client.DeleteNamespace(new V1DeleteOptions(), "test"); + + Assert.True(status.HasObject); + + var obj = status.ObjectView(); + + Assert.Equal(obj.Metadata.Name, corev1Namespace.Metadata.Name); + Assert.Equal(obj.Status.Phase, corev1Namespace.Status.Phase); + } + + } + } + } diff --git a/tests/KubernetesClient.Tests/WatchTests.cs b/tests/KubernetesClient.Tests/WatchTests.cs index 95c0e96db..b9c2fd7ea 100644 --- a/tests/KubernetesClient.Tests/WatchTests.cs +++ b/tests/KubernetesClient.Tests/WatchTests.cs @@ -1,5 +1,7 @@ using System; using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Diagnostics; using System.IO; using System.Linq; using System.Net; @@ -26,7 +28,7 @@ public class WatchTests private static readonly string MockModifiedStreamLine = BuildWatchEventStreamLine(WatchEventType.Modified); private static readonly string MockErrorStreamLine = BuildWatchEventStreamLine(WatchEventType.Error); private static readonly string MockBadStreamLine = "bad json"; - private static readonly TimeSpan TestTimeout = TimeSpan.FromSeconds(15); + private static readonly TimeSpan TestTimeout = TimeSpan.FromSeconds(150); private readonly ITestOutputHelper testOutput; @@ -84,8 +86,9 @@ await Assert.ThrowsAnyAsync(() => [Fact] public async Task SuriveBadLine() { - AsyncCountdownEvent eventsReceived = new AsyncCountdownEvent(4 /* first line of response is eaten by WatcherDelegatingHandler */); + AsyncCountdownEvent eventsReceived = new AsyncCountdownEvent(5); AsyncManualResetEvent serverShutdown = new AsyncManualResetEvent(); + AsyncManualResetEvent connectionClosed = new AsyncManualResetEvent(); using (var server = new MockKubeApiServer( @@ -130,7 +133,8 @@ public async Task SuriveBadLine() errors += 1; eventsReceived.Signal(); - } + }, + onClosed: connectionClosed.Set ); // wait server yields all events @@ -144,18 +148,22 @@ public async Task SuriveBadLine() Assert.Contains(WatchEventType.Added, events); Assert.Contains(WatchEventType.Modified, events); - Assert.Equal(2, errors); + Assert.Equal(3, errors); Assert.True(watcher.Watching); // Let the server know it can initiate a shut down. serverShutdown.Set(); + + await Task.WhenAny(connectionClosed.WaitAsync(), Task.Delay(TestTimeout)); + Assert.True(connectionClosed.IsSet); } } [Fact] public async Task DisposeWatch() { + var connectionClosed = new AsyncManualResetEvent(); var eventsReceived = new AsyncCountdownEvent(1); bool serverRunning = true; @@ -185,7 +193,8 @@ public async Task DisposeWatch() { events.Add(type); eventsReceived.Signal(); - } + }, + onClosed: connectionClosed.Set ); // wait at least an event @@ -207,13 +216,14 @@ public async Task DisposeWatch() var timeout = Task.Delay(TestTimeout); - while(!timeout.IsCompleted && watcher.Watching) + while (!timeout.IsCompleted && watcher.Watching) { await Task.Yield(); } Assert.Empty(events); Assert.False(watcher.Watching); + Assert.True(connectionClosed.IsSet); } } @@ -222,10 +232,10 @@ public async Task WatchAllEvents() { AsyncCountdownEvent eventsReceived = new AsyncCountdownEvent(4 /* first line of response is eaten by WatcherDelegatingHandler */); AsyncManualResetEvent serverShutdown = new AsyncManualResetEvent(); + var waitForClosed = new AsyncManualResetEvent(false); using (var server = new MockKubeApiServer(testOutput, async httpContext => { - await WriteStreamLine(httpContext, MockKubeApiServer.MockPodResponse); await WriteStreamLine(httpContext, MockAddedEventStreamLine); await WriteStreamLine(httpContext, MockDeletedStreamLine); await WriteStreamLine(httpContext, MockModifiedStreamLine); @@ -241,8 +251,7 @@ public async Task WatchAllEvents() Host = server.Uri.ToString() }); - var listTask = client.ListNamespacedPodWithHttpMessagesAsync("default", watch: true).Result; - + var listTask = await client.ListNamespacedPodWithHttpMessagesAsync("default", watch: true); var events = new HashSet(); var errors = 0; @@ -261,7 +270,8 @@ public async Task WatchAllEvents() errors += 1; eventsReceived.Signal(); - } + }, + onClosed: waitForClosed.Set ); // wait server yields all events @@ -282,6 +292,83 @@ public async Task WatchAllEvents() Assert.True(watcher.Watching); serverShutdown.Set(); + + await Task.WhenAny(waitForClosed.WaitAsync(), Task.Delay(TestTimeout)); + Assert.True(waitForClosed.IsSet); + Assert.False(watcher.Watching); + } + } + + [Fact] + public async Task WatchEventsWithTimeout() + { + AsyncCountdownEvent eventsReceived = new AsyncCountdownEvent(5); + AsyncManualResetEvent serverShutdown = new AsyncManualResetEvent(); + AsyncManualResetEvent connectionClosed = new AsyncManualResetEvent(); + + using (var server = new MockKubeApiServer(testOutput, async httpContext => + { + await WriteStreamLine(httpContext, MockKubeApiServer.MockPodResponse); + await Task.Delay(TimeSpan.FromSeconds(120)); // The default timeout is 100 seconds + await WriteStreamLine(httpContext, MockAddedEventStreamLine); + await WriteStreamLine(httpContext, MockDeletedStreamLine); + await WriteStreamLine(httpContext, MockModifiedStreamLine); + await WriteStreamLine(httpContext, MockErrorStreamLine); + + // make server alive, cannot set to int.max as of it would block response + await serverShutdown.WaitAsync(); + return false; + })) + { + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString() + }); + + var listTask = await client.ListNamespacedPodWithHttpMessagesAsync("default", watch: true); + + var events = new HashSet(); + var errors = 0; + + var watcher = listTask.Watch( + (type, item) => + { + testOutput.WriteLine($"Watcher received '{type}' event."); + + events.Add(type); + eventsReceived.Signal(); + }, + error => + { + testOutput.WriteLine($"Watcher received '{error.GetType().FullName}' error."); + + errors += 1; + eventsReceived.Signal(); + }, + onClosed: connectionClosed.Set + ); + + // wait server yields all events + await Task.WhenAny(eventsReceived.WaitAsync(), Task.Delay(TestTimeout)); + + Assert.True( + eventsReceived.CurrentCount == 0, + "Timed out waiting for all events / errors to be received." + ); + + Assert.Contains(WatchEventType.Added, events); + Assert.Contains(WatchEventType.Deleted, events); + Assert.Contains(WatchEventType.Modified, events); + Assert.Contains(WatchEventType.Error, events); + + Assert.Equal(1, errors); + + Assert.True(watcher.Watching); + + serverShutdown.Set(); + + await Task.WhenAny(connectionClosed.WaitAsync(), Task.Delay(TestTimeout)); + Assert.True(connectionClosed.IsSet); } } @@ -291,6 +378,8 @@ public async Task WatchServerDisconnect() Exception exceptionCatched = null; var exceptionReceived = new AsyncManualResetEvent(false); var waitForException = new AsyncManualResetEvent(false); + var waitForClosed = new AsyncManualResetEvent(false); + using (var server = new MockKubeApiServer(testOutput, async httpContext => { await WriteStreamLine(httpContext, MockKubeApiServer.MockPodResponse); @@ -308,12 +397,13 @@ public async Task WatchServerDisconnect() waitForException.Set(); Watcher watcher; watcher = listTask.Watch( - (type, item) => { }, - e => + onEvent: (type, item) => { }, + onError: e => { exceptionCatched = e; exceptionReceived.Set(); - }); + }, + onClosed: waitForClosed.Set); // wait server down await Task.WhenAny(exceptionReceived.WaitAsync(), Task.Delay(TestTimeout)); @@ -323,6 +413,8 @@ public async Task WatchServerDisconnect() "Timed out waiting for exception" ); + await Task.WhenAny(waitForClosed.WaitAsync(), Task.Delay(TestTimeout)); + Assert.True(waitForClosed.IsSet); Assert.False(watcher.Watching); Assert.IsType(exceptionCatched); } @@ -383,7 +475,7 @@ public async Task TestWatchWithHandlers() await Task.WhenAny(eventsReceived.WaitAsync(), Task.Delay(TestTimeout)); Assert.True( - eventsReceived.CurrentCount == 0, + eventsReceived.CurrentCount == 0, "Timed out waiting for all events / errors to be received." ); @@ -395,5 +487,226 @@ public async Task TestWatchWithHandlers() serverShutdown.Set(); } } + + [Fact] + public async Task DirectWatchAllEvents() + { + AsyncCountdownEvent eventsReceived = new AsyncCountdownEvent(4); + AsyncManualResetEvent serverShutdown = new AsyncManualResetEvent(); + AsyncManualResetEvent connectionClosed = new AsyncManualResetEvent(); + + using (var server = new MockKubeApiServer(testOutput, async httpContext => + { + await WriteStreamLine(httpContext, MockAddedEventStreamLine); + await WriteStreamLine(httpContext, MockDeletedStreamLine); + await WriteStreamLine(httpContext, MockModifiedStreamLine); + await WriteStreamLine(httpContext, MockErrorStreamLine); + + // make server alive, cannot set to int.max as of it would block response + await serverShutdown.WaitAsync(); + return false; + })) + { + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString() + }); + + var events = new HashSet(); + var errors = 0; + + var watcher = await client.WatchNamespacedPodAsync( + name: "myPod", + @namespace: "default", + onEvent: + (type, item) => + { + testOutput.WriteLine($"Watcher received '{type}' event."); + + events.Add(type); + eventsReceived.Signal(); + }, + onError: + error => + { + testOutput.WriteLine($"Watcher received '{error.GetType().FullName}' error."); + + errors += 1; + eventsReceived.Signal(); + }, + onClosed: connectionClosed.Set + ); + + // wait server yields all events + await Task.WhenAny(eventsReceived.WaitAsync(), Task.Delay(TestTimeout)); + + Assert.True( + eventsReceived.CurrentCount == 0, + "Timed out waiting for all events / errors to be received." + ); + + Assert.Contains(WatchEventType.Added, events); + Assert.Contains(WatchEventType.Deleted, events); + Assert.Contains(WatchEventType.Modified, events); + Assert.Contains(WatchEventType.Error, events); + + Assert.Equal(0, errors); + + Assert.True(watcher.Watching); + + serverShutdown.Set(); + + await Task.WhenAny(connectionClosed.WaitAsync(), Task.Delay(TestTimeout)); + Assert.True(connectionClosed.IsSet); + } + } + + [Fact(Skip = "Integration Test")] + public async Task WatcherIntegrationTest() + { + var kubernetesConfig = KubernetesClientConfiguration.BuildConfigFromConfigFile(kubeconfigPath: @"C:\Users\frede\Source\Repos\cloud\minikube.config"); + var kubernetes = new Kubernetes(kubernetesConfig); + + var job = await kubernetes.CreateNamespacedJobAsync( + new V1Job() + { + ApiVersion = "batch/v1", + Kind = V1Job.KubeKind, + Metadata = new V1ObjectMeta() + { + Name = nameof(WatcherIntegrationTest).ToLowerInvariant() + }, + Spec = new V1JobSpec() + { + + Template = new V1PodTemplateSpec() + { + Spec = new V1PodSpec() + { + Containers = new List() + { + new V1Container() + { + Image = "ubuntu/xenial", + Name = "runner", + Command = new List() + { + "/bin/bash", + "-c", + "--" + }, + Args = new List() + { + "trap : TERM INT; sleep infinity & wait" + } + } + }, + RestartPolicy = "Never" + }, + } + } + }, + "default"); + + Collection> events = new Collection>(); + + AsyncManualResetEvent started = new AsyncManualResetEvent(); + AsyncManualResetEvent connectionClosed = new AsyncManualResetEvent(); + + var watcher = await kubernetes.WatchNamespacedJobAsync( + job.Metadata.Name, + job.Metadata.NamespaceProperty, + job.Metadata.ResourceVersion, + timeoutSeconds: 30, + onEvent: + (type, source) => + { + Debug.WriteLine($"Watcher 1: {type}, {source}"); + events.Add(new Tuple(type, source)); + job = source; + started.Set(); + }, + onClosed: connectionClosed.Set).ConfigureAwait(false); + + await started.WaitAsync(); + + await Task.WhenAny(connectionClosed.WaitAsync(), Task.Delay(TimeSpan.FromMinutes(3))); + Assert.True(connectionClosed.IsSet); + + await kubernetes.DeleteNamespacedJobAsync( + new V1DeleteOptions(), + job.Metadata.Name, + job.Metadata.NamespaceProperty); + } + + [Fact(Skip = "https://github.com/kubernetes-client/csharp/issues/165")] + public async Task DirectWatchEventsWithTimeout() + { + AsyncCountdownEvent eventsReceived = new AsyncCountdownEvent(4); + AsyncManualResetEvent serverShutdown = new AsyncManualResetEvent(); + + using (var server = new MockKubeApiServer(testOutput, async httpContext => + { + await Task.Delay(TimeSpan.FromSeconds(120)); // The default timeout is 100 seconds + await WriteStreamLine(httpContext, MockAddedEventStreamLine); + await WriteStreamLine(httpContext, MockDeletedStreamLine); + await WriteStreamLine(httpContext, MockModifiedStreamLine); + await WriteStreamLine(httpContext, MockErrorStreamLine); + + // make server alive, cannot set to int.max as of it would block response + await serverShutdown.WaitAsync(); + return false; + })) + { + var client = new Kubernetes(new KubernetesClientConfiguration + { + Host = server.Uri.ToString() + }); + + var events = new HashSet(); + var errors = 0; + + var watcher = await client.WatchNamespacedPodAsync( + name: "myPod", + @namespace: "default", + onEvent: + (type, item) => + { + testOutput.WriteLine($"Watcher received '{type}' event."); + + events.Add(type); + eventsReceived.Signal(); + }, + onError: + error => + { + testOutput.WriteLine($"Watcher received '{error.GetType().FullName}' error."); + + errors += 1; + eventsReceived.Signal(); + } + ); + + // wait server yields all events + await Task.WhenAny(eventsReceived.WaitAsync(), Task.Delay(TestTimeout)); + + Assert.True( + eventsReceived.CurrentCount == 0, + "Timed out waiting for all events / errors to be received." + ); + + Assert.Contains(WatchEventType.Added, events); + Assert.Contains(WatchEventType.Deleted, events); + Assert.Contains(WatchEventType.Modified, events); + Assert.Contains(WatchEventType.Error, events); + + Assert.Equal(0, errors); + + Assert.True(watcher.Watching); + + serverShutdown.Set(); + } + } + } } diff --git a/tests/KubernetesClient.Tests/WatcherTests.cs b/tests/KubernetesClient.Tests/WatcherTests.cs index 03a7518cb..1aa71ce7d 100644 --- a/tests/KubernetesClient.Tests/WatcherTests.cs +++ b/tests/KubernetesClient.Tests/WatcherTests.cs @@ -5,7 +5,7 @@ using System.Threading; using Xunit; -namespace k8s.tests +namespace k8s.Tests { public class WatcherTests { diff --git a/tests/KubernetesClient.Tests/YamlTests.cs b/tests/KubernetesClient.Tests/YamlTests.cs index 4bf884c7a..2da6801b7 100644 --- a/tests/KubernetesClient.Tests/YamlTests.cs +++ b/tests/KubernetesClient.Tests/YamlTests.cs @@ -1,4 +1,7 @@ +using System; +using System.Collections.Generic; using System.IO; +using System.Linq; using k8s.Models; using Xunit; @@ -14,9 +17,9 @@ public void LoadFromString() name: foo "; - var obj = Yaml.LoadFromString(content); + var obj = Yaml.LoadFromString(content); - Assert.Equal("foo", obj.Metadata.Name); + Assert.Equal("foo", obj.Metadata.Name); } [Fact] @@ -50,10 +53,26 @@ public void WriteToString() }; var yaml = Yaml.SaveToString(pod); - Assert.Equal(@"apiVersion: v1 + Assert.True(ToLines(@"apiVersion: v1 kind: Pod metadata: - name: foo", yaml); + name: foo").SequenceEqual(ToLines(yaml))); + } + + private static IEnumerable ToLines(string s) + { + using (var reader = new StringReader(s)) + { + for (;;) + { + var line = reader.ReadLine(); + if (line == null) + { + yield break; + } + yield return line; + } + } } [Fact] @@ -70,10 +89,10 @@ public void CpuRequestAndLimitFromString() - name: cpu-demo-ctr image: vish/stress resources: - limits: - cpu: ""1"" - requests: - cpu: ""0.5"" + limits: + cpu: ""1"" + requests: + cpu: ""0.5"" args: - -cpus - ""2"""; diff --git a/tests/KubernetesClient.Tests/assets/ca2.crt b/tests/KubernetesClient.Tests/assets/ca2.crt new file mode 100644 index 000000000..0878910df --- /dev/null +++ b/tests/KubernetesClient.Tests/assets/ca2.crt @@ -0,0 +1,18 @@ +-----BEGIN CERTIFICATE----- +MIIC3zCCAcegAwIBAgIQWNOfSGBRn4EUcsj7E1UN8zANBgkqhkiG9w0BAQsFADAZ +MRcwFQYDVQQKEw5EYXZpZCBPcmJlbGlhbjAeFw0xODA2MDgxMjI2MDBaFw0yMTA1 +MjMxMjI2MDBaMBkxFzAVBgNVBAoTDkRhdmlkIE9yYmVsaWFuMIIBIjANBgkqhkiG +9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnXGK1ZHqF4fhO3WOtlo5kqVYHHYTasNmzbQh +MJ0IHiFrCVNi6apohleHi0IlzVFCQY5+yab2Lz7J2qcadRVWLlfhskMx4hbSD+eX +H9MDcnV1k4AyFz+9I+dL4rb5DPcK9vNQF0KXtdpaq4qVs+IoRR4Ck00yvzLmOMTs +YvFVjW6XgKPR+y89y8iykW2puiJ/y6DLKlP+2HDGGEI07C+4Tkxps6uRkPz6ySVb +6mhJ6P/+8WmuMc0Ur1kNgA0GEUTFYlRNuF0nNjBvncGBUwOWAUNbsYQgElaqXJKe +XZ6M44+oBvRsCsnf7j3hfKti4u/Qy9nDejJ/15R6I6A5JdYOxwIDAQABoyMwITAO +BgNVHQ8BAf8EBAMCAqwwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOC +AQEAU2Rp4T7iWomEsCC8nrQPXh/6AlVnfb/vhC7aCq+g6CF+LvksfM3Uj+JLQ5rM +QNavSXowqe11vNb1Qu7LcQT5ff76XEoK0dKA8uMs60wUkHttfPzXM522rdv+i8EF +QwVirN85W5i2q669MQ2BeJ37gQ6vQAOLvHXTuspDo1qrfT3zkeGiLEXRM4k4d6OT +BnZNYvfdTTZX7OlvHfw5hdcRtoOTBmTAh+UKJvOUIQ2g/Mp2VBxNNC5zhJHTwEXj +ssHyR24e9+GODLviep2H1uB+mHZQ5Yvzxxlkz8NTDx+mUmBSF1gGuDNdmKrCrP92 +bJZY0LcRrXX0aqPymVZrINDvtA== +-----END CERTIFICATE----- diff --git a/version.json b/version.json index a19ab0387..28dc9b866 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "1.1.0", + "version": "1.3", "publicReleaseRefSpec": [ "^refs/heads/master$", // we release out of master ],